Discussions about ET modding (sdk code, player/weapon modeling)
Moderators: Forum moderators , developers
crazyfrag
Posts: 105 Joined: Fri Oct 01, 2004 1:17 pm
Post
by crazyfrag » Tue Mar 25, 2008 1:26 pm
is it possible to creat anti prone script?
well prone is clientside cmd:-) but is there anyway to overwright this?
thanx crazy
mortis
Posts: 360 Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:
Post
by mortis » Tue Mar 25, 2008 2:17 pm
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 » Tue Mar 25, 2008 2:37 pm
this is a delay 4 stand up after prone !
not that the can not prone
Father
Posts: 107 Joined: Sat Jul 22, 2006 1:30 pm
Location: Czech Republic
Contact:
Post
by Father » Tue Mar 25, 2008 3:51 pm
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 » Wed Mar 26, 2008 1:43 am
du u really think this will work?
gotenks
Posts: 3465 Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:
Post
by gotenks » Wed Mar 26, 2008 4:05 am
i think you need to make it forcecvar not sv_cvar but yes it will work, unless someone uses the work arround
My Website
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 » Wed Mar 26, 2008 12:26 pm
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
dutchmeat
Posts: 62 Joined: Tue Jan 28, 2003 8:08 am
Location: Netherlands
Contact:
Post
by dutchmeat » Thu Mar 27, 2008 2:30 pm
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.
ReyalP
Posts: 1663 Joined: Fri Jul 25, 2003 11:44 am
Post
by ReyalP » Thu Mar 27, 2008 2:59 pm
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 » Sun Mar 30, 2008 5:41 am
so theres no way to do this?
ReyalP
Posts: 1663 Joined: Fri Jul 25, 2003 11:44 am
Post
by ReyalP » Sun Mar 30, 2008 3:06 pm
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 » Mon Mar 31, 2008 1:03 pm
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 » Tue Apr 01, 2008 4:17 am
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 » Tue Apr 01, 2008 12:00 pm
ReyalP wrote: You might find other ways to prevent them from proning effectively.
As always the secret speech
I think he cannot find a way otherwise he wouldn't ask here lol.
ReyalP
Posts: 1663 Joined: Fri Jul 25, 2003 11:44 am
Post
by ReyalP » Tue Apr 01, 2008 3:44 pm
Igloo wrote: ReyalP wrote: You might find other ways to prevent them from proning effectively.
As always the secret speech
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