IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Battle Bus Death Behavior
Mcbob
post 6 Mar 2010, 2:03
Post #1



Group Icon

Group: Dev. Team
Posts: 416
Joined: 7 June 2009
Member No.: 52



In some instances, Battle Buses are destroyed without moving to the bunker stage.

I've tried playing around with the ProbabilityModifier and ModifierBonusPerOverkillPercent values to prevent that from happening, but there's been no difference.

How can I force the Battle Bus to always change into a bunker regardless of the damage taken?

And can someone explain to me the relationship between ModifierBonusPerOverkillPercent and ProbabilityModifier?

CODE
Behavior = BattleBusSlowDeathBehavior ModuleTag_08
    DeathTypes = ALL -CRUSHED -SPLATTED -EXTRA_4
    ProbabilityModifier = 8
    ModifierBonusPerOverkillPercent = 90%    ; negative means less likely to pick this in the face of much damage, positive means more likely
   ; Part the first, uses when killed the first time from non-system (unresistable) damage
    FXStartUndeath = FX_BattleBusStartUndeath
    OCLStartUndeath = OCL_BattleBusStartUndeath
    FXHitGround = FX_BattleBusHitGround
    OCLHitGround = OCL_BattleBusHitGround
    ThrowForce = 100.0
    PercentDamageToPassengers = 50%
    EmptyHulkDestructionDelay = 999999; If non-zero, msec of emptiness before we kill ourselves with Penalty damage
   ; Part the second, normal fields of a SlowDeathBehavior
    DestructionDelay = 0
    DestructionDelayVariance = 200
    FX = FINAL FX_BuggyNewDeathExplosion
    OCL = FINAL OCL_BattleBusDeath
  End
Go to the top of the page
 
+Quote Post
JJ
post 6 Mar 2010, 8:45
Post #2



Group Icon

Group: Members
Posts: 227
Joined: 7 June 2009
Member No.: 65
Projects: SWR Productions



I think they will not leave the bunker when there is no occupants in it. Not sure though, never touched Battle Buses before.
Go to the top of the page
 
+Quote Post
Zeke
post 6 Mar 2010, 11:41
Post #3


The X General
Group Icon

Group: Project Leader
Posts: 2166
Joined: 7 June 2009
From: Philippines
Member No.: 73
Uniqueness is Overrated



IIRC, the battlebus always turns into a bunke regardless of whether it's garrisoned or not.

I haven't had this bug yet, but you can try just deleting the probability modifers.


--------------------
Go to the top of the page
 
+Quote Post
Stalker
post 7 Mar 2010, 11:09
Post #4



Group Icon

Group: Dev. Team
Posts: 276
Joined: 10 June 2009
From: Austria
Member No.: 123



QUOTE (JJ @ 6 Mar 2010, 5:45) *
I think they will not leave the bunker when there is no occupants in it. Not sure though, never touched Battle Buses before.


I'm pretty sure it's ^ this ^
Go to the top of the page
 
+Quote Post
Mcbob
post 9 Mar 2010, 1:08
Post #5



Group Icon

Group: Dev. Team
Posts: 416
Joined: 7 June 2009
Member No.: 52



So far, no luck.

Ive been wondering if the problem is because the weapon used to destroy the bus exceeds it's 1st level of HP?

Example:

Bus has 800 HP in it's non-bunker form, and it is hit by a tank round that deals 900 damage, would the bus instantly die without becoming a bunker first?

This post has been edited by Mcbob: 9 Mar 2010, 1:09
Go to the top of the page
 
+Quote Post
Shiro
post 9 Mar 2010, 13:36
Post #6


Gamer Girl
Group Icon

Group: Legend
Posts: 3808
Joined: 19 June 2009
From: Disboard
Member No.: 182
Friendly Freelancer



I would like to help you, but I never had this problem yet. The Battlebus normally always turns into bunker mode when garrisoned, but kills itself almost instantly when the bunker is empty. No idea what the problem is.
Edit: the damage should be irrelevant. I killed often Buses with superweapons for the fun (and they were in my way), and even e.g. a MOAB made a garrisoned bus a bunker. If it is empty, it does not obviously.

This post has been edited by KamuiK: 9 Mar 2010, 13:37
Go to the top of the page
 
+Quote Post
Pickysaurus
post 9 Mar 2010, 14:25
Post #7


Officer of the European Continental Army
Group Icon

Group: Members
Posts: 2351
Joined: 7 June 2009
From: England, Great Britain
Member No.: 71
Community Manager at Nexus Mods



I think buses are kinda glitchy anyway. Like, I had one recently (this thread made me want to play with buses) where when destroyed it turned into a bunker, but i couldn't get my infantry to exit it until about 5mins after I clicked "Evacuate"


--------------------


Go to the top of the page
 
+Quote Post
Shiro
post 9 Mar 2010, 14:41
Post #8


Gamer Girl
Group Icon

Group: Legend
Posts: 3808
Joined: 19 June 2009
From: Disboard
Member No.: 182
Friendly Freelancer



In an unrelated story, I once had a bus, clicked exit, and the infantry inside teleported over half the map.
Go to the top of the page
 
+Quote Post
Mcbob
post 10 Mar 2010, 5:18
Post #9



Group Icon

Group: Dev. Team
Posts: 416
Joined: 7 June 2009
Member No.: 52



It's strange though.

In my mod:
If the bus is killed by SMALL_ARMS, it turns into a bunker.

If the bus is killed by EXPLOSION or ARMOR_PIERCING, it automatically dies and becomes a hulk.

Perhaps it has to do with the BattleBusArmor?
Go to the top of the page
 
+Quote Post
n5p29
post 10 Mar 2010, 13:16
Post #10


Enlima Studios
Group Icon

Group: Project Leader
Posts: 757
Joined: 11 October 2009
From: Jakarta, Indonesia
Member No.: 482



I think this solves the problem. tongue.gif
CODE
EmptyHulkDestructionDelay = 0;999999; If non-zero, msec of emptiness before we kill ourselves with Penalty damage


--------------------
Go to the top of the page
 
+Quote Post
Mcbob
post 14 Mar 2010, 20:17
Post #11



Group Icon

Group: Dev. Team
Posts: 416
Joined: 7 June 2009
Member No.: 52



I found the problem:

The armor values caused the bus to die without moving onto the bunker stage.

Before I had EXPLOSION and ARMOR_PEIRCING at 150% -200%, I set then back down to 100% and now the bus never dies, with the exception of the passengers for some reason.

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 27 April 2024 - 13:31