how can i make better spawns for custom maps ?
how can i make better spawns for custom maps ?
what do you mean by "better"?
all custom maps have 1-2 spawn points . specially when we are playing ctf one team always being stuck in same area then finishes fast..
You can decompile them and add spawns
Or just add them in your script.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
Lol, why not just edit your scripts to include some other spawns? way easier and more flexible.
I'm even using spawns defined in a mysql database in my own mod...
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
kung foo man (10th March 2016)
best way is as IzNoGod suggested, use script and don't mess up ur maps
now use level.spawns instead ofPHP Code:
// delete unused spawns
spawns = getEntArray();
for( i = 0 ; i spawns.size ; i++ )
{
if( isSubStr( spawns[i].targetname , "spawn" ) )
spawn[i] delete();
}
// set new spawns here
level.spawns = [];
for( i = 0 ; i < myNewSpawns ; i++ )
{
s = spawnStruct();
s.origin = myNewSpawns[i].origin;
s.angles = myNewSpawns[i].angles;
s.team = myNewSpawns[i].team; // whatever
}
Code:getEntArray( "bla_spawn_tdm" , "targetname" );
kung foo man (10th March 2016)
And for ctf you gotto do that twice, for both sides of the map.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
thanks you all , now tripoli and port is better maps