Superior Mind
(not macbeth)
+1,755|6897
It is the teargas launcher, except it launches a timed 40mm grenade. Here is the tweak file.

rem *** Generated with Bf2Editor.exe [created: 2005/9/9 0:21]
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.activeSafe GenericFireArm sasrif_teargas
ObjectTemplate.creator OCA-1:oca
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.saveInSeparateFile 1
rem ---BeginComp:WeaponHud ---
ObjectTemplate.createComponent WeaponHud
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\sasrif_teargas.tga
ObjectTemplate.weaponHud.altWeaponIcon Ingame\Weapons\Icons\Hud\sasrif_teargas_mini.tga
ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\Selection\sasrif_teargas.tga
ObjectTemplate.weaponHud.specialAbilityIcon Ingame\Weapons\Icons\Hud\SpecialKitIcons\teargas.tga
ObjectTemplate.weaponHud.hudName "40mm Grenade"
ObjectTemplate.weaponHud.guiIndex 6
ObjectTemplate.weaponHud.altGuiIndex 6
ObjectTemplate.weaponHud.deviationFactor 1
ObjectTemplate.weaponHud.maxVisualDeviation 5
ObjectTemplate.weaponHud.minVisualDeviation 5
ObjectTemplate.weaponHud.disableOnSprint 1
rem ---EndComp ---
rem ---BeginComp:SingleFireComp ---
ObjectTemplate.createComponent SingleFireComp
ObjectTemplate.fire.addFireRate 0
rem ---EndComp ---
rem ---BeginComp:DefaultAmmoComp ---
ObjectTemplate.createComponent DefaultAmmoComp
ObjectTemplate.ammo.ammoType 1
ObjectTemplate.ammo.nrOfMags 3
ObjectTemplate.ammo.magSize 1
ObjectTemplate.ammo.reloadTime 4.4
ObjectTemplate.ammo.reloadWithoutPlayer 1
rem ---EndComp ---
rem ---BeginComp:SoldierBasedRecoilComp ---
ObjectTemplate.createComponent SoldierBasedRecoilComp
ObjectTemplate.recoil.hasRecoilForce 1
ObjectTemplate.recoil.goBackOnRecoil 0
ObjectTemplate.recoil.recoilForceUp CRD_UNIFORM/3.5/2.5/0
ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/0/0/0
ObjectTemplate.recoil.zoomModifier 0.25
ObjectTemplate.recoil.recoilGraphExponent 5
rem ---EndComp ---
rem ---BeginComp:HelpHud ---
ObjectTemplate.createComponent HelpHud
ObjectTemplate.HelpHud.helpStringKey "HUD_HELP_WEAPON_HANDHELD_ASSAULTRIFLE_CONTROLS_switchToRifle"
rem ---EndComp ---
rem ---BeginComp:SoldierDeviationComp ---
ObjectTemplate.createComponent SoldierDeviationComp
ObjectTemplate.deviation.minDev 4
ObjectTemplate.deviation.setTurnDev 1 0.25 0.25 0.1
ObjectTemplate.deviation.setSpeedDev 2 0.5 0.5 0.1
ObjectTemplate.deviation.setMiscDev 3 1 0.1
rem ---EndComp ---
rem ---BeginComp:DefaultSoundComp ---
ObjectTemplate.createComponent DefaultSoundComp
rem ---EndComp ---
rem ---BeginComp:DefaultAnimationComp ---
ObjectTemplate.createComponent DefaultAnimationComp
rem ---EndComp ---
rem ---BeginComp:DefaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0.1
ObjectTemplate.zoom.addZoomFactor 0
ObjectTemplate.zoom.addZoomFactor 0.7
rem ---EndComp ---
rem ---BeginComp:DefaultPenetrateComp ---
ObjectTemplate.createComponent DefaultPenetrateComp
ObjectTemplate.penetrate.allowSolidPenetration 0
ObjectTemplate.penetrate.allowLiquidPenetration 0
rem ---EndComp ---
ObjectTemplate.geometry sasrif_teargas
ObjectTemplate.setCollisionMesh sasrif_teargas
ObjectTemplate.mapMaterial 0 Collision_Material 46
ObjectTemplate.mapMaterial 1 Metal 68
ObjectTemplate.aiTemplate sasrif_teargas_AI
rem -------------------------------------
ObjectTemplate.addTemplate S_sasrif_teargas_Fire1P
ObjectTemplate.setPosition -0.00180435/-0.0146064/0.450602
ObjectTemplate.addTemplate S_sasrif_teargas_Fire1P_Outdoor
ObjectTemplate.setPosition -0.0018177/-0.0141114/0.451891
ObjectTemplate.addTemplate S_sasrif_teargas_Fire3P
ObjectTemplate.setPosition -0.00369644/-0.0156767/0.449558
ObjectTemplate.addTemplate S_sasrif_teargas_BoltClick
ObjectTemplate.setPosition 0/0.0372831/0.236276
ObjectTemplate.addTemplate S_sasrif_teargas_TriggerClick
ObjectTemplate.setPosition 0/-0.0368233/0.0766793
ObjectTemplate.addTemplate S_sasrif_teargas_SwitchFireRate
ObjectTemplate.setPosition 0/0.0248172/0.201214
ObjectTemplate.addTemplate S_sasrif_teargas_Reload1P
ObjectTemplate.setPosition 0/-0.00698292/0.19959
ObjectTemplate.addTemplate S_sasrif_teargas_Reload3P
ObjectTemplate.setPosition 0/-0.0122491/0.196256
ObjectTemplate.addTemplate S_sasrif_teargas_Deploy1P
ObjectTemplate.setPosition 0/0.0225638/0.197657
ObjectTemplate.addTemplate S_sasrif_teargas_Deploy3P
ObjectTemplate.setPosition 0/-0.00380099/0.235601
ObjectTemplate.addTemplate S_sasrif_teargas_Zoom
ObjectTemplate.setPosition 0/0.00536695/0.152497
ObjectTemplate.addTemplate e_muzz_m203
ObjectTemplate.setPosition 0.000617868/0.051635/0.379878
ObjectTemplate.addTemplate e_shellejection_m203
ObjectTemplate.setPosition -0.003/0.0494832/0.034304
rem -------------------------------------
ObjectTemplate.animationSystem1P Objects/Weapons/Handheld/sasrif_teargas/AnimationSystem1p.inc
ObjectTemplate.animationSystem3P Objects/Weapons/Handheld/sasrif_teargas/AnimationSystem3p.inc
ObjectTemplate.projectileTemplate hgr_teargas_Projectile
ObjectTemplate.keepProjectiles 5
ObjectTemplate.velocity 35
ObjectTemplate.itemIndex 6
ObjectTemplate.delayToUse 1.1

GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.create GenericProjectile hgr_teargas_Projectile
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.setNetworkableInfo BasicInfo
ObjectTemplate.createNotInGrid 1
ObjectTemplate.createdInEditor 1
rem ---BeginComp:DefaultCollisionComp ---
ObjectTemplate.createComponent DefaultCollisionComp
ObjectTemplate.collision.bouncing 1
rem ---EndComp ---
rem ---BeginComp:DefaultDetonationComp ---
ObjectTemplate.createComponent DefaultDetonationComp
ObjectTemplate.detonation.explosionMaterial 69
ObjectTemplate.detonation.explosionRadius 8
ObjectTemplate.detonation.explosionForce 7
ObjectTemplate.detonation.explosionDamage 150
ObjectTemplate.detonation.endEffectTemplate e_exp_grenade
ObjectTemplate.detonation.timeUntilCanDetonate 0.3
rem ---EndComp ---
rem ---BeginComp:DefaultProjSoundComp ---
ObjectTemplate.createComponent DefaultProjSoundComp
rem ---EndComp ---
ObjectTemplate.geometry teargas_bullet
ObjectTemplate.setCollisionMesh teargas_bullet
ObjectTemplate.mapMaterial 0 Collision_Material 46
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType RotationalPoint
ObjectTemplate.collisionGroups 8
ObjectTemplate.material 46
rem -------------------------------------
ObjectTemplate.addTemplate S_hgr_TearGas_Projectile_Looping
ObjectTemplate.addTemplate e_rifgrenade_trail
ObjectTemplate.addTemplate e_rifgrenade_trail
ObjectTemplate.addTemplate e_rifgrenade_trail
rem -------------------------------------
ObjectTemplate.timeToLive CRD_NONE/2.2/0/0
ObjectTemplate.material 46
ObjectTemplate.hasOnTimeEffect 1
ObjectTemplate.localPredictOnClient 1
ObjectTemplate.minDamage 0
ObjectTemplate.damage 0
ObjectTemplate.damageOwner 1

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Fire1P
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/usrgl_m203/sounds/m203_fire_1p.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.8
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.97/1.03/
ObjectTemplate.volumeEnvelope 0/1/0/1/1/1/0/0.9/1/
ObjectTemplate.position -0.00180435/-0.0146064/0.450602

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Fire1P_Outdoor
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/usrgl_m203/sounds/m203_fire_1p.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.8
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.97/1.03/
ObjectTemplate.volumeEnvelope 0/1/0/1/1/1/0/0.9/1/
ObjectTemplate.position -0.0018177/-0.0141114/0.451891

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Fire3P
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/usrgl_m203/sounds/m203_fire_3p.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.75
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 0
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.97/1.03/
ObjectTemplate.volumeEnvelope 0/1/0/1/1/1/0/0.9/1/
ObjectTemplate.position -0.00369644/-0.0156767/0.449558
ObjectTemplate.minDistance 4.8
ObjectTemplate.halfVolumeDistance 9.6
ObjectTemplate.soundRadius 0.5

