.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 May 15th, 2008, 03:40 PM

Disenchanter Disenchanter is offline
Private
 
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Disenchanter is on a distinguished road
Default Bad armor for monster - help please

Greetings, comunity.
I'm trying to put together a basic mod. Today, I tried running the 0.01 version, but the game crashes with the message "bad armor for monster". I've checked my work, but can't seem to find the problem. Perhaps one of you could help me spot it?
Thanks.
Attached Files
File Type: rtf 606601-DJSmodV001.dm.rtf (14.3 KB, 116 views)
Reply With Quote
  #2  
Old May 15th, 2008, 03:56 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Bad armor for monster - help please

#armor command only accepts text as input, not numbers. It's been that way from the beginning, probably due to an oversight. It's not easy to catch because numbers can be used almost everywhere else.
Reply With Quote
  #3  
Old May 15th, 2008, 04:00 PM

Disenchanter Disenchanter is offline
Private
 
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Disenchanter is on a distinguished road
Default Re: Bad armor for monster - help please

Ah, thanks a bunch.
edit - Also discovered tons of other bugs, but at least it runs now. It seems sites must also be entered by name, as entering numbers crashes the game(bad site).
Reply With Quote
  #4  
Old May 15th, 2008, 05:25 PM
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: Bad armor for monster - help please

I've used #selectsite <nbr> without any problems. You just need to remember to use #end after you stop modding a site or you get weirdness.

For example, #selectsite 31 modifies the first one of EA Mictlan's startsites and #selectsite 4 modifies The Swamps of Pythia.

If you make new sites, that may be different when you assign them to a new nation.
Reply With Quote
  #5  
Old May 16th, 2008, 04:58 AM

Disenchanter Disenchanter is offline
Private
 
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Disenchanter is on a distinguished road
Default Re: Bad armor for monster - help please

#startsite is the line that gave me trouble, when used with new(created by the mod) sites.
Reply With Quote
  #6  
Old May 16th, 2008, 06:42 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Bad armor for monster - help please

Hmm... Did you create the sites after you had assigned them to the nation? If so, move the #newsite command before #startsite in the text file.
Reply With Quote
  #7  
Old May 16th, 2008, 11:16 AM

Disenchanter Disenchanter is offline
Private
 
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Disenchanter is on a distinguished road
Default Re: Bad armor for monster - help please

No, I created the sites before creating the nation. The mod ran when I replaced the numbers with names. I suspect that if I had mixed up which to create first, it would have crashed no matter how I entered the sites.

By the way, is there some limit on what items a recruitable unit can have? Or a way to copy the stats of existing items? I tried to give a commander Jade Armor, but when I ran the game, he had nothing on. When I tried giving him other magic items(Rime Hauberk, Rainbow Armor, Sword of Sharpness, Frost Brand are the ones I tried) he had them.
Reply With Quote
  #8  
Old May 16th, 2008, 11:57 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: Bad armor for monster - help please

Some of the items don't actually show up in the game as equipment with the same name. I can't remember examples right now, but it's possible Jade Armor is actually "Jade Hauberk" or something else entirely.
Reply With Quote
  #9  
Old May 16th, 2008, 03:58 PM
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: Bad armor for monster - help please

Check the DB for the item names (BaseI table). You need to use those.
Reply With Quote
  #10  
Old May 17th, 2008, 02:54 AM

Disenchanter Disenchanter is offline
Private
 
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Disenchanter is on a distinguished road
Default Re: Bad armor for monster - help please

The database doesn't list an alternate name for the Jade Armor(or at least I couldn't find it).
I've duplicated the effects by creating a mundane armor with the same statts and giving the unit #onebattlespell, but I'm still curious about the reason behind this. I might experiment on it later on, but I suspect my attention shall be occupied by Age of Conan today.
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 04:33 AM.


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