Page 1 of 1

Tutorial Request - AUX

Posted: Fri Jan 17, 2020 11:54 pm
by Dagravian
Hey @Stratego (dev), i was curious about our "hidden possibilities" and wanted to ask about a thing in particular in order to make more use and maybe expand its possibilities...

I want to request a tutorial about Roman Auxiliaries function... Or random production.

- How does Roman AUX function works?
- How many and What files are needed to replicate this?
- How to define the group of units for this feature?
- How the game defines what unit inside that list will be sorted?
- Is there a limit of units that can be put in these groups?
- And possible alternative uses you think it can be applied to this aswell.

Re: Tutorial Request - AUX

Posted: Sat Jan 18, 2020 6:40 am
by Stratego (dev)
see attached jsons as examples

also from this link
http://www.ageofstrategy.net/viewtopic.php?f=216&t=2003
here is the "documentation" i hope all questions are answered if not, please ask again - thanks!

Code: Select all

  	       "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.
  	          "scope":"SUMMON",     //can be: PRODUCTION, SUMMON, ALL meaning the randomness will effect only production or only summoning or both
	          "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)
	       },

Re: Tutorial Request - AUX

Posted: Sat Jan 18, 2020 8:04 pm
by Dagravian
I still don't understand it well...

From what i see, i can just create any group and put it right away? Like "tomato knights", and put it at: "prodGroup":"TOMATOES", // to make it work? Is really that simple? I do not need to define anything else about this group elsewhere?

Re: Tutorial Request - AUX

Posted: Sat Jan 18, 2020 8:06 pm
by Stratego (dev)
yes, that is that simple.

Re: Tutorial Request - AUX

Posted: Mon Jan 20, 2020 4:34 pm
by godOfKings
U also need to define weight as percentage chance, but that's all i guess