is the quality of ours convictions to determine success
Posts
64
Respect
32Add +1
Forum Rank
Rotting Walker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!hi guys, i want to know if it's possible to set all players spawns without put a script struct in the map, like using radiant cordinates. really thanks
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has shown excellence and experience in the area of custom mapping in the UGX-Mods community. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
no



![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
i can't have access to radiant and i wont (pc problem)... i need only to add spawns to finish my map and i was thinking if it was possible via scripts
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
hi guys, i want to know if it's possible to set all players spawns without put a script struct in the map, like using radiant cordinates. really thanks
//thread Spawn_Player_Here: //thread this up in init in your mapname.gsc
Spawn_Player_Here(){
flag_wait("all_players_connected");
x = 0;
players = get_players();
for(i=0;i<players.size;i++){
players[i] SetOrigin((x,0,0));
x=x+30;
}
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
coop_player_spawn_placement()
{
structs = getstructarray( "initial_spawn_points", "targetname" );
flag_wait( "all_players_connected" );
//chrisp - adding support for overriding the default spawning method
players = get_players();
for( i = 0; i < players.size; i++ )
{
players[i] setorigin( structs[i].origin );
players[i] setplayerangles( structs[i].angles );
players[i].spectator_respawn = structs[i];
}
}
^ in addition to that. The Original function for this is in _zombiemode.gsc: maybe just as easy to change that one Code SnippetPlaintextcoop_player_spawn_placement()
{
structs = getstructarray( "initial_spawn_points", "targetname" );
flag_wait( "all_players_connected" );
//chrisp - adding support for overriding the default spawning method
players = get_players();
for( i = 0; i < players.size; i++ )
{
players[i] setorigin( structs[i].origin );
players[i] setplayerangles( structs[i].angles );
players[i].spectator_respawn = structs[i];
}
}
coop_player_spawn_placement()
{
flag_wait( "all_players_connected" );
//chrisp - adding support for overriding the default spawning method
players = get_players();
for( i = 0; i < players.size; i++ )
{
switch(i)
{
case 0:
players[i] setorigin( -222.5,-210,11160 );
players[i] setplayerangles( 0,45,0 );
players[i].spectator_respawn = structs[i];
break;
case 1:
players[i] setorigin( -244,188,11160 );
players[i] setplayerangles( 0,315,0 );
players[i].spectator_respawn = structs[i];
break;
case 2:
players[i] setorigin( 140.3,203,11160 );
players[i] setplayerangles( 0,225,0 );
players[i].spectator_respawn = structs[i];
break;
case 3:
players[i] setorigin( 148.8,-216,11160 );
players[i] setplayerangles( 0,135,0 );
players[i].spectator_respawn = structs[i];
break;
}
}
}