Balanced axe trowing problem

Post Reply
Urss2004
Posts: 13
Joined: Sat Jul 27, 2019 11:28 am

Balanced axe trowing problem

Post by Urss2004 » Fri Sep 20, 2019 6:13 pm

Hi, the new tech "balanced axe trowing", has got the same problem that time ago had the Roman tech legion training. When I research this tech work only on the existing axe trower unit, all the new unit don't have this tech, and this was a great problem. I hope this issues will be fixed, thank. (Sorry for my bad English)

User avatar
Endru1241
Posts: 332
Joined: Fri Sep 11, 2015 8:43 am
Location: Poland

Re: Balanced axe trowing problem

Post by Endru1241 » Fri Sep 20, 2019 11:44 pm

You are right - new units are not affected. But I don't see anything in jsons different to e.g. ballistaria.
@Stratego (dev) Is this something in the code?

Stratego (dev)
Site Admin
Posts: 9433
Joined: Fri Apr 25, 2014 9:28 pm

Re: Balanced axe trowing problem

Post by Stratego (dev) » Sat Sep 21, 2019 5:23 am

all propery changer techs should have ID that is in a specified range restricted for property changers (written in id txt)
or if got out of range it needs to set the IS_PROP_CHANGER_TECH specunitaction (i wrote it by hard, i might have misspelled)

i will go in and find the actual values soon.

Stratego (dev)
Site Admin
Posts: 9433
Joined: Fri Apr 25, 2014 9:28 pm

Re: Balanced axe trowing problem

Post by Stratego (dev) » Sat Sep 21, 2019 5:54 am

these:
//!! IMPORTANT: TECH_PROPERTY_CHANGE_FIRST - TECH_PROPERTY_CHANGE_LAST interval must be used only for prop chg tech-s.
//!! IMPORTANT: TECH_BUILD_REQUIREMENT_FIRST - TECH_BUILD_REQUIREMENT_LAST interval must be used only for tech. requirements.

TECH_PROPERTY_CHANGE_FIRST = 2000
...
TECH_PROPERTY_CHANGE_LAST = 2999

and the specunitaction is: TECH_IS_PROP_CHANGER

User avatar
Endru1241
Posts: 332
Joined: Fri Sep 11, 2015 8:43 am
Location: Poland

Re: Balanced axe trowing problem

Post by Endru1241 » Sat Sep 21, 2019 9:22 am

Thanks for the info.
Added TECH_IS_PROP_CHANGER to tech "balanced throwing axes".

Post Reply

Return to “Units/techs/effects”