p47d bomb -1 reply

Please wait...

otolikos

The forums staffers think I'm Cool

50 XP

9th October 2003

0 Uploads

152 Posts

0 Threads

#1 13 years ago

Hi,

I'm making a map in the bocage environnement (in the hell of bocage) and i use p47d planes.

I just would to know how to modify the projectile to replace the 500 kg bomb ( too powerful) by a 250 kg bomb (like mustang bombs).

thx

Otolikos




emonkies

I'm too cool to Post

50 XP

17th July 2003

0 Uploads

15,096 Posts

0 Threads

#2 13 years ago

otolikosHi,

I'm making a map in the bocage environnement (in the hell of bocage) and i use p47d planes.

I just would to know how to modify the projectile to replace the 500 kg bomb ( too powerful) by a 250 kg bomb (like mustang bombs).

thx

Otolikos

Im not the expert but here goes.

You have to go to Mods/FH/Archives/objects.con/vehicles/air/p47D and open the P47D folder.

There should be 2 folders and 5 files. Open the weapons.con file using notepad (BE SURE TO UNCHECK THE FILE ASSOCIATION BOX), and scroll down to the second part.

The problem is this will modify the weapons.con for all P47D's in the mod so you will need to add your modified P47 to the map as a custom vehicle.

rem *** p47BombDummy *** ObjectTemplate.create FireArms p47BombRack ObjectTemplate.setNetworkableInfo PlaneFireArmInfo ObjectTemplate.aiTemplate p47Bombs [COLOR=Indigo]ObjectTemplate.projectileTemplate 500kgBomb[/COLOR] ObjectTemplate.projectilePosition 0/-0.4/-0.2 ObjectTemplate.setAsynchronyFire 1 ObjectTemplate.visibleDummyProjectileTemplate p47bombDummy ObjectTemplate.magSize 2 ObjectTemplate.numOfMag 1 ObjectTemplate.velocity 0 ObjectTemplate.autoReload 1 ObjectTemplate.reloadtime 0.01 ObjectTemplate.roundOfFire 4 ObjectTemplate.setInputFire c_PIAltFire ObjectTemplate.setFireCameraShakeAnimationState FirePlaneGunsLightShake ObjectTemplate.addFireArmsPosition 3.271/-0.3/0.12 0/0/0 ObjectTemplate.addFireArmsPosition -3.271/-0.3/0.12 0/0/0 ObjectTemplate.AmmoType 7

ObjectTemplate.create SimpleObject p47bombDummy ObjectTemplate.geometry Big_Bomb_M1

Change the colored line to this:

ObjectTemplate.projectileTemplate 250kgBomb

To the best of my knowledge that is correct. If not then Im sure it will get the ball rolling for someone to correct me :D




axkgkadragon

GF is my bext friend *hugs GF*

50 XP

16th November 2003

0 Uploads

798 Posts

0 Threads

#3 13 years ago

ah coding.....what fun....

dont forget.....in the objects.con file

under:

ObjectTemplate.setSoldierExitLocation -2/0/-2 0/0/0 ObjectTemplate.GUIIndex 32 ObjectTemplate.setVehicleIcon "Vehicle/icon_P47.tga" ObjectTemplate.setVehicleIconPos 62/93 ObjectTemplate.setNumberOfWeaponIcons 2 ObjectTemplate.setPrimaryAmmoIcon "Ammo/icon_bullet127.tga" ObjectTemplate.setPrimaryAmmoBar ABAmmoBarOnly ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_bomb500.tga" ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar ObjectTemplate.setCrossHairType CHTIcon ObjectTemplate.setVehicleCategory VCAir ObjectTemplate.setVehicleType VTDiveBomber ObjectTemplate.setToolTipType TTDiveBomber ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_plane_16x16.tga"

change: "Ammo/Icon_bomb500.tga" to

"Ammo/Icon_bomb250.tga"

other wise your pilots will fly aroudn thinking they are dropping 500kg'ers

anlu, the file you are refering to is the weapons.con file in the p47 file




emonkies

I'm too cool to Post

50 XP

17th July 2003

0 Uploads

15,096 Posts

0 Threads

#4 13 years ago

axkgkadragon

anlu, the file you are refering to is the weapons.con file in the p47 file

I think I corrected what you were referring to.




otolikos

The forums staffers think I'm Cool

50 XP

9th October 2003

0 Uploads

152 Posts

0 Threads

#5 13 years ago

thx guys!

I do what anlu said but i still have 500 kg bomb icon. Thx to you axk!

Thx to all

I love you all:)