Hey guys,
I need some help. I need to pack an addon into a game mode.
I have tried this before, but for me, it's extremely confusing.
I guarantee this is super simple and my dummy head can't figure it out, but I've been searching the internet, and I can't find anything about it.
If you guys could help, that would be superb!
Thank you!
(Pictures trying to explain: [URL="http://imgur.com/a/5Hgi8"]http://imgur.com/a/5Hgi8[/URL] )
Materials can go into ~/mygamemode/content/materials/, lua files will require editing to be properly included into the gamemode structure. Is there any reason why you'd want this packed into the gamemode?
yea, its sorta an inconvience to have people downloading the seperate addon
[editline]23rd May 2017[/editline]
is there any way to incorporate autorun (client) into the gamemode? Basically executing the code as soon as the client starts / loads into game?
[QUOTE=LambadaCorez;52265705]yea, its sorta an inconvience to have people downloading the seperate addon
[editline]23rd May 2017[/editline]
is there any way to incorporate autorun (client) into the gamemode? Basically executing the code as soon as the client starts / loads into game?[/QUOTE]
If course, as long as the file is [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/AddCSLuaFile]AddCSLuaFile[/url]'d, it will download to clients.
Unless it's your addon, you shouldn't really include it with the gamemode unless you have their permission. Plus, packing it makes updating the files more difficult.
Sorry, you need to Log In to post a reply to this thread.