.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 November 8th, 2009, 05:10 PM

LumenPlacidum LumenPlacidum is offline
Sergeant
 
Join Date: Jan 2009
Posts: 255
Thanks: 15
Thanked 4 Times in 4 Posts
LumenPlacidum is on a distinguished road
Default Modding loyalty question

Is there a specific command that makes something able to turn around and attack friends sometimes? I know there are summons, like the lamashtas that do this, but I want to know if it's possible as a part of a unit and not a spell's property.
Reply With Quote
  #2  
Old November 8th, 2009, 05:52 PM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: Modding loyalty question

I believe it can be modded in (atleast I hope so), but I don't know, and that may just be wishful thinking...
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #3  
Old November 8th, 2009, 06:08 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: Modding loyalty question

There are certain spells with this effect that target enemies. You may be able to use one of these spells to create a new spell that targets the caster. Then give that spell to a commander with the #onebattlespell command. Normally you cannot use #onebattlespell for custom spells but there are several numbered spell slots that don't do anything, so you just need to override one of them with #selectspell. This should at least give the desired effect to commanders.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
  #4  
Old November 8th, 2009, 08:02 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Modding loyalty question

There are certain units that "break free". Eater of the Dead comes to mind. Maybe using it as a base then changing EVERYTHING else about it will give you what you want.
Reply With Quote
  #5  
Old November 9th, 2009, 01:51 AM
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: Modding loyalty question

I'm not sure if the special ability of the Lammashta's "unloyalty" is in the unit itself or the spell. If it is in the unit, you could just try copystatting the Lammastha unit and see how it goes (although there is that undead "tag" you can't get rid of).

Like Foodstamp said, you could also make a commander that gives the "Confusion/Rage" debuff on himself at the start of combat, which would give the commander a 50% of attacking own troops. The downside is that the unit would move like drunkard.
Reply With Quote
  #6  
Old November 9th, 2009, 02:45 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: Modding loyalty question

You can copy any unit, infact, as far as I know--and an uncopyable one would be one that was set by the Devs.

Ashen Angels (attack friend and foe alike), Horrors (attack friendlies, and also disappear after a while), the Eater of the Dead...

So it's certainly possible to do it in a roundabout way...but as far as their being a tag for it, that's up in the air.
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #7  
Old November 9th, 2009, 12:00 PM

rdonj rdonj is offline
General
 
Join Date: Oct 2007
Posts: 3,007
Thanks: 171
Thanked 206 Times in 159 Posts
rdonj is on a distinguished road
Default Re: Modding loyalty question

The issue burnsaber is having is he is not sure whether the reason those units are "disloyal" is because they have some special tag that makes them attack allied units, or if it's because they're summoned as independents or some other strange mechanism. If someone wants to do some testing on the matter we could clear it right up.
__________________
"Easy-slay(TM) is a whole new way of marketing violence. It cuts down on all the red tape and just butchers people. As a long-time savagery enthusiast myself, I'm very excited about the synergies that the easy-slay(TM) approach brings to the entire enterprise." -Dr DrP
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 12:27 AM.


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