Please answer as much as you can.
1. How do I change the air acceleration to properly suit a death run server so players can bhop? (sv_airacceleration 100 doesn't work.
2. Why are there no public deathrun gamemode releases? (Is it that hard to code it? Does it suck?)
3. Can I release leeched gamemodes? (If so, is it a dick move?)
I'm a true noob. :/
1) Blocked command. I think you need cvar2 to fix that, or garry needs to fix it himself.
2) Communities want something to draw people to their servers.
3) You shouldn't - people have been banned in the past for it and it is very strongly looked down on.
Thank you so much for the reply! It was so fast, this looks like a good community, and you didn't flame me :D.
But thanks! Looking at cvar2 right now, looks good.
[editline]01:41PM[/editline]
OK so here is the thread: [url]http://www.facepunch.com/showthread.php?t=729841[/url]
Where do I put the:
require("cvar2")
cvar2.SetFlags("sv_airaccelerate", cvar2.GetFlags("sv_airaccelerate") - FCVAR_DEVELOPMENTONLY)
So I can use the sv_airaccelerate command?
server.cfg should be fine if memory serves.
Inside a script.
[b]lua/autorun/server/fix_air_accelerate.lua[/b]
[code]
require( "cvar2" )
cvar2.SetFlags("sv_airaccelerate", cvar2.GetFlags("sv_airaccelerate") - FCVAR_DEVELOPMENTONLY)
[/code]
The script name doesn't really matter so long as it is unique and in the correct location.
The dll, of course, goes in lua/includes/modules.
[QUOTE=Kogitsune;22823335]Inside a script.
[b]lua/autorun/server/fix_air_accelerate.lua[/b]
[code]
require( "cvar2" )
cvar2.SetFlags("sv_airaccelerate", cvar2.GetFlags("sv_airaccelerate") - FCVAR_DEVELOPMENTONLY)
[/code]
The script name doesn't really matter so long as it is unique and in the correct location.
The dll, of course, goes in lua/includes/modules.[/QUOTE]
Ok I did that, but it still says unknown command.
Maybe because on this it says require( "cvar2" ) but the DLL is gm_cvarv2.dll?
So should I change it to require( "gm_cvar2" )?
The dll should be gm_cvar2. Rename it.
Thanks for helping me, I know I'm a mess.
Here is what I have:
lua/includes/modules/gm_cvar2.dll
lua/autorun/server/fix_air_accelerate.lua
with the code:
[code]require( "cvar2" )
cvar2.SetFlags("sv_airaccelerate", cvar2.GetFlags("sv_airaccelerate") - FCVAR_DEVELOPMENTONLY)[/code]
So this should work? I'll go test it out now.
[editline]02:50PM[/editline]
Ok tested it.
Getting this:
] sv_airaccelerate 100
Unknown command: sv_airaccelerate
It might even have just been removed from the engine for all I am aware or only exists in older engine versions.
If that is the case, someone will need to recreate it in Lua.
Sorry, you need to Log In to post a reply to this thread.