(Solved)Trying to port items and textures from 1 mod to another.

Users who are viewing this thread

reaver456

Veteran
Ive been trying to port Highlander items from the "Wedding Dance" mod to "Prophecy of Pendor" (This is just for my personal use)

After porting the item's meshes and textures I found that my game would crash every time I enter a battle with the new units I created.

After many hours of messing with this I figured out something. In the item_kinds file If I removed the reference to the items holster or quiver I could have a crash free game. Here the item kind text code for the two weapons that were causing the crash

itm_pl_571 Scottish_Claymore Scottish_Claymore 2  scottish_claymore 0  scab_claymore 3458764513820540928  274792451 9223635958660858098 1410 156692 4.000000 100 0 0 0 15 54272 80 0 158 0 287 53
0
0


itm_pl_573 Chucking_Axe Chucking_Axe 2  chucking_axe 0  axe_quiver 541130762 196608 624 4398046519304 5.000000 100 0 0 0 4 0 97 18 53 4 44 0
0
0

When I removed the part of the code highlighted in red that makes reference to the weapons holster graphic my game went crash free but now I have this problem. Weapons are now appearing invisible like this

I have item equipped but its invisible in my hands but you can see it on my back
mb5.jpg

By reaver456 at 2011-03-25

Here are the troops im trying to port they appear to be holding the claymore but its invisible
mb8qo.jpg

By reaver456 at 2011-03-25

Seems that adding the reference to the weapons holster in the item_kinds file cause my game to crash on battle start. But If I remove it I can start battles but the weapons apprear invisible. Seems weapons holster graphics might be causing the problem. THe quiver and holster mesh have mutliple frames on them I noticed that. Is there something special I haft to do when adding the meshes of weapon holsters and quivers to the game? 

Below are some pics of the weapons holster and quiver im trying to add to the game
1st frame of claymore holster
claymorel.jpg

By reaver456 at 2011-03-25
2nd frame
scabbard.jpg

By reaver456 at 2011-03-25
Chucking Axe Quiver 1st frame
axe2z.jpg

By reaver456 at 2011-03-25
2nd frame
axes4.jpg

By reaver456 at 2011-03-25
3rd frame
axes5.jpg

By reaver456 at 2011-03-25
4th frame
axe6e.jpg

By reaver456 at 2011-03-25
and that one goes on but you get the idea

Any idea why holster graphics would cause the game to crash on battle start and how I can include it with out making the game crash?

I'm new and inexperienced in modding and this is one of my first attempts. Also the "Highlander" unit from the "Wedding Dance" was one of the most memorable units ive played with and would love to port it in the mod im currently playing.
 
Each alternate mesh has a set of flags which dictate when the game will use them. You've removed the mesh reference, but not the number (2) which tells the game engine how many mesh entries to expect and its flag.
 
Which numbers are you refering too? The ones in the item kind text? If the (2) you refer to what I highlighted in blue? Do I need to change that number depending on how many frames the mesh has?


itm_pl_571 Scottish_Claymore Scottish_Claymore 2  scottish_claymore 0  scab_claymore 3458764513820540928  274792451 9223635958660858098 1410 156692 4.000000 100 0 0 0 15 54272 80 0 158 0 287 53
0
0



Just dropped porting the weapons
 
Back
Top Bottom