PDA

View Full Version : somethings wrong


K.Cookie
06-29-2006, 08:02 PM
ok i am making a singleplayer mod and i wanted littlebirds so i took the one from pr and added it to the objects server and client and edited the gameplay file for the map i wanted it on but when i load the map it gets to textures and crashes i checkedand all the textures it has in pr ae in mine any suggestions:confused:

wolfi
06-29-2006, 09:38 PM
Yeah it has to be something with the HUD files.
Search for the following lines in the Vehicles\Air\ahe_mh6\ahe_mh6.tweak:
ObjectTemplate.vehicleHud.typeIcon Ingame\Vehicles\Icons\Hud\MenuIcons\menuIcon_empty .tga
ObjectTemplate.vehicleHud.miniMapIcon Ingame\Vehicles\Icons\hud\Minimap\mini_mh6_Heli.tg a
ObjectTemplate.vehicleHud.vehicleIcon Ingame\Vehicles\Icons\Hud\VehicleIcons\ahe_mh6.tga
And replace them with these lines:
ObjectTemplate.vehicleHud.typeIcon Ingame\Vehicles\Icons\Hud\MenuIcons\menuIcon_chopp er.tga
ObjectTemplate.vehicleHud.miniMapIcon Ingame\Vehicles\Icons\Minimap\mini_attack_Heli.tga
ObjectTemplate.vehicleHud.vehicleIcon Ingame\Vehicles\Icons\Hud\VehicleIcons\she_littleb ird.tga
That should work fine ;)

K.Cookie
06-29-2006, 11:01 PM
thanks i'll try it ps (its gona be at least karkand and sharqi)

nope it don't work are the line saposed t obe together

wolfi
06-29-2006, 11:30 PM
No the lines are spread all over the tweak file.

K.Cookie
06-29-2006, 11:32 PM
ok then i don't know what i did wrong

i ran the debugger the prob is with the minimap icon

wolfi
06-30-2006, 01:31 AM
The minimap icons I showed you should be there because i replaced the PR stuff with BF2 stuff.. :confused:

K.Cookie
06-30-2006, 02:11 AM
well now its crashing in geometrey

i fixed the minimap thing i think

ok i ran the debugger and it went into the game and when it crashed it said "unhandled exception"

ok i think its fixed it ctd when a tank shoots at me but i was gonna take tanks out any way

wolfi
06-30-2006, 02:58 AM
What does it say in this window? It should say something just right of "Current Confile:".

K.Cookie
06-30-2006, 03:00 AM
it says nothing

wolfi
06-30-2006, 03:12 AM
Maybe its the material?!

Change
ObjectTemplate.mapMaterial 0 light_armored_vehicle 31
ObjectTemplate.mapMaterial 1 Penetrable_Glass_bulletproof 19
ObjectTemplate.mapMaterial 2 helicopter_landing_rail 106
ObjectTemplate.mapMaterial 3 wreck 60

to
ObjectTemplate.mapMaterial 0 light_armored_vehicle 31
ObjectTemplate.mapMaterial 1 Penetrable_Glass_bulletproof 1006
ObjectTemplate.mapMaterial 2 helicopter_landing_rail 106
ObjectTemplate.mapMaterial 3 wreck 60

And see if it works. If that doesnt help I cannot help you :(

K.Cookie
06-30-2006, 03:14 AM
ok i'll try it

ok it crashed loading and wasn't b4

but thats in reg i'll try debugger

ok dosn't crash when shot from front
but still crashes
im gonna do some more tweaking in the editor
i'll keep you informed

why when it crashes it says the program has generated an execption

wolfi
06-30-2006, 05:29 AM
Hmm wierd