Switchable Spawns: Possible?


Lappy
03-05-2006, 12:30 AM
A Question about setting up spawns in a time-based map:

Would it be possible to make switchable spawns at the end of the round, ala dod_schwetz?

Like, lets say I make an objective map, where one team has to attack and the other defend for 8 minutes. If the Axis spawns in spawn A and the Allies in spawn B for the first round, would it be possible that at the start of the second round, the Axis would spawn in spawn B and the Allies in spawn A.

Get what I'm saying?

I'm new to mapping, so I don't know if setting this up in game would be more trouble than it's worth or not, but let me know if you have any ideas.

Ace_McGirk
03-05-2006, 01:26 AM
it IS possible , but not very elegant.it involves func_movelinear's to invalidate the spawns, causes errors to appear in the console...........still waiting for enable/disable and group functions to work on all entities.....

eth215
03-05-2006, 09:22 AM
I have made swichable spawns before that work perfectly. Spawn everyone in the same room perhaps textured by a tools/toolsblack and make a trigger_teleport for each person. Connect all the trigger_teleports with info_targets. Place the info_targets as if you were placing real spawns since people will be teleporting there. When you want to change sides use ai_changetargets to change the target of the spawns. Im using Raven0's custom fdg by the way so some of the entities may not be there. If you want to pick up the fdg heres a link:

http://www.editlife.net/customfgd.php

El Capitan
03-05-2006, 09:41 AM
Teleport is the way to go!

Lappy
03-05-2006, 03:20 PM
thanks guys, thats a big help.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.