Author Topic: HWP 1x1 Unit won't kneel :(  (Read 2433 times)

Offline Wolfstarr

  • Colonel
  • ****
  • Posts: 248
    • View Profile
HWP 1x1 Unit won't kneel :(
« on: December 16, 2018, 02:56:47 am »
So I'm working on a soldier sized HWP unit (robot) but when I select the kneel prompt when testing it won't switch to the kneel sprite and remains standing.  In order to test this out I've used the sprite for standard flying armor to see if I can get it to work.  I'm using the latest version of openxcom extended.

I've looked over other mods and tried a couple of tweaks to the ruleset but alas nothing :(

Any light people could shed on this? (I've attached my ruleset)

Thanks in advance!

EDIT: I've attached a sheet of what I'm expecting to see, it is a modified solder routine with only the legs animated so I can use the kneeling and flying states separately.  The flying bit works fine its the kneel state that isn't.
« Last Edit: December 16, 2018, 05:47:32 am by SideQuests »

Offline Nord

  • Commander
  • *****
  • Posts: 1421
  • The Gate is open.
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #1 on: December 16, 2018, 09:01:22 am »
Try to add string
Code: [Select]
allowsKneeling: trueto the armor rules.

Offline Wolfstarr

  • Colonel
  • ****
  • Posts: 248
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #2 on: December 16, 2018, 11:11:30 pm »
Try to add string
Code: [Select]
allowsKneeling: trueto the armor rules.

Thanks Nord ... I just tried it and still doesn't switch the sprite :(

Any other suggestions?

EDIT: Think it is disabled on Aliens / HWP's :( from this thread - https://openxcom.org/forum/index.php?topic=5623.0
« Last Edit: December 16, 2018, 11:13:49 pm by SideQuests »

Online Yankes

  • Commander
  • *****
  • Posts: 2723
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #3 on: December 17, 2018, 01:14:54 am »
What drawing routine your sprite is using? If it not for XCom unit it will not "draw" kneeling.

Offline Wolfstarr

  • Colonel
  • ****
  • Posts: 248
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #4 on: December 17, 2018, 01:26:32 am »
Hi Yankes,

I've tried drawing routine 0 and leaving it blank so it defaults to the solider one.

I've also tried changing the movement type to a non flying one to see if works but can't do it as a unit ... I'm wondering if it only works as an actual soldier rather than a 1x1 HWP unit.

Online Yankes

  • Commander
  • *****
  • Posts: 2723
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #5 on: December 17, 2018, 02:30:06 am »
I miss one importation thing, game only allow units with `SOLDIER` type to knee. I will think what way is best to remove this limitation.

Offline Wolfstarr

  • Colonel
  • ****
  • Posts: 248
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #6 on: December 17, 2018, 03:13:35 am »
Thanks Yankes :)

I was wondering is one way around it to define a unit that could have custom generated names so it appears as a soldier-type rather than a HWP? A bit like how the dogs / cyborgs work in other mods?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1934
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #7 on: December 17, 2018, 04:33:37 am »
Sure, you just define it as a type of 'soldier' instead of a HWP - X-Com Files does this for HWPs. The two main side effects you'd have to see are worth the switch are not being able to directly load their weapons from your stores and taking space in living quarters instead of general stores.

Online Yankes

  • Commander
  • *****
  • Posts: 2723
    • View Profile
Re: HWP 1x1 Unit won't kneel :(
« Reply #8 on: December 18, 2018, 02:52:51 am »
Thanks Yankes :)

I was wondering is one way around it to define a unit that could have custom generated names so it appears as a soldier-type rather than a HWP? A bit like how the dogs / cyborgs work in other mods?
In next version HWP can run when enabled in armor...
back, I mean they now can strafe like soldiers...
sh***, I mean they now can kneel.