![]() |
The Gladiator - One Battle Deal
I was trying to duplicate the One Blattle Deal of a gladiator but I am not sure what command to use. I've cheked his stats and cant find anything significat that makes him leave after battle. I might have read something about it in the manual or in the in-game-loading-tips, but I cant remember. Any Ideas?
I just want to create a unit that fights one battle and leaves, regardless of outcome... |
Re: The Gladiator - One Battle Deal
copystats might be the way to go, then change the basic stats and add what you want in.
|
Re: The Gladiator - One Battle Deal
Yep, copystats a gladiator unit and change what you want.
|
Re: The Gladiator - One Battle Deal
Actually I was unable to make this work on my Alugra mod.
I had a "cutthroat" - unit that was supposed to be a assasin who only does a single hit. He remained after battles, thought. |
Re: The Gladiator - One Battle Deal
Copystat doesn't work, gladiators disappearing seem to be linked with their unit id, so you need to replace a gladiator unit if you want the same behavior.
A workaround is a to use #secondtmpshape, and make so the first shape has only one hp (one hit and the unit become its second shape, which disappears at the end of battle).. |
Re: The Gladiator - One Battle Deal
An even more thorough workaround would be to have #secondtmpshape, and to have the unit #onebattlespell a spell which kills itself. Therefore at the beginning of the battle it will kill itself with its #onebattlespell, and switch to its #secondtmpshape, which will disappear after battle.
|
Re: The Gladiator - One Battle Deal
Lol battle starts and one side kills itself http://forum.shrapnelgames.com/images/smilies/laugh.gif
It would work though http://forum.shrapnelgames.com/images/smilies/laugh.gif But which spell that targets self kills a unit 100% of the time, since you can't make a new one to do it? |
Re: The Gladiator - One Battle Deal
You can make a new one but it's rather complicated.
First/easier method is to replace an existing spell (if you mod a nation replacing a national spell of a nation of another era shouldn't make problem). A more complicated method allow to use any new spell. You need to use 2 mods, one with the new spell, one calling it for onebattlespell. Use for example the spell enabler mod (posted here somewhere by Endorperez iirc) which should be your first mod enabled. Make your self kill effect and insert it in the spell enabler mod. Call this spell by number in your other (second) mod. Note that this will only work as long no new spell are added in vanilla game (numbers will change when spells are added). |
Re: The Gladiator - One Battle Deal
The easiest way is just to give it a secondshape which is aquatic. Then it drowns after battle.
|
Re: The Gladiator - One Battle Deal
Units don't normally change to their secondshape at the end of battle do they?
|
Re: The Gladiator - One Battle Deal
I thought there was a way of making that happen,....
Maybe I'm remembering wrong. I haven't messed around with the shapes for a while. |
Re: The Gladiator - One Battle Deal
Quote:
Anyway it's not a good solution as it would allow to make the unit really aquatic (using some magical way to enter water and fight a first battle, then you have an aquatic not disappearing gladiator). |
Re: The Gladiator - One Battle Deal
Yeah, firstshape.
I think it's the best solution so far. It isn't very good though so I'd just give up on the idea. |
Re: The Gladiator - One Battle Deal
It wouldn't work at all, because units also revert to their firstshape at the end of every turn, regardless of whether they've been in a battle (they do it at the end of battle as well, so they can go through several firstshape steps if they are involved in battles). So by this method the gladiator would die after one turn.
I think the #onebattlespell thing is a good idea (if I do say so myself http://forum.shrapnelgames.com/images/smilies/wink.gif ). I will flesh it out when I get a chance. There is lots of potential to do cool stuff with this kind of thing. |
Re: The Gladiator - One Battle Deal
But using #onebattlespell brings up a whole load of other problems. The chief one being that it doesn't work for non commanders.
|
Re: The Gladiator - One Battle Deal
Aaahh. Good point. I had forgotten that.
In that case I think perhaps we are stumped for non-commanders. Aquatic #firstshape won't work because they'll die anyway after one turn, and #onebattlespell won't work because it doesn't work for non-commanders. Are there any other options I've forgotten? So I guess the only option is the 1hp thing (i.e. their first form only has 1hp, and their second form disappears after battle). You could say they agree to fight until their blood is first drawn, and then they will leave. |
Re: The Gladiator - One Battle Deal
That of course has the drawback of making them survive the first hit against them unscathed, sort of like a free twist fate.
|
Re: The Gladiator - One Battle Deal
Indeed, that isn't ideal either.
Surprisingly tricky problem, this one. |
Re: The Gladiator - One Battle Deal
I don't even think it's an interesting mechanic to have in the game. It definitely causes the AI trouble and it really just encourages more micro and economic calculations rather than strategy.
|
Re: The Gladiator - One Battle Deal
Quote:
It seem to be the case for some multi-shapes creatures. |
Re: The Gladiator - One Battle Deal
Quote:
|
Re: The Gladiator - One Battle Deal
I was not able to figure it out either. Shapechanging does not seem to be the soluction. Is there missing command such as #onebattledeal or something like that? I dont see any other way of doing it by simple modding.
|
All times are GMT -4. The time now is 04:42 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.