anti prone :-)

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

anti prone :-)

Post by crazyfrag »

is it possible to creat anti prone script?

well prone is clientside cmd:-) but is there anyway to overwright this?

thanx crazy
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

ETpro already has pronedelay as a server cvar. Properly configured it should handily discourage proning.
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

this is a delay 4 stand up after prone !
not that the can not prone
User avatar
Father
Posts: 107
Joined: Sat Jul 22, 2006 1:30 pm
Location: Czech Republic
Contact:

Re: anti prone :-)

Post by Father »

crazyfrag wrote:is it possible to creat anti prone script?

well prone is clientside cmd:-) but is there anyway to overwright this?

thanx crazy
Try to make '+prone' cvar instead of command.. by this: sv_cvar +prone EQ 1
If you don't do it, someone else will.
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

du u really think this will work?
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

i think you need to make it forcecvar not sv_cvar but yes it will work, unless someone uses the work arround
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

etpro: Usage: forcecvar <cvar> <value>

values are 1/0

the cmds are +prone and -prone

sv_cvar won't work


+prone can't be equal to something its just +prone wihout 1/0
same 4 -prone
User avatar
dutchmeat
Posts: 62
Joined: Tue Jan 28, 2003 8:08 am
Location: Netherlands
Contact:

Post by dutchmeat »

check if lua can intercept buttons, if it can do that, then block the prone button. The prone command is a clientbutton, which is send to the server.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

dutchmeat wrote:check if lua can intercept buttons, if it can do that, then block the prone button. The prone command is a clientbutton, which is send to the server.
Lua cannot.
send lawyers, guns and money
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

so theres no way to do this?
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

crazyfrag wrote:so theres no way to do this?
The is no way to intercept the prone button in lua.

You might find other ways to prevent them from proning effectively.
send lawyers, guns and money
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

how do u mean this ??

what can i effectly do?
Dersaidin
Posts: 197
Joined: Fri Aug 06, 2004 1:55 pm
Location: Australia

Post by Dersaidin »

He means pronedelay will make proning unappealing to players.
Igloo
Posts: 81
Joined: Sat Jan 07, 2006 6:23 am
Location: Poland
Contact:

Post by Igloo »

ReyalP wrote:You might find other ways to prevent them from proning effectively.
As always the secret speech :P I think he cannot find a way otherwise he wouldn't ask here lol.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

Igloo wrote:
ReyalP wrote:You might find other ways to prevent them from proning effectively.
As always the secret speech :P I think he cannot find a way otherwise he wouldn't ask here lol.
Given that I think what he is trying to do is silly, I'm certainly not going to waste my time digging through the code to try to figure out how to do it for him. If I knew a solution offhand, I'd post it, but I don't.

One thought is that some of the available entity fields might tell if a player is prone, and lua might be able to do something to them. If you can do it this way (which I don't know, see above) it will be ugly.
send lawyers, guns and money
Post Reply