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

Making or wanting help making your own asset? Check in here
Post Reply
dkleader
Posts: 35
Joined: 2009-07-31 10:55

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

Post 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

Image
Im Working For Illution
Illution.dk
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

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

Post 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.
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

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

Post 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?

Image
Im Working For Illution
Illution.dk
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

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

Post 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
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

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

Post 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"?

Image
Im Working For Illution
Illution.dk
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

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

Post by Rhino »

For now, use the old one.
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

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

Post 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...

Image
Im Working For Illution
Illution.dk
Post Reply

Return to “PR:BF2 Community Modding”