.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Bad armor for monster - help please (http://forum.shrapnelgames.com/showthread.php?t=38774)

Disenchanter May 15th, 2008 03:40 PM

Bad armor for monster - help please
 
1 Attachment(s)
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.

Endoperez May 15th, 2008 03:56 PM

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.

Disenchanter May 15th, 2008 04:00 PM

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).

Edi May 15th, 2008 05:25 PM

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.

Disenchanter May 16th, 2008 04:58 AM

Re: Bad armor for monster - help please
 
#startsite is the line that gave me trouble, when used with new(created by the mod) sites.

Endoperez May 16th, 2008 06:42 AM

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.

Disenchanter May 16th, 2008 11:16 AM

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.

Sombre May 16th, 2008 11:57 AM

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.

Edi May 16th, 2008 03:58 PM

Re: Bad armor for monster - help please
 
Check the DB for the item names (BaseI table). You need to use those.

Disenchanter May 17th, 2008 02:54 AM

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.


All times are GMT -4. The time now is 09:31 AM.

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