Spawns, grrr
Moderator: Moderators
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Spawns, grrr
Alright i made an objective map, its all nice and dandy, with the exception of the telefragging. i have 16 info_player_axis, and 16 infpo_player_allies. I have 1 info_player_start, and one info_player_intermission. i compile it, no errors, but whne i play wiht a friend we telefrag eachother, anyone know how to fix this? thanks.
info_player_intermission
"info_player_intermission" is not really needed. I think it is used with a "info_null" target so players look at that while the game restarts.
Make sure you don't have two spawn points in one spot.
Make sure you don't have two spawn points in one spot.
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
PK3
A pk3 is just a compressed version of the main folder. Inside one there will be a maps/dm or maps/obj folder with the bsp and script in it. While deathmatch maps can work without a script, objective maps must have one because they need variables set for the bombs or other objectives.
In other words, just putting the bsp in the maps/obj folder does not make it an objective game--it needs a script.
In other words, just putting the bsp in the maps/obj folder does not make it an objective game--it needs a script.
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Dm
If it has no objectives, then put it in the main/maps/dm folder--create a dm folder if there is none. Ok, now copy the script below to Notepad and name it the same as your bsp file (with extention .scr). Then place that file in main/maps/dm as well.
Note: your firend will have to put the same two files in main/maps/dm.
If you don't want respawning, play it as a round based game.
Note: your firend will have to put the same two files in main/maps/dm.
Code: Select all
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "test map"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" ""
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waittill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
// level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm1
level waittill spawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am

