Author Topic: Adding Gamemodes  (Read 4132 times)

0 Members and 1 Guest are viewing this topic.

Offline .:Unreal:.

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Adding Gamemodes
« on: July 08, 2011, 11:36:02 PM »
Iam using ULX on my server and want to use another gamemode that isnt on the default list of gamemodes. Ive attempted to just add the gamemode to my server, in the gamemode folder, but how can I get ULX to detect it?
« Last Edit: July 08, 2011, 11:51:17 PM by .:Unreal:. »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Adding Gamemodes
« Reply #1 on: July 09, 2011, 01:21:30 AM »
ULX automatically picks up on all properly installed gamemodes. Are you certain you installed this gamemode correctly?
Experiencing God's grace one day at a time.

Offline .:Unreal:.

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Adding Gamemodes
« Reply #2 on: July 09, 2011, 01:29:26 AM »
All you do is drag and drop the gamemode in the gamemode folder correct and do the same for any maps, just put them in the maps folder?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Adding Gamemodes
« Reply #3 on: July 09, 2011, 07:38:20 AM »
On your server file system, yes, a properly made gamemode should appear.
http://wiki.garrysmod.com/?title=Category:Lua:Articles:Gamemodes#Gamemode_file_Structure
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline .:Unreal:.

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Adding Gamemodes
« Reply #4 on: July 09, 2011, 08:12:02 AM »
Thanks for the reply, I found out the gamemode had, "hide" = "" and I had to put a 0 for it to display properly.