ObjectTemplate.activeSafe Sound S_sasrif_teargas_BoltClick
ObjectTemplate.modifiedByUser "armandoma"

ObjectTemplate.activeSafe Sound S_sasrif_teargas_TriggerClick
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/uspis_92fs/sounds/mono/trigger_click.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.5
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/-0.0368233/0.0766793

ObjectTemplate.activeSafe Sound S_sasrif_teargas_SwitchFireRate
ObjectTemplate.modifiedByUser "armandoma"

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Reload1P
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/sasrif_teargas/sounds/teargas_reload_1p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.6
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/-0.00698292/0.19959

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Reload3P
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/sasrif_teargas/sounds/teargas_reload_1p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.7
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/-0.0122491/0.196256
ObjectTemplate.minDistance 0.5
ObjectTemplate.halfVolumeDistance 1

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Deploy1P
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/usrgl_m203/sounds/m203_deploy.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.5
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/0.0225638/0.197657

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Deploy3P
ObjectTemplate.modifiedByUser "armandoma"
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/handheld/usrgl_m203/sounds/m203_deploy.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.5
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/-0.00380099/0.235601
ObjectTemplate.minDistance 0.5
ObjectTemplate.halfVolumeDistance 2

ObjectTemplate.activeSafe Sound S_sasrif_teargas_Zoom
ObjectTemplate.modifiedByUser "armandoma"


ObjectTemplate.activeSafe Sound S_hgr_TearGas_Projectile_Looping
ObjectTemplate.modifiedByUser "armandoma"

If u want to try this out, do it in a mod. It's pretty cool. I have it in one of my mods.
Goven
/̵͇̿̿/'̿'̿ ̿
+125|6685|Purdue
Uhm...not very oriented with this stuff, what do I do w/ it?
Superior Mind
(not macbeth)
+1,755|6897
First make a copy of the xpack folder. name it what ever you want. Make sure it is in the mods folder. THEN
inorder to try this out go here:
C:\Program Files\EA GAMES\Battlefield 2\mods\mymod\Objects_server.zip
                                                                       ^ (or whatever your mod name is)
