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 Wed Apr 24, 2024 4:16 pm
All times are UTC + 0
Replacing structures
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
valdyr
Civilian


Joined: 15 Oct 2007
Location: Croatia

PostPosted: Fri Feb 13, 2009 9:36 pm    Post subject:  Replacing structures Reply with quote  Mark this post and the followings unread

Basically, I'm trying to use a new model for Nod Hand. There are several files that are included in my mod:
Code:

-Mod.xml
-NODHandOfNOD.xml
-(in ART folder): -NBHand.w3x (mesh),
                  -NBHand.dds (diffuse)
                  -NBHandNRM.dds (normal)
                  -NBHandSPM.dds (specular)
                  -NBHandSCR.dds (nod scroll map);
                  -NBHand.xml
                  -NBHandNRM.xml
                  -NBHandSPM.xml
                  -NBHandSCR.xml
+some other files that are referenced in NODHandOfNOD.xml

The mod compiles fine, and all the (upper) files are in the built mod.
Some art files are missing but (as it says in the manual) this is normal.
I didn't use animations yet, just the static model);
I start my mod trough the CnC3 Control Center, and start new skirmish.
But (as you can guess it Rolling Eyes) the original Hand of Nod is in game instead of new one.

Are there any errors/leaches i did in building the mod that i oversee
(for example like such that orig models in game cannot be replaced by the ones in mod)
The NODHandOffNOD.xml is just a copy of the orig xml that comes with the ModSDK.
This is the includes in NODHandOffNOD:
Code:
   {Includes}
      {Include
         type="all"
         source="ART:NBHand.w3x" /}
      {Include
         type="all"
         source="ART:NBHand_ASN.w3x" /}
      {Include
         type="all"
         source="ART:NBHand_AAN.w3x" /}
      {Include
         type="all"
         source="ART:NBHandD2_SN.w3x" /}
      {Include
         type="all"
         source="ART:NBHandD2_AN.w3x" /}
      {Include
         type="all"
         source="ART:NBHandD3_SN.w3x" /}
      {Include
         type="all"
         source="ART:NBHandD3_AN.w3x" /}
      {!-- Base Object --}
      {Include
         type="instance"
         source="DATA:BaseObjects/BaseStructure.xml" /}
   {/Includes}
//The "<" and ">" are replaced with "{" and "}" in this message

Oh, and my Art files are in the ModSDK\Art folder.

Back to top
View user's profile Send private message
Da Real Elmo
Guest




PostPosted: Sun Feb 15, 2009 9:24 am    Post subject: Reply with quote  Mark this post and the followings unread

You cannot overwrite Art files. Give your new files a new (unique) name and change the code to use the new models/textures.

Back to top
valdyr
Civilian


Joined: 15 Oct 2007
Location: Croatia

PostPosted: Fri Feb 20, 2009 10:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, I did that now. It seems it has worked, but the model is invisible in game?
In W3XViewer the model and textures are visible, but when i build the mod, and start the game with it, it is invisible and can't be selected.
If anyone needs the xml files i'll post them

Back to top
View user's profile Send private message
valdyr
Civilian


Joined: 15 Oct 2007
Location: Croatia

PostPosted: Sun Feb 22, 2009 11:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here is the xml file,
The only thing I did in this file is that I replaced model paths. My new model's name is NodHandRE.w3x
If someone can see if there is missing something and tell me what to do...



NODHandOfNOD.txt
 Description:
This is xml file, but I had to rename it in txt file to upload it.

Download
 Filename:  NODHandOfNOD.txt
 Filesize:  8.97 KB
 Downloaded:  168 Time(s)


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 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.1777s ][ Queries: 13 (0.0096s) ][ Debug on ]