random respawn-place of player in deathmatch
Moderator: Moderators
random respawn-place of player in deathmatch
how to do this? with info_player_start don't work ;(
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
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.
( 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.
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
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
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
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
