SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Rayce on March 01, 2015, 01:15:11 PM

Title: Making "Recon Droid" classes not crash on death. [Solved]
Post by: Rayce on March 01, 2015, 01:15:11 PM
I'm trying to add additional classes to my mod the way Napseeker did in his Jedi vs. Clones mod (by making them "dispensed" like a recon droid.). However, this has proven to be difficult, as the game immediately crashes when the unit dies. Has anyone found a way to stop this from happening?
Title: Re: Making "Recon Droid" classes not crash on death.
Post by: Phobos on March 01, 2015, 01:29:41 PM
probably there is an ODF bug somewhere that causes this, did SPtest logs reveal anything?
Title: Re: Making "Recon Droid" classes not crash on death.
Post by: Rayce on March 01, 2015, 02:54:53 PM
Just one thing:

Quote from: BFront.logMessage Severity: 3
.\source\WeaponRemote.cpp(104)
Dispensed entity must be controllable and remote pilot type

The "dispensed entities" in question:
rep_inf_jedimale (http://pastebin.com/Ji9uRQj1)
rep_inf_jedimaleb (http://pastebin.com/CCdDFack)
rep_inf_jedimaley (http://pastebin.com/zgEzEj9g)

The dummy class that dispenses them:
rep_inf_extra_classes (http://pastebin.com/qrPST2eW)

The dispensers:
rep_weap_inf_jedimale_spawner (http://pastebin.com/aL9UazCr)
rep_weap_inf_jedimaleb_spawner (http://pastebin.com/SKLExtfJ)
rep_weap_inf_jedimaley_spawner (http://pastebin.com/r9vsjX91)
Title: Re: Making "Recon Droid" classes not crash on death.
Post by: Dark_Phantom on March 01, 2015, 04:38:56 PM
I have had this issue before, but not automatically when the unit dies.  My unit crashed the game when I hit the button to fire too quickly after the deathpose.  Do those units actually have a death pose?  I would try it with another basic unit (clone trooper or something) and then try it.
Title: Re: Making "Recon Droid" classes not crash on death.
Post by: Rayce on March 01, 2015, 05:17:15 PM
Yes, in fact, the game usually crashes mid-death-animation.
Title: Re: Making "Recon Droid" classes not crash on death.
Post by: MileHighGuy on March 01, 2015, 08:08:02 PM
add/change this for the dispensed entity

PilotType      = "vehicle"
Title: Re: Making "Recon Droid" classes not crash on death.
Post by: Rayce on March 02, 2015, 10:46:14 AM
It works! Thanks!
Title: Re: Making "Recon Droid" classes not crash on death. [Solved]
Post by: Ginev on March 02, 2015, 12:43:19 PM
I was having the same problem.However i solve it somehow but dont remember exactly how.If you show me here the odf file probably ill remember what i did since i dont have modtools anymore and cant check the file.Send it to me on PM.
Title: Re: Making "Recon Droid" classes not crash on death. [Solved]
Post by: Rayce on March 02, 2015, 12:51:00 PM
It's already been solved. See the two posts above yours.
EhPortal 1.34 © 2024, WebDev