Home IRC Forums About us Members Wars Downloads Links Shop Stats
* FAQ    * Search * Login   * Register

Welcome to the [fP]Forums \o/



It is currently Thu Mar 28, 2024 6:00 pm
View unanswered posts | View active topics
Delete all board cookies | The team

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: spawn scripts
PostPosted: Thu May 01, 2014 7:19 pm 
Offline

Joined: Sun Sep 16, 2012 11:40 pm
Posts: 39
Railgun (left allies, right axis):

bind p "vstr 0"

bind o "vstr 2"

set 0 "setspawnpt 1; echo ^?depot yard spawn^e|^ptower spawn; bind p vstr 1; bind o vstr 2"

set 1 "setspawnpt 2; echo ^?depot yard spawn^e|^pmain spawn; bind p vstr 2; bind o vstr 1"

set 2 "setspawnpt 4; echo ^?main spawn^e|^ptower spawn/depot yard spawn; bind p vstr 0; bind o vstr 0"

Fuel:

bind p "vstr 0"

bind o "vstr 7"

set 0 "setspawnpt 0; echo ^?tunel store room spawn^e|^ptunnel store room spawn; bind p vstr 1; bind o vstr 7"

set 1 "setspawnpt 1; echo ^?tunel store room spawn^e|^ptunnel store room spawn; bind p vstr 2; bind o vstr 0"

set 2 "setspawnpt 2; echo ^?tunel store room spawn/far first spawn^e|^pcp spawn; bind p vstr 3; bind o vstr 1"

set 3 "setspawnpt 3; echo ^?second hut spawn^e|^pdown fuel dump spawn; bind p vstr 4; bind o vstr 2"

set 4 "setspawnpt 4; echo ^?cp spawn/second hut spawn^e|^pgarage spawn; bind p vstr 5; bind o vstr 3"

set 5 "setspawnpt 5; echo ^?cp spawn/second hut spawn^e|^pupper fuel dump spawn; bind p vstr 6; bind o vstr 4"

set 6 "setspawnpt 6; echo ^?cp spawn/second hut spawn^e|^pdown fuel dump spawn; bind p vstr 7; bind o vstr 5"

set 7 "setspawnpt 7; echo ^?first hut spawn^e|^pcp spawn; bind p vstr 0; bind o vstr 6"`

Oasis:

bind p "vstr 0"

bind o "vstr 2"

set 0 "setspawnpt 0; echo ^?flag spawn^e|^pflag spawn; bind p vstr 1; bind o vstr 2"

set 1 "setspawnpt 1; echo ^?cabinets spawn^e|^pgarrison spawn; bind p vstr 2; bind o vstr 0"

set 2 "setspawnpt 2; echo ^?first spawn^e|^pflag spawn; bind p vstr 0; bind o vstr 1"

Radar:

bind p "vstr 0"

bind o "vstr 2"

set 0 "setspawnpt 2; echo ^?first spawn^e|^pforward spawn; bind p vstr 1; bind o vstr 2"

set 1 "setspawnpt 4; echo ^?forward spawn^e|^phut spawn; bind p vstr 2; bind o vstr 0"

set 2 "setspawnpt 5; echo ^?cp spawn^e|^pwarehouse spawn; bind p vstr 0; bind o vstr 1"

Battery:

bind p "vstr 0"

bind o "vstr 3"

set 0 "setspawnpt 0; echo ^?forward bunker spawn^e|^pforward bunker spawn; bind p vstr 1; bind o vstr 3"

set 1 "setspawnpt 1; echo ^?beach side spawn^e|^pgarrison spawn; bind p vstr 2; bind o vstr 0"

set 2 "setspawnpt 3; echo ^?beach front spawn^e|^pforward bunker spawn; bind p vstr 3; bind o vstr 1"

set 3 "setspawnpt 6; echo ^?forward bunker spawn^e|^prear spawn; bind p vstr 0; bind o vstr 2"


Top
 Profile E-mail  
 
 Post subject: Re: spawn scripts
PostPosted: Sat May 03, 2014 8:59 pm 
Offline
i helped the server upgrade fund and all i got was this lousy rank :P
User avatar

Joined: Fri Jul 21, 2006 4:22 pm
Posts: 171
Location: Gravesend, Kent, UK
Thanks, Ether - that's very useful. Will incororate into my cfg when I get time.


Top
 Profile  
 
 Post subject: Re: spawn scripts
PostPosted: Sun May 04, 2014 5:29 pm 
Offline
User avatar

Joined: Tue Sep 26, 2006 6:42 pm
Posts: 1785
Location: Ljubljana
(Y)

_________________
He is able who thinks he is able.
by: Buddha


Top
 Profile  
 
 Post subject: Re: spawn scripts
PostPosted: Mon May 05, 2014 10:55 am 
Offline
User avatar

Joined: Wed Mar 24, 2004 2:31 pm
Posts: 1256
Location: Netherlands
Can you explain how it works? (assume you use p and o to swap between spawnpoints?) And can I just copy and paste it into my autoexec.cfg (and execute it in ET)?

_________________
No n00bs, no cry, no DictatoR :-/


Top
 Profile  
 
 Post subject: Re: spawn scripts
PostPosted: Tue May 06, 2014 4:39 pm 
Offline

Joined: Sun Sep 16, 2012 11:40 pm
Posts: 39
Here's how I do it:
I have a directory called cfg with all my configs; that is the main cfg and on top of that cfgs for each map (the above). When I join the server I execute my main cfg, which has 'p' and 'o' buttons unbinded. Then I execute a cfg for given map et voila - 'p' and 'o' buttons are binded to toggle between spawnpoints. I do not use autoexec or whatever else - I removed every other cfg file I could find (that has 'generated by ET - do not modify').

No, you cannot copy everything to autoexec.cfg, since 'p' and 'o' buttons are binded differently for each map. My advice is to create a different file for each map, like I did.

If you wanted to have everything in one file, you'd have to remove spawnpoint names and remember where spawn 1, 2, 3, ... is for each map:).


Top
 Profile E-mail  
 
 Post subject: Re: spawn scripts
PostPosted: Mon Dec 15, 2014 9:59 pm 
Offline

Joined: Tue Aug 14, 2012 4:34 pm
Posts: 19
//Spawn bind

bind F4 "setspawnpt 0; vstr say_spawn_0"
bind F5 "setspawnpt 1; vstr say_spawn_1"
bind F6 "setspawnpt 2; vstr say_spawn_2"
bind F7 "setspawnpt 3; vstr say_spawn_3"
bind F8 "setspawnpt 4; vstr say_spawn_4"
bind F9 "setspawnpt 5; vstr say_spawn_5"
bind F10 "setspawnpt 6; vstr say_spawn_6"

set say_spawn_0 "say_team ^0Spawnpoint ^7Default"
set say_spawn_1 "say_team ^0Spawnpoint ^71"
set say_spawn_2 "say_team ^0Spawnpoint ^72"
set say_spawn_3 "say_team ^0Spawnpoint ^73"
set say_spawn_4 "say_team ^0Spawnpoint ^74"
set say_spawn_5 "say_team ^0Spawnpoint ^75"
set say_spawn_6 "say_team ^0Spawnpoint ^76"

Simple one but i like it :D


Top
 Profile E-mail  
 
 Post subject: Re: spawn scripts
PostPosted: Tue Dec 16, 2014 3:42 pm 
Offline
User avatar

Joined: Tue Sep 26, 2006 6:42 pm
Posts: 1785
Location: Ljubljana
(Y)

_________________
He is able who thinks he is able.
by: Buddha


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group