[HELP] Random Damage in Vehicles

Making or wanting help making your own asset? Check in here
Post Reply
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

[HELP] Random Damage in Vehicles

Post by xxcarpathia »

Here we go again ><

I noticed something today while testing
Anytime i get into a vehicle and start driving, i automatically start receiving damage.
I cant figure out what could be causing this. Anyone have any ideas?

Its happens in all vehicles besides aircraft. ;-)
D|ehard
Posts: 107
Joined: 2008-11-17 02:56

Re: Random Damage in Vehicles

Post by D|ehard »

Texture problem... Never had that b4... :confused:
PRC_Heavy_Z
Retired PR Developer
Posts: 1088
Joined: 2007-02-25 22:56

Re: Random Damage in Vehicles

Post by PRC_Heavy_Z »

Please explain in better detail, is this your own mod you are working on? you sure it's not due to kit limitation?

Though it sounds like you've got a buggy collision mesh or bad export. (nothing to do with texture)
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Random Damage in Vehicles

Post by Rhino »

add a material onto your textures then re-save your complied terrain and your ground properties.

if you dont set your ground with any materials then vehicles will take damage when they are in contact with the default mat.
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

Re: Random Damage in Vehicles

Post by xxcarpathia »

ok so i need to add a material to the ground.

also when i moved the map from the pr_edit mod to the real pr mod
it ctd at texture loading?

what causes this?
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Random Damage in Vehicles

Post by Rhino »

run the map in windowed mode and you will find out what texture is missing... its probably something like you putting a object in that is not meant to be used, the editor can handle a object with no texture but the game can not.
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

Re: Random Damage in Vehicles

Post by xxcarpathia »

ok but for the materials problem, i don't see whats wrong since im auditing a map.
Shouldn't the materials already be assigned?

can u help me fix this?
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

Re: Random Damage in Vehicles

Post by xxcarpathia »

ok so i ran the debug and it came up with

Active geom template: antenna_destroyable
Text: Object antenna_destroyable has texture coordinates outside specific range [16,16]. Largest coors was 257.102/164.019

so it looks like this object is in the list of Not working properly....
lets see what it does when i remove it ^^
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Random Damage in Vehicles

Post by Rhino »

xxcarpathia wrote:ok but for the materials problem, i don't see whats wrong since im auditing a map.
Shouldn't the materials already be assigned?

can u help me fix this?
that depends if you touched the terrain at all, if you did and you saved the changes, then you have probaly messed up a load of stuff including the map's terrain materials.

and that's not the problem, are you running the debugger or just normal in window mode since you should only see that error in the debugger but it means nothing.
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

Re: Random Damage in Vehicles

Post by xxcarpathia »

well i dont think i did.
what would i have to replace and re-compile ? just the terraindata and con files?
D|ehard
Posts: 107
Joined: 2008-11-17 02:56

Re: Random Damage in Vehicles

Post by D|ehard »

xxcarpathia wrote:ok so i ran the debug and it came up with

Active geom template: antenna_destroyable
Text: Object antenna_destroyable has texture coordinates outside specific range [16,16]. Largest coors was 257.102/164.019

so it looks like this object is in the list of Not working properly....
lets see what it does when i remove it ^^
Take out that object and try.
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

Re: Random Damage in Vehicles

Post by xxcarpathia »

Ok so the materials problem is fixed. No more damage.

But another problem still persists.

The map is compiled and packed into zips.

I used the pr_edit copy to work on my map. I can load the map fine with no errors if i run it in the pr_edit folder.

If i move the map over to the original pr folder and try to run it, it starts giving me all these errors. Like Object errors , colormap errors, lightmap errors... i dont understand why it would be doing this if its an exact copy of the original pr mod im running it from.

Any ideas?


Oh one thing, in the pr_edit/levels i have the map unpacked in its folder. would this be why its loading with no problems?
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

Re: Random Damage in Vehicles

Post by xxcarpathia »

reposting as new topic.
sittingduck911
Posts: 71
Joined: 2008-06-11 09:21

Re: Random Damage in Vehicles

Post by sittingduck911 »

i had this issue is was caused by me placeing the spwning object on th ground. as you drove them it would take massive amounts of terrain damage. the way this was fixed is to have the objects just off the ground so when they spwn in they only drop a very short distance to the ground and the issue is fixed.
Post Reply

Return to “PR:BF2 Community Modding”