Jump to content
Official BF Editor Forums

Help With: C4/rocket And Speed Healing,repair,ammo


Recommended Posts

  You mean like this C4 cannon, in this video the c4 cannon demonstration starts at 1:07

Well for that, I simply made a batch of 10 C4 replace the projectile of the USAPT_Predator. As for ammo, check out each weapon in the game in objects_server.zip and add this/replace this. One thing with bf2 is that some weapons do not have lines under the create ammo component (because its default so its not added) this is epecially evident on the usrif_m4. Anyway if you are doing ignore ammo try this

ObjectTemplate.ammo.magSize -1

if that doesn't work try this

ObjectTemplate.ammo.magSize 9999999999

If you want still reloads just unlimited magazines do this

ObjectTemplate.ammo.nrOfMags -1

if that doesn't work try this

ObjectTemplate.ammo.nrOfMags 999999999999999

As for the bridges open them up, for example wooden bridge, in Objects_server.zip\Objects\staticobjects\common\roads\wooden_bridge_segment.

In the .tweak you should see this

rem ---BeginComp:Armor ---
ObjectTemplate.createComponent Armor
ObjectTemplate.armor.maxHitPoints 1000
ObjectTemplate.armor.hitPoints 1000
ObjectTemplate.armor.defaultMaterial 112
ObjectTemplate.armor.waterLevel -0.3
ObjectTemplate.armor.explosionMaterial 98
ObjectTemplate.armor.wreckHitPoints 1000
ObjectTemplate.armor.timeToStayAsWreck -1
ObjectTemplate.armor.timeToStayAfterDestroyed -1
ObjectTemplate.armor.wreckDelay 0.15
ObjectTemplate.armor.canBeRepairedWhenWreck 1
ObjectTemplate.armor.canBeDestroyed 0
ObjectTemplate.armor.showDamageAsDirt 500
ObjectTemplate.armor.addArmorEffect 75 e_dstate_woodbridge_light 0/0/0 0/0/0
ObjectTemplate.armor.addArmorEffect 50 e_dstate_woodbridge_heavy 0/0/0 0/0/0
ObjectTemplate.armor.addArmorEffect 0 e_destruction_woodbridge 0/0/0 0/0/0
rem ---EndComp ---

Just reduce the hitpoints and armour of the bridge.

AND finally health and ammo kits

Ammo has ability strength. Change that to a higher number

rem ---BeginComp:ReplenishingAmmoComp ---
ObjectTemplate.createComponent ReplenishingAmmoComp
ObjectTemplate.ammo.magSize 1
ObjectTemplate.ammo.reloadTime 0.7
ObjectTemplate.ammo.minimumTimeUntilReload 0.6
ObjectTemplate.ammo.autoReload 1
ObjectTemplate.ammo.instantReloadOnEnable 1
ObjectTemplate.ammo.toggleWhenNoAmmo 1
ObjectTemplate.ammo.abilityDrain 0.05
ObjectTemplate.ammo.abilityRadius 4
ObjectTemplate.ammo.abilityStrength 5.3
ObjectTemplate.ammo.abilityCost 0.25
ObjectTemplate.ammo.abilityMaterial 91
ObjectTemplate.ammo.replenishingType RTAmmo
rem ---EndComp ---

Health has this

rem ---BeginComp:ReplenishingAmmoComp ---
ObjectTemplate.createComponent ReplenishingAmmoComp
ObjectTemplate.ammo.magSize 1
ObjectTemplate.ammo.reloadTime 0.7
ObjectTemplate.ammo.minimumTimeUntilReload 0.6
ObjectTemplate.ammo.autoReload 1
ObjectTemplate.ammo.instantReloadOnEnable 1
ObjectTemplate.ammo.toggleWhenNoAmmo 1
ObjectTemplate.ammo.abilityDrain 0.05
ObjectTemplate.ammo.abilityRadius 4
ObjectTemplate.ammo.abilityStrength 5.3
ObjectTemplate.ammo.abilityCost 0.33
ObjectTemplate.ammo.abilityMaterial 73
ObjectTemplate.ammo.replenishingType RTHeal
rem ---EndComp ---

Do the same thing.

Edited by rhysm_08
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...