Author Topic: Questions about HWP's!!!  (Read 2617 times)

Offline drages

  • Colonel
  • ****
  • Posts: 150
    • View Profile
Questions about HWP's!!!
« on: July 15, 2017, 11:55:03 pm »
There is HWP sprite patterns and they are hardcoded.. i know it.. but i got 3 question..

1. How can i choose the pattern of which HWP i use?

2. How can i make a  new hovertank? What should i do to make the game use hovertank images rather then first tank one..

3. If i make a soldier type HWP, how can i code it's visuals changing by weapons they got. For example i got a sectoid and i give it a plasma weapon at inventory, then how will its sprites change to with plasma weapon version..

thx
« Last Edit: July 16, 2017, 12:12:01 am by drages »

Online Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Questions about HWP's!!!
« Reply #1 on: July 16, 2017, 01:48:48 am »
This is only true for basic OpenXcom, for Extended you can using scripts swap all sprites in any way you want.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: Questions about HWP's!!!
« Reply #2 on: July 16, 2017, 02:53:29 am »
You can choose the drawing routine to determine which way it draws sprites, while you can put in your own custom sprite sheets. You can draw over a copy of an existing sprite sheet to get the basic shape correct for the drawing routine, then you just check in-game to see how it looks and tweak it from there.