Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 5:32 am
All times are UTC + 0
A simple question about armor templates
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Tetra Xiphos
Soldier


Joined: 05 Mar 2008

PostPosted: Sat Oct 31, 2009 2:31 pm    Post subject:  A simple question about armor templates Reply with quote  Mark this post and the followings unread

After checking and rechecking for simple spell errors, I am having issues with an armor template I'm wanting to use for a new unit. I have included an entry into Mod.xml referencing the armor.xml which has the updated armor template in it.

I would've thought updatiing the armor for a unit was a simple matter of referencing the armor template entry from the armor.xml file in the unit's xml. This is apparently not the case.
Is the unit's xml file the only place one must reference and include data concerning armor besides the unit's armor entry in 'armor.xml' or should I be looking in another place? Armorset refers to the <ArmorTemplate> entry in armor.xml, correct?

The specific error when compiling is an 'unknown asset' deal...

Back to top
View user's profile Send private message
Stygs
Cyborg Cannon


Joined: 27 Nov 2005
Location: Germany

PostPosted: Sat Oct 31, 2009 3:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

yes, adding the armor to the Armor.xml should be enough. You could even add the armor into the same file as the unit itself and it sould be working. Wink

However, "'unknown asset" implies that the compiler cant find the armor.xml and hence cant find you new armor. Make sure you have added the armor.xml to the mod.xml and the path is correct. Smile

_________________

Back to top
View user's profile Send private message Skype Account
Tetra Xiphos
Soldier


Joined: 05 Mar 2008

PostPosted: Sat Oct 31, 2009 4:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

You're not going to believe this, sir.....

I had it commented out for a debug I was doing (process of elimination). I am such a tard....



Thanks for your response...

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1492s ][ Queries: 11 (0.0080s) ][ Debug on ]