other scripting probs from joris :)

Games such as RTCW, Call of Duty, Quake ect.

Moderators: [AsC]Frags, [FuN] Users, Senior Moderators, Friends of [FuN]

other scripting probs from joris :)

Postby [FuN]Joris » Fri Jun 04, 2004 7:03 pm

i can't get this to work properly i feel a bit noobish :)

bind KP_uparrow "omw; wait 10;say_team ^4[^7Medic on the way^4]"

tried wait variables 1-100

and this one to respawn as engineer near objective
i wrote this:
"kill;wait 10; say_team ^4[^7going ^1emergency ^7Engineer ^4];wait 10; setspawnpt 1; mp_playertype 2;mp_weapon 3;wait 10; sensitivity 4; echo ^7You Will Spawn near Axis"

tried also wait-variables 1-100

if someone can help i'll be very glad :)
User avatar
[FuN]Joris
Member
Member
 
Posts: 98
Joined: Mon Nov 04, 2002 10:01 pm
Location: the netherlands

Re: other scripting probs from joris :)

Postby cody » Fri Jun 04, 2004 8:36 pm

[FuN]Joris wrote:i can't get this to work properly i feel a bit noobish :)

bind KP_uparrow "omw; wait 10;say_team ^4[^7Medic on the way^4]"

tried wait variables 1-100

and this one to respawn as engineer near objective
i wrote this:
"kill;wait 10; say_team ^4[^7going ^1emergency ^7Engineer ^4];wait 10; setspawnpt 1; mp_playertype 2;mp_weapon 3;wait 10; sensitivity 4; echo ^7You Will Spawn near Axis"

tried also wait-variables 1-100

if someone can help i'll be very glad :)





bind KP_UPARROW "vsay omw; say_team ^4[^7Medic on the way^4]"


-------------------------------------------------


"kill; say_team ^4[^7Going ^1Emergency ^7Engineer ^4]; setspawnpt 1; mp_playertype 2; mp_weapon 4; sensitivity 4.0; echo ^7You Will Spawn near Axis"

-------------------------------------------------

try these & let me know what happens Joris.
cody
New User
New User
 
Posts: 7
Joined: Wed Oct 08, 2003 3:22 pm

Postby [FuN]Joris » Fri Jun 04, 2004 9:00 pm

bind KP_UPARROW "vsay omw; say_team ^4[^7Medic on the way^4]"

iit doesnot say the second say_teampart in console!

"kill; say_team ^4[^7Going ^1Emergency ^7Engineer ^4]; setspawnpt 1; mp_playertype 2; mp_weapon 4; sensitivity 4.0; echo ^7You Will Spawn near Axis"

it kills thats ok
it doesn't say going etc in console
it doesn't set the spawn point right
it does set it to engineer rang
and it does the echo
User avatar
[FuN]Joris
Member
Member
 
Posts: 98
Joined: Mon Nov 04, 2002 10:01 pm
Location: the netherlands

Postby [FuN]Joris » Fri Jun 04, 2004 9:28 pm

"setspawnpt 1; mp_playertype 2; Echo ^7Respawn near ^4Axis; Say_team ^4[^7going ^1emergency ^7Engineer^4] ; wait 100; kill"

this does spawn good
rank good
echo good
sayteam good
but no kill
User avatar
[FuN]Joris
Member
Member
 
Posts: 98
Joined: Mon Nov 04, 2002 10:01 pm
Location: the netherlands

Postby cody » Sat Jun 05, 2004 12:17 am

I'm guessing this is all for banimod?

wait fps do you regularly cap at - what can you generally hold ?


[FuN]Joris wrote:bind KP_UPARROW "vsay omw; say_team ^4[^7Medic on the way^4]"

iit doesnot say the second say_teampart in console!

"kill; say_team ^4[^7Going ^1Emergency ^7Engineer ^4]; setspawnpt 1; mp_playertype 2; mp_weapon 4; sensitivity 4.0; echo ^7You Will Spawn near Axis"

it kills thats ok
it doesn't say going etc in console
it doesn't set the spawn point right
it does set it to engineer rang
and it does the echo



ok - start with :

//
//
bind KP_UPARROW "vsay omw; wait; say_team ^4[^7Medic on the way^4]"
//

//
//
bind KP_UPARROW "vsay omw; wait 5; say_team ^4[^7Medic on the way^4]"
//

then increase wait value in increments of say 50 until it works on all server situations - even with fps lag (use value of "; wait 50;". If you have a half-decent box then it shouldnt need too high a value, and you wont have to endure the 'killer-wait-pause' - brutal when you really need to switch to smg but you're locked into a wait command heh :)

I know you said you've tried wait values 1-100, but in your original script you had no vsay command to prefix the omw - didn't know if it was oversight in this post, or in script..?


-----------------------------------------------

//
//
bind X "setspawnpt 1; mp_playertype 2; Echo ^7Respawn near ^4Axis; Say_team ^4[^7going ^1emergency ^7Engineer^4] ; wait 5; kill"
//

------------------------------------------------

the only thing that cant be scripted for someone is the WAIT command - it's entirely dependant upon their own setup.

players can be taught its use - and roughly given an idea of what value to aim for, but the specific value that works for them is trial & error.

this isnt really a scripting problem you have joris - your scripts should work fine, just have to judge wait command better and on some occasions re-arrange the contents so that the game responds - unless you're looking for another way to do this using different script setups?
cody
New User
New User
 
Posts: 7
Joined: Wed Oct 08, 2003 3:22 pm

Postby [FuN]Joris » Sat Jun 05, 2004 9:57 am

thanx i shall try to adapt the wait times and figure the right one out.
i got th fps set too 85
but i might ruduce it a bit too 76 orso

if you got other tips hit me!! :p


test result: wait 150 works!!!!!!!!!! jippi!! :)
User avatar
[FuN]Joris
Member
Member
 
Posts: 98
Joined: Mon Nov 04, 2002 10:01 pm
Location: the netherlands


Return to First Person Shooter

Who is online

Users browsing this forum: No registered users and 49 guests