Tutorial Request - AUX

Put here any discussion that does not fit to the specific forums.

Moderator: Endru1241

Post Reply
User avatar
DoomsdayDragonfire
Posts: 805
Joined: Tue Sep 06, 2016 6:20 am
Location: Terra - Brasil

Tutorial Request - AUX

Post by DoomsdayDragonfire » Fri Jan 17, 2020 11:54 pm

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.
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻

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

Re: Tutorial Request - AUX

Post by Stratego (dev) » Sat Jan 18, 2020 6:40 am

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)
	       },
Attachments
unit_roman_aux_sword.json
(3.28 KiB) Downloaded 2 times
unit_roman_aux_spear.json
(3.17 KiB) Downloaded 1 time
unit_roman_aux_skirmisher.json
(3.34 KiB) Downloaded 1 time
unit_roman_aux_archer.json
(3.1 KiB) Downloaded 4 times
unit_roman_aux.json
(2.63 KiB) Downloaded 2 times
unit_roman_aux_knight.json
(3.29 KiB) Downloaded 1 time

User avatar
DoomsdayDragonfire
Posts: 805
Joined: Tue Sep 06, 2016 6:20 am
Location: Terra - Brasil

Re: Tutorial Request - AUX

Post by DoomsdayDragonfire » Sat Jan 18, 2020 8:04 pm

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?
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻

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

Re: Tutorial Request - AUX

Post by Stratego (dev) » Sat Jan 18, 2020 8:06 pm

yes, that is that simple.

User avatar
godOfKings
Posts: 2321
Joined: Fri Sep 22, 2017 4:50 pm

Re: Tutorial Request - AUX

Post by godOfKings » Mon Jan 20, 2020 4:34 pm

U also need to define weight as percentage chance, but that's all i guess
There is no place for false kings here, only those who proves themselves to b the true kings of legend, or serves under me

For I watch over this world looking for those worthy to become kings, and on the way get rid of the fakes and rule over the fools

Post Reply

Return to “Other discussions about the game”