Page 1 of 1

[Help] Trying to clone/copy a vehicle but when loading PR crashes

Posted: 2012-04-17 17:34
by dkleader
Hey!

I'm trying to clone/copy the us_apc_aavp7a1, to remove the Mk 19, and do some other fixes.
I haven't got that much experience with the .con and the .tweak files yet so i tried following this path Battlefield SinglePlayer Forum > cloning vehicles.
But when trying to load a map with the new vehicle added, the game crashes at 73%, when trying to load the textures.
Any one got a clue, what could cause the game to crash?
I tried removing it again and then it works fine...
?

Thanks in advance

Re: [help] Trying to clone/copy a vehicle but when loading PR crashes

Posted: 2012-04-17 17:51
by Rhino
dose the object work in the editor without any errors? (errors will be in the bottom in red)

Also try running PR in windowed mode and see if you get an error.

Re: [help] Trying to clone/copy a vehicle but when loading PR crashes

Posted: 2012-04-17 18:14
by dkleader
I get this error
"Texture not found: menu/hud/texture/ingame/vehicles/icons/hud/menuicons/menuicon_apc2"
Which is strange because with the normal AAV it works without any errors... But when i look in the folder isn't there an image so it's ok, but it's just weird that the normal AAV doesn't get that error... Any clues why?

Re: [help] Trying to clone/copy a vehicle but when loading PR crashes

Posted: 2012-04-17 18:20
by Rhino
compare your "---BeginComp:VehicleHud ---" (default lines 53 to 65) with the old version, you might have changed something in there with your find and replacing and that bit should be the same as before.

EDIT: also there are a few "VehicleHud" bits you need to check, one for each player position

Re: [help] Trying to clone/copy a vehicle but when loading PR crashes

Posted: 2012-04-17 18:51
by dkleader
I've checked the placed the file name occur and it looks like it's the same.... But should this new "clone" have it's own Geometry or should it use the old, like in the "tutorial"?

Re: [help] Trying to clone/copy a vehicle but when loading PR crashes

Posted: 2012-04-17 19:20
by Rhino
For now, use the old one.

Re: [help] Trying to clone/copy a vehicle but when loading PR crashes

Posted: 2012-04-17 19:34
by dkleader
Ok i'l try that, and then i give it some more shots tomorrow. But haven't find the right solution for the crashes yet...