Re: [HELP] Changing impact effect of a weapon
Posted: 2010-09-20 17:34
I think you should be looking in the explosions/impacts effects?
[quote="SirCommandant""]Yes I know.[R-DEV]Rhino wrote:effects are triggered by two materials coming into contact with each other. ie, the material of the projectile coming into contact with the terrain material or w/e.
Well "Yes I know" isn't really the response when you dont knowSirCommandant wrote:OK,
I thoght the effcttriggering is handled like it is at the vehicles, where you can clearly say wich effect is going to be played when the projectile of the vehicle weapon is hitiing the ground (or something else)

This is because the projectiles are stored in a seperate files which are not listed in the HAT tweaks.I already opened the HAT in the editor and found the value for the impact effect, but I couldn't change it.
Code: Select all
objects/kits_server.zip\<faction_name>\<faction_name>_at.conCode: Select all
rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate klappspaten
ObjectTemplate.addTemplate usrif_m4iron_6
[u][b]ObjectTemplate.addTemplate usatp_predator[/b][/u]
ObjectTemplate.addTemplate hgr_smoke
ObjectTemplate.addTemplate binocular
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate hgr_incendiary
rem -------------------------------------Code: Select all
objects\weapons_server.zip/Handheld/<weapon_name>/<weapon_name>.tweakCode: Select all
ObjectTemplate.projectileTemplate [u][b]at_predator[/b][/u]Code: Select all
C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\pr_repo\objects\weapons_server.zip/Armament/missiles/<projectile_name>/<projectile_name>.tweakCode: Select all
ObjectTemplate.detonation.endEffectTemplate [u][b]e_exp_medium[/b][/u]Code: Select all
objects\effects_server.zip/impacts/explosions