OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: jackstraw2323 on December 14, 2014, 05:32:51 pm

Title: List of DrawRoutines?
Post by: jackstraw2323 on December 14, 2014, 05:32:51 pm
The wiki isnt up to date, but I'm looking for the drawroutine for biodrones. I see Routine19 listed in the source, but it's not labelled.
Title: Re: List of DrawRoutines?
Post by: jackstraw2323 on December 14, 2014, 05:34:37 pm
Looks like biodrones are Drawroutine 16. Should have rtfm. ::)
Title: Re: List of DrawRoutines?
Post by: jackstraw2323 on December 14, 2014, 06:25:04 pm
maybe it's 15?
Code: [Select]
if ( (_unit->getStatus() == STATUS_COLLAPSING) && (_drawingRoutine == 15) )
Which is from line 1404 of UnitSprite.cpp , which in the comment says

Code: [Select]
Drawing routine for hallucinoids (routine 12) and biodrones (routine 16).

Either way I'm getting segment fault 11 for either case. So it's possible I've got a different misconfiguration.
Title: Re: List of DrawRoutines?
Post by: Falko on December 14, 2014, 06:40:19 pm
fixed wiki https://www.ufopaedia.org/index.php?title=Ruleset_Reference_Nightly_%28OpenXcom%29#Armor
if you have problems why not upload the image/rulfile you are using
or are you using this thrread to talk with yourself ? :)
Title: Re: List of DrawRoutines?
Post by: Warboy1982 on December 14, 2014, 07:21:44 pm
cheers for pointing out the error, i missed that when i made an alteration some time back.
Title: Re: List of DrawRoutines?
Post by: jackstraw2323 on December 14, 2014, 08:33:28 pm
fixed wiki https://www.ufopaedia.org/index.php?title=Ruleset_Reference_Nightly_%28OpenXcom%29#Armor
if you have problems why not upload the image/rulfile you are using
or are you using this thrread to talk with yourself ? :)

Thanks for the offer,
Offending rule and resources attached. I've been troubleshooting and it seems that the standalone units appear to work. Culprit seems to be the spawning routine, but comparing to a working example I've already used and not seeing anything obvious. I'm sure it's a simple misconfig, but feeling a bit crosseyed at the moment from looking at the code. I'm able to change the spawned unit to Chryssalid and everything works as expected.


Just figured it out. Misnamed weapons in the item section for the living weapons. I had the name_terrorist_weapon vs the name_weapon namespace.