Unit Design - unit property sheet

Here you may find answers to your questions.

Re: Unit Design - unit property sheet

Postby COOLguy » Sat Nov 07, 2015 6:07 pm

Daniel (the dev) wrote:(i suggest using the samples i posted, they are valid and formatted well and also indented well, simply modify those with the stats you desire.)

Actually, he started with those. Those errors were what he got, I think. But it works fine for me.
Thanks!
Josh
User avatar
COOLguy
 
Posts: 3473
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Unit Design - unit property sheet

Postby Stratego (dev) » Thu Dec 24, 2015 3:59 pm

updated: a new sample for a neutral animal (hen)
and also a zip with some AOF unit jsons so you can check how they work.
Stratego (dev)
Site Admin
 
Posts: 5860
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit Design - unit property sheet

Postby Stratego (dev) » Thu May 18, 2017 4:48 am

updated: added spec actions, and the new actions to the end about bypassing armors.

"Usable specActions in datasheet" section
Stratego (dev)
Site Admin
 
Posts: 5860
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit Design - unit property sheet

Postby Stratego (dev) » Thu Aug 03, 2017 9:21 pm

new config option in json:

"rndProd":{ // this will let you make unit groups, and among the group random spawning: eg. if we want to have 2 similar orc riders, but with different images, you can set this to have it random.
"prodGroup":"AUX", // group name
"prodWeight":20 // summing up the weights in group and getting the random based on weight (eg. you have unitA(w10) unitB(w25) unitC(w15) than unitA=20%, unitB=50%, unitC = 30% chance)
},
Stratego (dev)
Site Admin
 
Posts: 5860
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit Design - unit property sheet

Postby Stratego (dev) » Fri Sep 22, 2017 6:01 am

2 new spec ability

IS_ALL_TECH_MEMBER, //if a tech a techs to be in "all techs" section - meaning the DEFAULT techs
CAN_BE_FLOWN_TRU // if this unit is so low on ground and has no armament to reach - so flyers van fly over it (like caltrops in AOW)
Stratego (dev)
Site Admin
 
Posts: 5860
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit Design - unit property sheet

Postby Sunrise Samurai » Tue Sep 26, 2017 1:44 am

Perhaps a stupid question, but here it is. What happens if a unit is defined to be a technology? Would it be something you can only build one of, aside from getting tossed into the technologies list? If so, it might be useful for future units that are meant to be unique, like heroes.

I had to ask. Sometimes it can be useful to see if options can be used in ways they were never intended.
The Tournament of Dragons has begun
viewtopic.php?f=73&t=4516&p=44652&sid=7430fb9fba1d158e718711599ac4e38e#p44652
Follow the progress on the link. Be sure to root for your favorite player
User avatar
Sunrise Samurai
 
Posts: 1628
Joined: Thu Jun 18, 2015 11:21 pm
Location: Florida, U.S.

Re: Unit Design - unit property sheet

Postby Stratego (dev) » Tue Sep 26, 2017 3:14 am

no, it influence other things too not only the fact which list it is in.

so dont make a unit be a technology :)
Stratego (dev)
Site Admin
 
Posts: 5860
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit Design - unit property sheet

Postby Stratego (dev) » Thu Oct 05, 2017 8:37 am

AOF json zip updated
Stratego (dev)
Site Admin
 
Posts: 5860
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit Design - unit property sheet

Postby Stratego (dev) » Thu Oct 05, 2017 3:22 pm

new specunitactions
IS_EFFECT_REDUCED_BY_ARMOR, // if the prop changer effect (that is HP changing one!) will be reduced by NORMAL armor
IS_EFFECT_REDUCED_BY_PARMOR, // if the prop changer effect (that is HP changing one!) will be reduced by PIERCE armor
Stratego (dev)
Site Admin
 
Posts: 5860
Joined: Fri Apr 25, 2014 9:28 pm

Previous

Return to FAQ

Who is online

Users browsing this forum: No registered users and 1 guest