mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-09 23:02:02 +00:00
Set the ambush
spawnflag on monster_boss2 in biggun.
I encountered a bug where the monster_boss2 aka hornet in biggun.bsp somehow slipped into the void while pushed out of it's compartment. I'm unable to reproduce it, but analysis showed that the hornet isn't spawned in ambush mode. As soon as the player fires a gun it starts moving. Maybe that is enough to slip out of the compartment. Additionally the hornet is a targeted monster. Monsters triggered by level logic must be set to ambush, otherwise sound and level logic triggering mess each other up. Closes #1078.
This commit is contained in:
parent
5da0e5f00c
commit
be84f7fb89
1 changed files with 8 additions and 2 deletions
|
@ -7,6 +7,12 @@
|
|||
// This makes the earthquake last 15 seconds instead of just 5.
|
||||
// If you want the earthquake length to go back to the way it was,
|
||||
// simply remove this field line (1384) entirely.
|
||||
//
|
||||
// 3. Set "ambush" spawnflag on monster_boss2.
|
||||
//
|
||||
// Targeted monsters must spawn in ambsuh mode, otherwise the AI messes
|
||||
// up. Additionally this may fix a corner case with the monster slipping
|
||||
// into the void while pushed out of it's compartment.
|
||||
{
|
||||
"message" "Big Gun"
|
||||
"nextmap" "hangar1"
|
||||
|
@ -1589,7 +1595,7 @@
|
|||
"classname" "monster_boss2"
|
||||
"angle" "0"
|
||||
"origin" "1352 96 -360"
|
||||
"spawnflags" "0"
|
||||
"spawnflags" "1"
|
||||
"targetname" "t131"
|
||||
}
|
||||
{
|
||||
|
@ -2757,4 +2763,4 @@
|
|||
"spawnflags" "14"
|
||||
"count" "10"
|
||||
"pathtarget" "boom"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue