Jump to content

Base Idea (Reward 1)


FueledByOCHD
 Share

Recommended Posts

So here i go again adding yet another mod idea to the list

Idea

Blood Reward system

With this system im hoping to make it so

  • when your soldiers kill enemy or animal you get a set amount of blood Blood
  • you can task vilagers to gather more blood (ie like 10 per soldier)
  • when you kill animal the blood is given when you return with meat

Help

I need someone who is good with artwork so we can add the things we need into the game

Progress

Currently in middle of adding it to the game :)
Link to comment
Share on other sites

  • 2 weeks later...

Do you wish to create a list? I also have one here. Keeps topic count down.

Blood Reward system. There is already loot/reward system in 0AD. Whenever a soldier dies your nearby units gather some bonus (that's just not visible, it's added to your resources invisibly). (that's additional to the experience for up-ranking).

If you like you can restructure this topic to a list and I will move and merge all other topics you wish me to.

(Also we have a Tutorial & Guids forum, I'm not sure if your programs weren't better kept there.)

Edited by Hephaestion
Link to comment
Share on other sites

  • 2 weeks later...

Yea. Done with it. Just have to upgrade my svn and fix to alpha16. Also made new mod enhanced blood reward. A full combat themed mod. Have like 4 things to add. Btw want to make tech for unit that will allow him to gain exp but idk how to add exp via tech or if possible without pyro edit

Link to comment
Share on other sites

With a tech you could modify the actor-xml and hence the amount of Loot as this is specified within

<Loot>    <Water>1000</Water>        <xp>10</xp>    ...</Loot>

See e.g. here:

https://github.com/0ADMods/China/commit/ed6dcfc2e40ae0e849b60e55f5496c29cea3df89#diff-10b879d5e375a9e337e9cc99c1be930cR13

I like it - however you solve(d) it.

For your 2nd question: (we have a promotion component which stores the experience)

cmpPromotion.IncreaseXp(<amount_of_xp_you_wish_to_add>);

If I'm not mistaken then tech is only to modify templates => xml (json too?).

Edited by Hephaestion
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...