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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old May 17th, 2011, 09:12 AM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Best way to have a different form in combat?

I'm trying to figure out the optimal way to have a different form in combat than in the overland map.

Here is the best way I can come up:

Give the commander two forms.

Create a #onebattlespell that kills the commander at the start of combat, thus shape changing him to the second form.

After combat, the unit should revert to the first form again on the overland map.


Two questions:

Is there an easier way to do this?

Will the spell that kills the first form unit cause afflictions?


Thanks!
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #2  
Old May 17th, 2011, 12:22 PM

BewareTheBarnacleGoose BewareTheBarnacleGoose is offline
Sergeant
 
Join Date: Mar 2011
Posts: 210
Thanks: 29
Thanked 16 Times in 13 Posts
BewareTheBarnacleGoose is on a distinguished road
Default Re: Best way to have a different form in combat?

Why not just copystat a unit with a #secondshape#, if you want to make a new shapchanging commander. You can then just give it the "change shape" command as their first battle order. If you dont want to loose a turn, just make it so that it doesnt lose magic paths when it changes shape, and change shape [eg, copystat a nahualli] on the overland map. Would this be what you want?
Reply With Quote
The Following User Says Thank You to BewareTheBarnacleGoose For This Useful Post:
  #3  
Old May 17th, 2011, 12:29 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Best way to have a different form in combat?

Naw, not exactly.

I want it to be a forced action.

When viewing the commander on the map, I want the user to see one graphic. When the commander engages in combat, I want it to have a different graphic. Stats would be identical.

The #secondshape is part of the solution I am going to try, but I hate losing the option of using #onebattlespell for something useful. And I am concerned about the affliction thing, but it will be easy enough to test when I get home.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #4  
Old May 17th, 2011, 03:09 PM

Koral Koral is offline
Private
 
Join Date: Sep 2010
Posts: 15
Thanks: 4
Thanked 2 Times in 1 Post
Koral is on a distinguished road
Default Re: Best way to have a different form in combat?

One of the exiles wanted to let you know: "You can use polymorph, but it has to point to a monster with an id between 1 and 999. The polymorph effect is #effect 54. See the warhammer dwarf mod for an example of how this works. If you want more detailed info, come to irc or ask in dom3mods."
Reply With Quote
The Following 2 Users Say Thank You to Koral For This Useful Post:
  #5  
Old May 17th, 2011, 03:50 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: Best way to have a different form in combat?

Ah yes, exactly what Koral said.

It's a bit annoying cos you have to either find unused slots between 1 and 999 (I think Dwarfs found most of them), or else do something like:

- Copy vanilla unit to new unit number
- Change spell for that unit to point to new unit number
- Steal original unit number for yourself.
__________________
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
The Following User Says Thank You to llamabeast For This Useful Post:
  #6  
Old May 17th, 2011, 10:25 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Best way to have a different form in combat?

That will work perfect! It's part of an overhaul mod so any unit between 1 and 999 that doesn't have a special effect attached to it is fair game.

Basically, I am wanting to replace the commanders sprites with portraits on the world map, and then revert to their normal sprites in combat, for an rpg-ish mod I am working on.

Thanks again for all the help, and tell the exile I said thanks as well!
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #7  
Old May 17th, 2011, 10:59 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Best way to have a different form in combat?

Ok, Polymorph solved half the issue, and it was very simple to solve the other half of the issue.

To get it to work exactly how I wanted, I needed to select the target unit and give him a #firstshape to the original unit.

So now I have a unit that looks like a portrait on the map, and an actual unit when fighting. Exactly what I wanted Thanks again!
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #8  
Old May 17th, 2011, 11:15 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Best way to have a different form in combat?

Ta Da! Here is what it looks like in game. I need to do a bit of resizing, but you get the idea...

Attached Thumbnails
Click image for larger version

Name:	portrait.jpg
Views:	322
Size:	24.7 KB
ID:	11162  
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #9  
Old May 18th, 2011, 07:21 AM

Calahan Calahan is offline
BANNED USER
 
Join Date: Nov 2007
Location: San Francisco, nr Wales
Posts: 1,539
Thanks: 226
Thanked 296 Times in 136 Posts
Calahan is on a distinguished road
Default Re: Best way to have a different form in combat?

That looks pretty funky actually

How does it look on the strategic/overland map if you have a big load of them in a province? Is it just going to be a lot of potrait pictures in a line? (which might look a bit odd IMO)
Reply With Quote
  #10  
Old May 18th, 2011, 07:33 AM

Finalgenesis Finalgenesis is offline
First Lieutenant
 
Join Date: Jun 2010
Posts: 732
Thanks: 65
Thanked 17 Times in 15 Posts
Finalgenesis is on a distinguished road
Default Re: Best way to have a different form in combat?

Ah Jafar, how nostalgic.
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 03:40 AM.


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