then go to Weapons, then Handheld, then sas_teargas, then click on the tweakfile, open it in note pad and replace it with this one.
Darkhelmet
cereal killer
+233|6955|the middle of nowhere
once you've done that^^^^ then how do you playe with the nade launcher??
Superior Mind
(not macbeth)
+1,755|6897
open your mod, and play as an army that has the teargas (any SF army) in your mod of course.
read this tut...very useful. http://forums.bf2s.com/viewtopic.php?id=20130

Last edited by Superior Mind (2006-08-21 19:36:18)

Darkhelmet
cereal killer
+233|6955|the middle of nowhere
edit: nevermind

Well how do I open the mod and play it now that i have copied the .tweak file??

Last edited by |Dark_Helmet (2006-08-21 19:45:36)

Superior Mind
(not macbeth)
+1,755|6897
what u need to do is save the file to the desktop, then click n drag to back to the teargas file, u get me?
Darkhelmet
cereal killer
+233|6955|the middle of nowhere
no i dont get you.
Darkhelmet
cereal killer
+233|6955|the middle of nowhere
ah forget it.
Superior Mind
(not macbeth)
+1,755|6897
lol ok
Goven
/̵͇̿̿/'̿'̿ ̿
+125|6685|Purdue
Soo, wait...what do I do with the xpack or w/e
and none of my mods have SF...can you gimme a cool one?

Last edited by Goven (2006-08-21 19:55:48)

Superior Mind
(not macbeth)
+1,755|6897
read this tut by Citezen One, it wil anser all of your questions... http://forums.bf2s.com/viewtopic.php?id=20130

If you get it tell me.

Last edited by Superior Mind (2006-08-21 19:58:44)

Goven
/̵͇̿̿/'̿'̿ ̿
+125|6685|Purdue
Completely disregard my pm.
Superior Mind
(not macbeth)
+1,755|6897
i dont know how to upload a mod, if u tell me I can upload one I am working on. Really all you need to do is read that damn tut. It is God like.

Last edited by Superior Mind (2006-08-21 20:00:22)

Goven
/̵͇̿̿/'̿'̿ ̿
+125|6685|Purdue

Superior Mind wrote:

i dont know how to upload a mod, if u tell me I can upload one I am working on. Really all you need to do is read that damn tut. It is God like.
Didn't know you could only karma a person once per day. D: oh well.
Thanks though!

Last edited by Goven (2006-08-21 20:04:06)

Superior Mind
(not macbeth)
+1,755|6897
ok lol. BTW the velocity is much lower on this than a normal nade laucher. It is 35 where as a GP30 is 50. So it is   different.

Last edited by Superior Mind (2006-08-21 20:07:20)

{M5}Sniper3
Typical white person.
+389|6964|San Antonio, Texas
Damn you Superior Mind, you got me into modding again...

I just made a SUPER F-15...Fun to kill bots with it...
DirtyMexican
I knife Generals
+278|6741|Search Whore killing fields
I want a pink j10
Superior Mind
(not macbeth)
+1,755|6897
hey does anyone know how to make an icon on my desktop that directly can open my mod?
Choclot
Member
+21|6747
I think some one needs to get outside...
hilltop_skater
Body Skater
+28|6851|Berra - Aus

Choclot wrote:

I think some one needs to get outside...
Are you serious, Thats an understatment!!!!!
Superior Mind
(not macbeth)
+1,755|6897
maybe u two should stfu...making that nade launcher took me like 10 minutes....
PopBangMcFizzleTwist
Member
+1|6681

Superior Mind wrote:

hey does anyone know how to make an icon on my desktop that directly can open my mod?
Yes, copy the format that you see in the SF shortcut.

+modPath mods/xpack

Change the folder to suit your mod.
Superior Mind
(not macbeth)
+1,755|6897
huh...some more detail please...
Superior Mind
(not macbeth)
+1,755|6897
please

Board footer

Privacy Policy - © 2024 Jeff Minard