Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
Bounty Mechanic

https://photos.app.goo.gl/vpCVHwkAX4fDMPEa9
Bounty Hunter Unit Ability

https://photos.app.goo.gl/7kAdXygsajtR3mnr6
Bounties collected after a successful lair fight.

https://photos.app.goo.gl/PUZiZSxuUKrUNqo7A
Bounties collected for that turn is rewarded at the end of it. (1 time only).

Google Photos is a really crappy image uploader. So I will just put a link.
Reply

What is it? I could not see picture.
Reply

Updated. Just going to post links to google photos. Image hosting doesn't seem to be working properly.
Reply

Looks cool the Bounty Huntress!
Reply

Nice! But how you link unit stats with economic script?
Reply

(August 26th, 2023, 04:23)Suppanut Wrote: Nice! But how you link unit stats with economic script?

Via a custom.ini file. I only need to calculate the total number of bounties collected at the end of a battle, then read/write it into the .ini file. This process is repeated for all other battles, and the number is tallied and read from and used in the ecogold file. I make sure to reset the bounty after that at the end of every Overland turn. You also need to reset the Bounty at the start of every new game. This is a temporary measure at best. I am exploring about using a custom neutral unit which can never move, be targeted or interacted with and put it hidden in some obsure part of the map. This way I can use that custom neutral unit to store integer values which retain its value across games.
Reply



Forum Jump: