I was wondering if I could add the General's bodyguard replenish in friendly territory to units like knights, or peasants and levys, is this possible? if yes help appreciated
Check the Mod squad's Ultimate docudemons
has the command:
replenish_units
army identifier (the general's name)
replenish all the units to full numbers for the army
replenish_units Gaius Julius
REPLENISH_UNITS
(never tried to use it in m2tw but if you have success do let us know.)
That won't work because requires the general's name, and won't take anonymously named units.
Certainly not possible.
Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
dHRR 0.8 beta released! get it here
New: Native America! A mini-mod for Kingdoms America
OK with that but would it work with all units stacked with a named general as a console command?That won't work because requires the general's name, and won't take anonymously named units.
(Can one write a script to find the name of AI generals in settlements? I know the AI will, if it has the cash and the units can be built in the settlement, replenish units without being told to do so, but it doesn't seem to know about which units can be be replenished where, so being able to this would help the AI rebuild damaged units without having to move them to the correct settlement.)
Apologies if that's moving away from the O/P.
I don't think that there is a script command that can detect characters' names. One workaround to your problem could be to make all units recruitable for the AI everywhere; but those that actually should not be recruited in a specific settlement with 0.9 maximum number there. That way the AI would be able to replentish but not to recruit new units where it shouldn't.
Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
dHRR 0.8 beta released! get it here
New: Native America! A mini-mod for Kingdoms America
Even if there are other units stacked together with the general, the only unit that the command replenishes (as far as I know) is the general's itself.
IJ
in a word - NO
I tried the replenish units as a console command and it doesn't work (not that it should as the docudemons only have it a a command you can use in scripts.)
Only use I can see is if you spawn an army with a named character it should be able to replenish the units in that army if you put it in the campaign script. (But that would need testing to confirm.)
where can i find those ultimate docudemons?
![]()
Under the Patronage of the Dreadful cedric37!
Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod
![]()
ty
Under the Patronage of the Dreadful cedric37!
Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod
![]()
sry to ask, but what about "retraining" the units in friendly lands.
instead of retraining a unit at ur city or castle and taking up a training slot and turn. Could ur units replenish like X amount per turn on their own.
Gigantus? You're linking back to this thread.
Sry to waste your time.
Last edited by Dietre; April 30, 2009 at 05:40 PM.