Trying to create some upgrades

3 views
Skip to first unread message

zakc93

unread,
Jan 17, 2012, 6:13:15 AM1/17/12
to soundRTSChat
In my own rules i've been trying to create some upgrades and i noticed
a few things. When you use "effect apply_bonus", the name of the
property that you want to apply the bonus to can't have an underscore
(_) in it. For example, if i make an upgrade with "effect apply_bonus
hp_max" and the unit using it has "hp_max_bonus" it won't work, but if
the upgrade has "effect bonus hp_max" it works. Also, i've tried to
create an upgrade that increases the food produced by farms, but i
couldn't get it to work. I tried an upgrade with "effect bonus
food_provided 5" but it doesn't work. Is it just that you can't apply
a bonus to that property or did i do something wrong?

SoundMUD

unread,
Feb 1, 2012, 1:55:07 PM2/1/12
to soundr...@googlegroups.com
At the moment, only damage_bonus and armor_bonus are allowed. The next
version will allow more properties for apply_bonus, even if they might
not work as expected.

hp_max bonus doesn't seem to affect the hp of even new units. I will
fix this at least for new units. Units can be healed to the new max
though.

food_provided bonus and food_cost bonus might not work as expected. I
don't know if I will fix this right now because this part is fragile.
Tell me if you really need it.

I'll update the modding guide about this.

2012/1/17 zakc93 <zak.cl...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups "soundRTSChat" group.
> To post to this group, send email to soundr...@googlegroups.com.
> To unsubscribe from this group, send email to soundrtschat...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/soundrtschat?hl=en.
>

zakc93

unread,
Feb 4, 2012, 9:13:30 AM2/4/12
to soundRTSChat
Thanks for the info. I don't really need the food thing, i'm just
playing around with the rules for fun and it was just an idea. I
don't want to create more work for you. I also noticed that new units
had to be healed or repared to the new hp max. Another question, can
a bonus be negative? I mean where it would subtract from instead of
add to the total. For example, a cost bonus which reduces the cost of
a unit.

On Feb 1, 8:55 pm, SoundMUD <sound...@gmail.com> wrote:
> At the moment, only damage_bonus and armor_bonus are allowed. The next
> version will allow more properties for apply_bonus, even if they might
> not work as expected.
>
> hp_max bonus doesn't seem to affect the hp of even new units. I will
> fix this at least for new units. Units can be healed to the new max
> though.
>
> food_provided bonus and food_cost bonus might not work as expected. I
> don't know if I will fix this right now because this part is fragile.
> Tell me if you really need it.
>
> I'll update the modding guide about this.
>
> 2012/1/17 zakc93 <zak.claas...@gmail.com>:

SoundMUD

unread,
Feb 5, 2012, 1:31:20 PM2/5/12
to soundr...@googlegroups.com
A bonus might be negative (I didn't test it much though; it seems to
work at least with the "speed" property) but the "cost" property is
probably not dynamic enough to be affected by a bonus.

2012/2/4 zakc93 <zak.cl...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages