This is a gamemode which I made a few weeks ago. It is a TDM based anarchy style gamemode where the main objective is to just hold the control point, level up, and unlock new weapons and vehicles. The gamemode has to be ran on gm_bigcity, although with a few modifications in the code you'd be able to change it to another map. It's sort of customizable, although it is designed to work with FA:S and Customizable Weaponry, so once again, you'll have to change things if you want it to work with your own weapon base. Everything you need if you want to change it is in shared.lua. I'll happily give support for this, just post here and I'll get round to answering it.
Useful stuff:
Running the console command saveprops will delete the existing prop file and write a new one. Since saveprops is one of the addons you can switch to sandbox without having to copy anything over.
There is built in donation perk management, check shared.lua for more info
The gamemode is desgined for the collection here: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=402520580[/url], however, it's fairly easy to change the weapons and even completely remove WAC.
Fire can be made using the CreateFire( Vector ) function.
Not so useful stuff:
Sometimes the capture point stops capturing (should be fixed next gmod update)
The scoreboard is terrible in every way possible and is also branded with my old servers name on.
The UI isn't that great.
There's a massive timer abomination which controls the capture points, which is basically made redundant by the next update.
Screenshots (ignore the error):
[t]http://i.gyazo.com/893adbb9f7ba76dbd2083125d857044d.png[/t]
[t]http://i.gyazo.com/88fa9b0c82dc0cf0fa903d78612c4c04.png[/t]
[t]http://i.gyazo.com/3031eaf7e73417d54f85c1e83cb2939f.jpg[/t]
Download:
[url=https://garrysmods.org/download/12051/generic-battlefield-gamemode][img]https://garrysmods.org/download/12051/button.png[/img][/url]
Other stuff:
If you use this, PM me your IP, I'd like to see what happens when other people host this.
The background of your HUD is literally what happens when you put bad arguments in the blur function :v:
Could be a good gamemode, but I just got a ton of errors related to FAS and JSON when trying to run it and the moment I killed someone I CTD.
Is there something you have forgotten to include?
(And yes I had the collection mounted)
I've been playing about with this since it was posted in the dying gmod thread.
[img_thumb]http://puu.sh/h5nwh.jpg[/img_thumb]
That looks much better.
[QUOTE=a-cookie;47477821]I've been playing about with this since it was posted in the dying gmod thread.
[img_thumb]http://puu.sh/h5nwh.jpg[/img_thumb][/QUOTE]
Woah, that looks really cool.
Ive been looking to create a gamemode similar to this only world war 2 themed but i dont really have the knowlage to code gamemodes from scratch, i mainly code weapons vehicles, entities and such. do you mind if i take a look at this and possibly use it as a gamemode base for my ww2tdm?
Sure, go wild.
how does spawning in vehicles work, i dont see any options in the spawn interface
[url]https://github.com/Tomelyr/gm13-battlefield/blob/master/gamemodes/battlefield/gamemode/init.lua#L13[/url]
there is the Vehicle Spawner
[QUOTE=Tomelyr;47508846][url]https://github.com/Tomelyr/gm13-battlefield/blob/master/gamemodes/battlefield/gamemode/init.lua#L13[/url]
there is the Vehicle Spawner[/QUOTE]
i meant how does one open the vehicle spawn menu.
i found out allready, its an npc
Sorry, you need to Log In to post a reply to this thread.