Debriefing > Questions, Help, & How To's
Disable body armor?
Deadly Porkchop:
Me and some friends play as a group normally and we all agree that (just like in the old days) body armor gives people a huuuge advantage. Which is nice most of the time. But we've wondered if there's a way to disable body armor to make it more of a struggle to survive opposed to just running for new body armor when yours runs low. Is there any way to disable body armor from spawning, or is it a map thing?
killermonkey:
We have implemented a LUA callback that disables body armor. If you want me to write you a custom deathmatch script that disables the body armor let me know :)
Deadly Porkchop:
That would be awesome, thanks. Let me know how you want to communicate about this.
killermonkey:
Ok buddy, I made it for you (took all of 10 seconds): http://www.divshare.com/download/6810244-470
Just plop the two files in your scripts/gameplay folder and type ge_gameplay dmnoarmor and you are set!
If you are really ambitious you can pretty much do ANYTHING with our LUA commands: http://wiki.goldeneyesource.net/index.php/Category:Lua
and learning LUA isn't that hard, and could be rewarding for custom LAN games or simple modifications.
A nice trick, if you want people to START with body armor but not be able to collect it, is to add: PlayerSetArmor(player, GE_MAX_ARMOR); to the PostPlayerSpawn(...) callback.
ex.
--- Code: ---
function PostPlayerSpawn( player )
PlayerSetArmor(player, GE_MAX_ARMOR);
end
--- End code ---
Deadly Porkchop:
Thanks man.
Navigation
[0] Message Index
[#] Next page
Go to full version