Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Discussion » General Mod Discussion » CTextureReplacementDef Help.
CTextureReplacementDef Help. [message #67734] Sat, 29 December 2012 00:45 Go to previous message
Katos is currently offline  Katos
Messages: 10
Registered: December 2012
Location: Greece

I'm making a new armor set for my character and I've managed to create all of the pieces of it successfully, when I've reached into the sword I did create everything but I'm stuck at CTextureReplacementDef, for some reason it wont replace the stock texture with my custom one.

So, here's what I did:
1) I've created a new CTextureReplacementDef to replace the texture of OBJECT_CRYSTAL_CUTLASS whith my OBJECT_CUSTOM_SWORD.
2) I've added that def onto the Cdef section of my sword and gave it the id 2210195725 (CTextureReplacementDef). Underneath it where it says CDefDataEntry I've inserted the custom TextureReplacementDef that I've created for my sword and at InheritedEntryID I've inserted the ObjectId of my sword.
3) Inside the CTextureReplacementDef, at "Texture to Replace" I've used the stock texture of OBJECT_CRYSTAL_CUTLASS (4008) and underneath it "Replacement Texture" I've used my custom texture id.

Everything I did is perfect, but every time I log into the game and spawn my sword it comes up with it's stock texture. I'm gonna search more thoroughly for it and see what might causes this, till then though any help would be much appreciated.

Oh I've included some screenshots to help you better:


http://i1192.photobucket.com/albums/aa336/alikianos94/j17l7q-1.png
REVENGE
SOLVES
EVERYTHING
 
Read Message
Read Message
Read Message
Previous Topic: Fable Title
Next Topic: A few simple questions
Goto Forum:
  


Current Time: Sat May 18 06:50:17 PDT 2024

Total time taken to generate the page: 0.01280 seconds