.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 March 10th, 2010, 08:48 AM
Adept's Avatar

Adept Adept is offline
Sergeant
 
Join Date: Nov 2003
Location: Finland
Posts: 250
Thanks: 19
Thanked 13 Times in 8 Posts
Adept is on a distinguished road
Default A little modding help please

Hi guys, I'm creating a nation which will hopefully amuse some of you when released.

It's been years since I've tried my hand at modding, and I'm a bit stuck. I wish to be able to give a new pretender the "Crown of Command" and "Golden Sword" as equipment.

I can get him the sword with no problems, but for some reason the crown just doesn't work. Anybody have an idea why?
Reply With Quote
  #2  
Old March 10th, 2010, 09:25 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: A little modding help please

More specifics are needed. What commands do you use, what errors do you get? Generally, what do you do and what happens? In detail.
Reply With Quote
  #3  
Old March 10th, 2010, 09:30 AM
Stavis_L's Avatar

Stavis_L Stavis_L is offline
Second Lieutenant
 
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
Stavis_L is on a distinguished road
Default Re: A little modding help please

You might get more/better responses if you post this in the modding subforum. edit: whoops, I see Edi moved it.

Does the unit in question have a head?

Try posting the snippet of mod code so we can look.
__________________
A nation mod I created:
Mistica: A Magocratic Police State
Micro-mods by me you might find useful:
Brainless Soulless - a fix for Life after Death/Ankh "exploit", Bogarus Scout Fix
Reply With Quote
  #4  
Old March 10th, 2010, 10:33 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: A little modding help please

Remember that you can refer to armor by name, but not by number. If it's not that, one thing that often causes mysterious bugs is capitalization. #armor "Crown" should work, while #Armor "Crown" will not.
Reply With Quote
  #5  
Old March 10th, 2010, 11:18 AM
Adept's Avatar

Adept Adept is offline
Sergeant
 
Join Date: Nov 2003
Location: Finland
Posts: 250
Thanks: 19
Thanked 13 Times in 8 Posts
Adept is on a distinguished road
Default Re: A little modding help please

#newmonster 2770
#name "Adventurer King"
#copyspr 46
#restrictedgod 79
#ap 25
#mapmove 3
#hp 11
#size 3
#str 10
#enc 5
#att 10
#def 10
#prot 0
#prec 10
#mr 10
#mor 11
#rcost 1
#gcost 60
#pathcost 50
#startdom 1
#descr "This adventurer rose to kingship having found magic arms of an earlier age, and has demanded that the priests of his land worship him as a god."
#armor "Crown of Command"
#armor "Leather Hauberk"
#weapon "Golden Sword"
#weapon "Hoof"
#pathcost 50G
#mounted
#end
Reply With Quote
  #6  
Old March 10th, 2010, 11:53 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: A little modding help please

There is no armor called "Crown of Command", the item just gives you the armor "Crown". If you want him to come equipped with that magical item, it unfortunately can't be done.
Reply With Quote
  #7  
Old March 10th, 2010, 12:09 PM
BigDaddy's Avatar

BigDaddy BigDaddy is offline
Second Lieutenant
 
Join Date: Feb 2005
Location: Central Illinois
Posts: 434
Thanks: 7
Thanked 3 Times in 3 Posts
BigDaddy is an unknown quantity at this point
Default Re: A little modding help please

What you can do is create an armor called "crown of command", and then bump up his leadership stats.
Reply With Quote
  #8  
Old March 10th, 2010, 01:16 PM
Adept's Avatar

Adept Adept is offline
Sergeant
 
Join Date: Nov 2003
Location: Finland
Posts: 250
Thanks: 19
Thanked 13 Times in 8 Posts
Adept is on a distinguished road
Default Re: A little modding help please

Oh bummer.

The sword works fine, but the crown won't? I guess I'll have to fake it then.

How is the equipment of Bogus and his buddies done?
Reply With Quote
  #9  
Old March 10th, 2010, 01:49 PM
Stavis_L's Avatar

Stavis_L Stavis_L is offline
Second Lieutenant
 
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
Stavis_L is on a distinguished road
Default Re: A little modding help please

Quote:
Originally Posted by Adept View Post
Oh bummer.

The sword works fine, but the crown won't? I guess I'll have to fake it then.

How is the equipment of Bogus and his buddies done?
To be clear - you'd get the weapon "Golden Sword" - but not a magic item "Golden Sword" that you could e.g. remove and give to some other unit.

In the case of the Crown of Command, you can easily add armor "Crown" and bump the leadership; the only thing that wouldn't do is give the Awe in combination with Scepter of Command/Axes of Rulership (pretty edge-case.)

Bogus is a special case, hard coded into the game. The only other way to give actual magic items (vs. the weapons, armor, and effects that the magic items grant) is to use map commands.
__________________
A nation mod I created:
Mistica: A Magocratic Police State
Micro-mods by me you might find useful:
Brainless Soulless - a fix for Life after Death/Ankh "exploit", Bogarus Scout Fix
Reply With Quote
  #10  
Old March 10th, 2010, 02:13 PM
Adept's Avatar

Adept Adept is offline
Sergeant
 
Join Date: Nov 2003
Location: Finland
Posts: 250
Thanks: 19
Thanked 13 Times in 8 Posts
Adept is on a distinguished road
Default Re: A little modding help please

Right.

I have a few problems still. By my math #noitem 31750 should leave out the head (so he'll always have the crown), and give him three misc slots. It doesn't though, and I wonder if the #mounted is messing me up. What I get is just two misc slots.

Also I need to find the correct "Hoof" for the mount's kick, as it is not working right yet. Oh, and I suppose I need to #resize 2 as it's mounted human instead of a siz 3 creature.

Thanks for the help fellas
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 01:48 AM.


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