Alternate Saurian Flanker Sprite Custom Unit
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
- Gweddeoran
- Posts: 157
- Joined: December 19th, 2014, 6:03 am
- Location: Estmark Hills
Alternate Saurian Flanker Sprite Custom Unit
Hey everyone!
I edited the existing Saurian Flanker sprite (just a few colour changes). I wanted Inarix, the protagonist, to look different from the other Saurian Flankers in the campaign. However, I don't want a separate entry in the units database for the campaign. Also, I want it to retain all the exact stats of the Saurian Flanker. How do I do this?
Thanks in advance.
I edited the existing Saurian Flanker sprite (just a few colour changes). I wanted Inarix, the protagonist, to look different from the other Saurian Flankers in the campaign. However, I don't want a separate entry in the units database for the campaign. Also, I want it to retain all the exact stats of the Saurian Flanker. How do I do this?
Thanks in advance.
Re: Alternate Saurian Flanker Sprite Custom Unit
I mark original image invisible and place new on it https://github.com/ProditorMagnus/Agele ... fg#L69-L77
- Gweddeoran
- Posts: 157
- Joined: December 19th, 2014, 6:03 am
- Location: Estmark Hills
Re: Alternate Saurian Flanker Sprite Custom Unit
Would this be inefficient for every single frame of movement, attack etc.?
- Gweddeoran
- Posts: 157
- Joined: December 19th, 2014, 6:03 am
- Location: Estmark Hills
Re: Alternate Saurian Flanker Sprite Custom Unit
Did it! I created a custom unit and made the 'hide_help=yes' in the unit.cfg file. I made its id different, i.e, Special Saurian Flanker, but left its name the same. So, the player does not see the unit listed on the database but it exists and Inarix uses its sprites, animations. Thanks for your help, I might need the [effect] tag later in the campaign.