.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old June 16th, 2008, 06:03 PM
Atreidi's Avatar

Atreidi Atreidi is offline
Sergeant
 
Join Date: Sep 2007
Location: Rio Bravo, Mexico
Posts: 247
Thanks: 4
Thanked 1 Time in 1 Post
Atreidi is on a distinguished road
Default 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...
Reply With Quote
  #2  
Old June 16th, 2008, 06:37 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: The Gladiator - One Battle Deal

copystats might be the way to go, then change the basic stats and add what you want in.
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #3  
Old June 17th, 2008, 07:19 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: The Gladiator - One Battle Deal

Yep, copystats a gladiator unit and change what you want.
Reply With Quote
  #4  
Old June 19th, 2008, 01:43 PM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default 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.
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
Reply With Quote
  #5  
Old June 19th, 2008, 02:46 PM
Twan's Avatar

Twan Twan is offline
Captain
 
Join Date: Sep 2004
Location: France
Posts: 961
Thanks: 2
Thanked 12 Times in 8 Posts
Twan is on a distinguished road
Default 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)..
Reply With Quote
  #6  
Old June 19th, 2008, 05:20 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default 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.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #7  
Old June 19th, 2008, 07:12 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: The Gladiator - One Battle Deal

Lol battle starts and one side kills itself
It would work though

But which spell that targets self kills a unit 100% of the time, since you can't make a new one to do it?
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #8  
Old June 20th, 2008, 05:55 AM
Twan's Avatar

Twan Twan is offline
Captain
 
Join Date: Sep 2004
Location: France
Posts: 961
Thanks: 2
Thanked 12 Times in 8 Posts
Twan is on a distinguished road
Default 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).
Reply With Quote
  #9  
Old June 20th, 2008, 06:23 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: The Gladiator - One Battle Deal

The easiest way is just to give it a secondshape which is aquatic. Then it drowns after battle.
Reply With Quote
  #10  
Old June 20th, 2008, 07:24 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: The Gladiator - One Battle Deal

Units don't normally change to their secondshape at the end of battle do they?
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:33 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.