[Modding] Help


(Yodh) #1

Hello Splashdamage,

I just registered here and looked throw some tutorials about modding my mod. I’ve some experience with C scripting but I need some help. I want to disable the “command” kill in the game and give them an message printed in cp. If u know how to do this : Please post a post below. Thank you.

Regards Yodh


(hunterthebest) #2

Hmm I’m also searching out to disable a “command”. The command lock. If I know it I whould post it here are somebody else must can now it already.


(phisherman) #3

[QUOTE=Yodh;249729]I want to disable the “command” kill in the game and give them an message printed in cp.[/QUOTE]This can be very easily done with lua. What mod are you running? Some mods also have this feature built-in, NoQuarter for example, look here:

http://****storm.org/noquarter/wiki/cvars_gameplay.htm#g_slashkill_.28Changed_in_1.2.5.29

//Replace **** with s.h.i.t

What mod are you running? And do you mean the shrubbot/admin-command !lock or the client-command /lock ? /lock can be disabled by setting team_nocontrols to 1, !lock can be disabled by removing the shrubbot flag from the level you don’t want !lock to have.


(Yodh) #4

I’m busy with my self made mod, it’s based on etpub and I won’t do it with lua. Instead that not what I prefer to do. If somebody can help me : Post

Thanks


(gaoesa) #5

You can disable or set the maximum allowed amount of selfkills per map in the ETPub natively. There is also prints to the clients when their maximum amount exceeds.