Posted: Thu Jul 19, 2018 3:20 pm Post subject:
Academy building and veteran cameos
Subject description: Units start veteran after academy building captured, but no veteran cameos even with SHP files
I made the Tech Outpost a academy building to train aircrafts that start veteran, which actully worked. However, the cameos failed to gain the veteran symbols even though the "AltCameo=" was set in artmd.ini. The corresponding .shp files of veteran cameos were already added in the game folder. Is there any way to enable the veteran cameos?
Say train Black Eagle starts veteran (so do other aircrafts) with Tech Outpost captured.
Code:
[CAOUTP] ; appended to rulesmd.ini
Academy.AircraftVeterancy=1.0 ; Ares 0.8
[BEAG] ; appended to artmd.ini
AltCameo=BEAGUICO ; BEAGICON with veteran symbol
Only when a unit is constructed, the veterancy is applied. This applies to VeteranInfantry and friends, Spy effects, and Academies.
For the former ones, it is clear for each object whether it will become veteran or not: VeteranInfantry checks whether the infantry being build is contained in the list; Spy Effects check whether they are activated or not. Both of these are easily tested.
Academies however are not as easily checkable: All Academy buildings a player owns would have to be tested whether they apply to a unit type, and also to what degree: Academies can make units halfway veteran, in which only two or more of those would enable veteran cameos. Worse, Academies support creating elite units, for which there wouldn't be any special cameos. This is slow, because it would have to be checked every time a cameo is drawn, for each cameo, all the time. _________________ QUICK_EDIT
… or you can clone the units, give them the upgraded cameos, and then play with Prerequisite= and Prerequisite.Negative= to disable the real planes and allow you to build only the clones once you have the academy. QUICK_EDIT
… or you can clone the units, give them the upgraded cameos, and then play with Prerequisite= and Prerequisite.Negative= to disable the real planes and allow you to build only the clones once you have the academy.
I don't prefer that because that will interrupt building queues: the old one being built disappears and you need to rebuild the new one
If Ares can find a way to resolve this it will be great
Something like this:
APOC->SomeTag=APOCV
APOCV->SomeTag=APOC
If APOC is being built at 50% but its Prerequisite is no longer satisfied but APOCV's Prerequisite is satisfied, then APOCV is automatically being built at 50% and continues and any later order of APOCs all become APOCVs
Same for APOCV w/r/t APOC _________________
One could argue that's a QoL thing and wasn't meant for Academies to function that way. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
Only when a unit is constructed, the veterancy is applied. This applies to VeteranInfantry and friends, Spy effects, and Academies.
For the former ones, it is clear for each object whether it will become veteran or not: VeteranInfantry checks whether the infantry being build is contained in the list; Spy Effects check whether they are activated or not. Both of these are easily tested.
Academies however are not as easily checkable: All Academy buildings a player owns would have to be tested whether they apply to a unit type, and also to what degree: Academies can make units halfway veteran, in which only two or more of those would enable veteran cameos. Worse, Academies support creating elite units, for which there wouldn't be any special cameos. This is slow, because it would have to be checked every time a cameo is drawn, for each cameo, all the time.
Alright is it possible to make aircrafts and naval vehicles start veteran through Spy Effects in future version? QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum