Quote:
Originally Posted by GriMz
so how do you go about stripping all spawn points and recreating them?
cant figure out how to determine proper x,y,x points.
and then i need to know how to swap buy zones as well to increase them. and how to determine proper points for that as well.
|
If you have striper installed and working..
You strip out spawn points like this:
filter:
{
"classname" "info_player_terrorist"
}
{
"classname" "info_player_counterterrorist"
}
You add in spawn points like this:
add:
{
"origin" "-1050 -653 193"
"angles" "0 140 0"
"classname" "info_player_terrorist"
}
{
"origin" "470 2350 -47 "
"angles" "0 0 0"
"classname" "info_player_counterterrorist"
}
To find the x,y,z cords start up a lan game and run over to the spot where you want a new spawn point and go to the console and type status
This will list out your x,y,z cord.
Then copy the lines above and change the x ,y z values. (the origin line has then in this order x y z). I think you have to subtract about 50 from the z value if you want the spawn point to be right above the floor otherwise the z value from the status command will place you a bit above the floor which is ok too.
Once you are in a LAN game type this handy command.
map_showspawnpoints
This will show you where all of the spawn points are!
They show up as green rectangles. The ones that are in "bad" spots, which would spawn you into walls and things show up in red. Note there is a bug where the first spawn point always shows up in red even tho it is ok....
The buyzones are "point based entities" which means they get their size and position from a brush in the map and you can't change them with stripper other then removing them. (stripper for cz/cz 1.6 could clone brush entities, anyone listening?!)
Unfortunately for css you HAVE to have buyzones to be able to buy and your spawn point has to be in the buy zone to buy right at the start of the round. On cs 1.6 and cz if you removed all buyzones you could then place spawns anywhere and the players could buy at the start of the round... Blahh progress!
If you find out how to affect the buyzones let me know..
I have hacked a number of maps to have 32 players per side.
You can see how I did this by grabbing my striper cfg files from here:
http://home.mindspring.com/~austinbots/
Note I added the 4 assault rifles at the spawn area for t and ct (so ts can have ct guns and ct can have ts guns.) If you don't like this remove those lines from the cfg files.
I wrote a metamod plugin to hack maps by walking around and dropping weapons and spawn points simply by pressing a few keys, but I haven't had the time to work with the hl2 skd and metamod programming (yet.) When I do I want to port this plug in to mm and stripper so all you have to do is walk around setting up spawns, guns, nades, exploding barrels what ever and it saves the stripper config file for you!