![]() |
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. |
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.
|
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). |
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. |
Re: Bad armor for monster - help please
#startsite is the line that gave me trouble, when used with new(created by the mod) sites.
|
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.
|
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. |
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.
|
Re: Bad armor for monster - help please
Check the DB for the item names (BaseI table). You need to use those.
|
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. |
Re: Bad armor for monster - help please
#additem "Jade Armor" works perfectly in map files. That name is what you use when you mod the item. The DB also lists what armor it gives, which references an entry in the armor table, which happens to be armor #107, Jade Scale Armor.
So #armor "Jade Scale Armor" is the one you are looking for. Attention to detail is required when modding, specifically what name weapons and armor you get from items if you want to assign said things natively to units via mod. |
Re: Bad armor for monster - help please
#armor "Jade Scale Armor" gives the unit a Jade Scale Amor, id 107, not Jade Armor, id 176. Their base stats are identical, but Jade Armor is magical, providing quickness.
#armor "Jade Armor" is the line that did not work for me. The DB lists them as corresponding but, at least in my game, the Jade Scale does not provide quickness. Because on a second read it looks very confusing - when in my previous post I mention creating mundane armor with the same statts I meant that I create the unit with an identical mundane armor(the very same Jade Scale Armor), and duplicate the quickness effect through #onebattlespell. I apologise if I'm beeing to dense or too much trouble. |
Re: Bad armor for monster - help please
There is NO armor #176. Jade Armor is ITEM #176, while Jade Scale Armor is ARMOR #107. This is an important distinction. Assigning an armor or weapon to a unit does NOT give that unit the abilities gained from equipping an item that gives that same armor or weapon. I.e. no fire immunity from intrinsic Fire Plate, no shock immunity from intrinsic Copper Plate, no cold resistance from intrinsic Frost Brand etc etc. You need to mod those abilities to the unit separately. Intrinsic quickness cannot be modded.
|
All times are GMT -4. The time now is 02:37 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.