Hello all,
1. I was wandering how I can set up a new location in a map or what "commands" i need to use, so that when a round ends and instead of restarting at the same spawn points, I would like to set the spawn points at a different location in the same map, of course this map would be big....So basically like cutting the map in half, where as at each end of the round the setup would go to one side of the map and the next start up of the next round to the otherside."sort of like tennis"..back and forth..
2. Setting up the spawn points is no problem, but initiating it to do what I want to do is the "matter at hand"...
3. Thanks in advance....
Rotating spawn points:
Moderator: Moderators
You would have to have two sets of spawn nodes for each team, ie; allied_1 one side of the map and allied_2 the other side, same for axis..
And would need to set a cvar to use as a switch, due to roundstart a variable would not hold it's value. At the start of each round check the cvar value, swap the spawn points, reset the cvar to new setting.
So at next roundstart the cvar can be checked again and spawn points rotated again... Only check the cvar value in the start of the script, dont change it's value untill after the spawn points have been rotated.
Grassy
And would need to set a cvar to use as a switch, due to roundstart a variable would not hold it's value. At the start of each round check the cvar value, swap the spawn points, reset the cvar to new setting.
So at next roundstart the cvar can be checked again and spawn points rotated again... Only check the cvar value in the start of the script, dont change it's value untill after the spawn points have been rotated.
Grassy
Interesting:
1. How would I check the cvar value and the start of the round?
2. where do I put this value in my script?
3. Better yet, is it possible, if I can see an example of one.?
4. Thanks in advance... :idea
2. where do I put this value in my script?
3. Better yet, is it possible, if I can see an example of one.?
4. Thanks in advance... :idea
Hmmm:
1. I am using a single player map "m4l1" and I have a section closed off because of the size of the map. Now what I would like to do is be able to spawn my players on to the otherside when a round ends and when a new round starts up it goes back. (back and forth) instead of having to spawn at the same locations.
2. It would be of much appreciation if someone has an example script that I can learn from.
3. Thanks in advance for your assistants...
2. It would be of much appreciation if someone has an example script that I can learn from.
3. Thanks in advance for your assistants...
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Take a look at the scripting for Omaha, It contains spawnpoint enabling on the points on the other side of the barbe whire. Also the AA:Liberation tutorial handles spawn enabling/disabling.
