Page 1 of 1

random respawn-place of player in deathmatch

Posted: Fri Aug 08, 2003 5:24 pm
by zed
how to do this? with info_player_start don't work ;(

Posted: Fri Aug 08, 2003 6:51 pm
by Bjarne BZR
info_player_deathmatch

Posted: Sat Aug 09, 2003 3:48 am
by zed
where can i download an example .map?

Posted: Sat Aug 09, 2003 11:18 am
by Bjarne BZR
Dont think there is one as it is really simple:

( Note: if the file entdefs.pk3 is not placed in the <MOHAA>/main folder, this will mot work )

At the same place that you find the info_player_start ( info->player->start ), you will also find info_player_axis, info_player_allies, info_player_deathmatch and info_player_intermisssion.

Place a lot of info_player_deathmatch in your map ( a few units above ground ). These will then be the places that is selected at random to spawn players in a FreeForAll game.

Also put in info_player_axis, info_player_allies and info_player_allies... these are used in Objective, TeamDeathMatch and RoundBased games. Place the Axis one one side, and Allies on the other is a bood practice...

A info_player_intermisssion decides the view to be shown when the game is over, and the scores are shown.

Posted: Wed Jan 14, 2004 3:41 pm
by WarTech
Bjarne BZR wrote:Dont think there is one as it is really simple:

( Note: if the file entdefs.pk3 is not placed in the <MOHAA>/main folder, this will mot work )

At the same place that you find the info_player_start ( info->player->start ), you will also find info_player_axis, info_player_allies, info_player_deathmatch and info_player_intermisssion.

Place a lot of info_player_deathmatch in your map ( a few units above ground ). These will then be the places that is selected at random to spawn players in a FreeForAll game.

Also put in info_player_axis, info_player_allies and info_player_allies... these are used in Objective, TeamDeathMatch and RoundBased games. Place the Axis one one side, and Allies on the other is a bood practice...

A info_player_intermisssion decides the view to be shown when the game is over, and the scores are shown.

Hi:

Can you provide and example/temple how to use the INFO_PLAYER_INTERMISSION

I want to add this to some maps via scripting. I already know how to do the othere via scripting but this one I am not sure how to use it.

Thanks
<TWZ>WarTech

Posted: Wed Jan 14, 2004 7:09 pm
by Bjarne BZR
When the map ends for the last time, and a new map is to be loaded in map rotation, there is a delay... during this time the view of all players will be locked to the position and angle that is defined by a info_player_intermisssion entity. Was that an answer to your question?

Posted: Wed Jan 14, 2004 9:15 pm
by WarTech
Bjarne BZR wrote:When the map ends for the last time, and a new map is to be loaded in map rotation, there is a delay... during this time the view of all players will be locked to the position and angle that is defined by a info_player_intermisssion entity. Was that an answer to your question?


How will the script look like? Would it look like this? Is this the format for it or a I missing something?

local.intermission = spawn info_player_intermisssion origin "xxxx xxxx xxxx" angle XX


Thanks
<TWZ>WarTech

Posted: Wed Jan 14, 2004 11:00 pm
by Bjarne BZR
I've never scripted it, but I see no reason for it to be any diffrernt from an axis/allies spawn point spawning. In short: yes that looks OK.