Currently the way that I change spawns in the existing mp maps is to actually block them with the indycrate and then go ahead and create my new spawn points.
The reason for changing existing spawns is to create a server side script to make all dm maps obj. Since the dm maps have spawns which are terrible for an obj map what I do is block all original spawn and then create allied and axis spawns on opposite sides of the map. It works just fine but I am wondering this....
Can I use removeclass to remove the existing spawns? Instead of placing crates everywhere it would be nice if I could just remove the spawns alltogether first and then create my spawn points in the script.
I have tried the following but it does not work....
removeclass PlayerAlliedDeathmatchStart
removeclass PlayerAxisDeathmatchStart
removeclass PlayerDeathmatchStart
removeclass PlayerStart
I didnt get any errors in console from it though so I am wondering if maybe it would work but I'm just not executing it in the right place in my script. Currently these statements are before level waittill prespawn. I got the classnames from the g_allclasses file that comes with mohradiant. At first I tried removeclass info_player_allied etc. etc. and console did not like that at all. Kept saying unknown class. That's when I went and looked up the classes and it seems to me that this is their proper names for the different type player spawns.
But as stated earlier, the spawns are still active even with these statements. Let me know if this is possible or not....
Peace out,
G3mInI
Removing spawns in existing mp maps...
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Try this "teleport" script: http://gronnevik.se/rjukan/index.php?n= ... nload#toc4
Players origins are changed at spawn, so in effect the spawns are moved. The player does not notice the transport, to them it looks like they spawned in the new place.
Its all server side scripting, just what you need for your ( very admirable ) conversion
Players origins are changed at spawn, so in effect the spawns are moved. The player does not notice the transport, to them it looks like they spawned in the new place.
Its all server side scripting, just what you need for your ( very admirable ) conversion
Last edited by Bjarne BZR on Mon May 01, 2006 8:37 pm, edited 1 time in total.

