Author Topic: List of DrawRoutines?  (Read 3918 times)

Offline jackstraw2323

  • Colonel
  • ****
  • Posts: 206
    • View Profile
List of DrawRoutines?
« 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.

Offline jackstraw2323

  • Colonel
  • ****
  • Posts: 206
    • View Profile
Re: List of DrawRoutines?
« Reply #1 on: December 14, 2014, 05:34:37 pm »
Looks like biodrones are Drawroutine 16. Should have rtfm. ::)

Offline jackstraw2323

  • Colonel
  • ****
  • Posts: 206
    • View Profile
Re: List of DrawRoutines?
« Reply #2 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.

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: List of DrawRoutines?
« Reply #3 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 ? :)

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: List of DrawRoutines?
« Reply #4 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.

Offline jackstraw2323

  • Colonel
  • ****
  • Posts: 206
    • View Profile
Re: List of DrawRoutines?
« Reply #5 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.
« Last Edit: December 14, 2014, 08:46:03 pm by jackstraw2323 »