BFHModsBFHeroes 42
RSS
 

Get Adobe Flash player



 





Page 1 of 11
Forum moderator: Chubby 
Forum » Battlefield heroes » Battlefield Heroes moding » how to change the projectile? (question)
how to change the projectile?
PhillyDate: Sunday, 2010-06-27, 3:18 AM | Message # 1
Lieutenant
Group: News Editor
Messages: 60
Awards: 0
Reputation: 0
Status: Offline
Hello (again)
i would like to know, where i can find the projectiles, for vehicles? i'm working on making a plane from BF2, i modded into BFH, able to shoot like a real plane, or even footballs? biggrin
so, in the .tweak files, should i just change the "ObjectTemplate.projectileTemplate kh29_kedge" to "ObjectTemplate.projectileTemplate bri_ball"?
 
Helicopter_AmbulanceDate: Sunday, 2010-06-27, 6:25 AM | Message # 2
Sergeant
Group: Users
Messages: 24
Awards: 0
Reputation: 0
Status: Offline
just change it and see what happens? :P
 
PhillyDate: Sunday, 2010-06-27, 1:05 PM | Message # 3
Lieutenant
Group: News Editor
Messages: 60
Awards: 0
Reputation: 0
Status: Offline
i did, and my tank shot "nothing"? :P
 
Apache_ThunderDate: Monday, 2010-06-28, 6:28 AM | Message # 4
Lieutenant colonel
Group: Administrators
Messages: 132
Awards: 0
Reputation: 4
Status: Offline
For bfheroes the projectiles are usually defined in their respective host vehiles tweak file. wink I did modd the tank buster to shoot soccer balls so I should know a bit about this. wink

For example the projectile for the Sherman tank should be found in the tweak file for that tank. (its called "BRI_Tank_Sherman_Barrel_Projectile")

The projectile template name is "GenericProjectile" so just use that when searching with Notepad to find the projectile template for each respective vehicle.

If you get the projectile name wrong when changing the projectile the vehicle/handweapon firearm will fire then you'll get the issue of it not firing anything. :P

 
SwiftGreenDate: Monday, 2010-06-28, 8:51 AM | Message # 5
Sergeant
Group: Users
Messages: 29
Awards: 0
Reputation: 0
Status: Offline
Hehe u should upload the RPG that fires soccer balls smile and make a pooping sound when u fire...
 
ConormanDate: Monday, 2010-06-28, 9:05 AM | Message # 6
Sergeant
Group: Users
Messages: 35
Awards: 0
Reputation: 0
Status: Offline
Quote (Apache_Thunder)
For bfheroes the projectiles are usually defined in their respective host vehiles tweak file. I did modd the tank buster to shoot soccer balls so I should know a bit about this.
For example the projectile for the Sherman tank should be found in the tweak file for that tank. (its called "BRI_Tank_Sherman_Barrel_Projectile")
The projectile template name is "GenericProjectile" so just use that when searching with Notepad to find the projectile template for each respective vehicle.
If you get the projectile name wrong when changing the projectile the vehicle/handweapon firearm will fire then you'll get the issue of it not firing anything. :P

Thats what I did before you said but it still fires the same, and it still blows up. (Not the tank, i mean the shell blows up still)

This is what I had:

ObjectTemplate.projectileTemplate bri_ball
ObjectTemplate.keepProjectiles 1
ObjectTemplate.velocity 100
ObjectTemplate.itemIndex 1
ObjectTemplate.allowEmoteAnimation 1
ObjectTemplate.inheritParentSpeedSoldier 0
ObjectTemplate.inheritParentSpeedVehicle 0

ObjectTemplate.create GenericProjectile bri_ball
ObjectTemplate.createNotInGrid 1
ObjectTemplate.createdInEditor 1

Message edited by Conorman - Monday, 2010-06-28, 9:06 AM
 
Apache_ThunderDate: Tuesday, 2010-06-29, 8:47 AM | Message # 7
Lieutenant colonel
Group: Administrators
Messages: 132
Awards: 0
Reputation: 4
Status: Offline
No no no no. Do not add the "objectTemplate.create GenericProjectile bri_ball" part! (and subsequent coding below it) What your doing is creating a duplicate projectile that is essentially blank and overwrites the old template. you don't need to recreate the existing templates. Multiple vehicles can share the same projectile template you know. wink
 
Forum » Battlefield heroes » Battlefield Heroes moding » how to change the projectile? (question)
Page 1 of 11
Search:








 
Statistics Forum
Recent Posts Readable topic Top Users New User
  • [mod] Dedicated Servers
  • [community] make me a mod
  • Battlefield Heroes'42
  • so close on getting a chopper ...
  • [TUTORIAL] How to start moddin...
  • Mods, Caught on Tape/Screensho...
  • [TUTORIAL] How to make custom ...
  • Battlefield Heroes'42
  • My mods
  • how to add new buildings?
  • Apache_Thunder
  • McFluff
  • SgtColbert
  • Philly
  • Conorman
  • Dutchassasin
  • Mrtn
  • Solidsnail
  • wakamonkey
  • SwiftGreen
  • gamervajiko
  • GANS1917
  • traimientayts
  • gergoforma1
  • mvja12013
  • taylormmocollege
  • Prevé
  • ansh12kumar
  • dasarandasaran11
  • salajad1n1987
  • Based on the game Battlefield Heroes By Electronic Arts™ and DICE™ | By using this website you agree to our Tearms Of Use
    Some images are taken from JW Renders, check it outs it has some cool stuff. Some translations provided by uCause.esigned by CENTROARTS