.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, 117 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
Reply

Bookmarks

Thread Tools
Display Modes

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 06:22 AM.


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