Hi, I'm pretty new at mapping so if the following question is moronic, I apologize.
I'm trying to create a 6 CP Cyclical Capture Point map. But I'm having problem initializing the cap-point/spawnrooms.
I have a current setup of a logic_auto, which OnMapSpawn calls a logic_relay that executes the following OnTrigger.
"cp_Seg1_prop,Skin,3,0,-1"
"cp_Seg1,SetOwner,3,0,-1"
"trigger_teleport_Seg1,Disable,,0,-1"
"filter_Seg1_inactiveteam,SetTeam,3,0,-1"
"filter_Seg1_activeteam,SetTeam,3,0,-1"
"player_Seg1_spawn,SetTeam,3,0,-1"
"func_respawnroom_Seg1,Enable,,0,-1"
"func_respawnroom_Seg1,SetTeam,3,0,-1"
"sign_Seg1_resupply,Skin,4,0,-1"
"sign_Seg1_exit,Skin,8,0,-1"
In short, the goal was to give ownership of a capture point to a team (chosen at random) during MapSpawn. But the problem is that for some reason, the above doesn't change the ownership of the CP. I can't use the set owner to random at start since each team needs to have 3 CP in consecutive.
Any help is appreciated.
EDIT:
By the way, the spawn room did get setup correctly except the first spawn frequently spawns in the wrong room (blue spawn in red, and vice versa). Subsequent respawn always gets placed in the right room.
I'm trying to create a 6 CP Cyclical Capture Point map. But I'm having problem initializing the cap-point/spawnrooms.
I have a current setup of a logic_auto, which OnMapSpawn calls a logic_relay that executes the following OnTrigger.
"cp_Seg1_prop,Skin,3,0,-1"
"cp_Seg1,SetOwner,3,0,-1"
"trigger_teleport_Seg1,Disable,,0,-1"
"filter_Seg1_inactiveteam,SetTeam,3,0,-1"
"filter_Seg1_activeteam,SetTeam,3,0,-1"
"player_Seg1_spawn,SetTeam,3,0,-1"
"func_respawnroom_Seg1,Enable,,0,-1"
"func_respawnroom_Seg1,SetTeam,3,0,-1"
"sign_Seg1_resupply,Skin,4,0,-1"
"sign_Seg1_exit,Skin,8,0,-1"
In short, the goal was to give ownership of a capture point to a team (chosen at random) during MapSpawn. But the problem is that for some reason, the above doesn't change the ownership of the CP. I can't use the set owner to random at start since each team needs to have 3 CP in consecutive.
Any help is appreciated.
EDIT:
By the way, the spawn room did get setup correctly except the first spawn frequently spawns in the wrong room (blue spawn in red, and vice versa). Subsequent respawn always gets placed in the right room.
Last edited: