Jump to content
Official BF Editor Forums

Gascloud Damage Only Serverside?


ManJelL
 Share

Recommended Posts

I edited the e_hgr_TearGasGrenade.tweak file (can be found in Objects_server) to make the gascloud from the special forces addon take hp. But for some reason only the person who hosted the server takes damage the client doenst take any damage.

I dont have any clue how to fix that. I would be verry grateful for any tips.

Link to comment
Share on other sites

rem *** Generated with Bf2Editor.exe [created: 2005/1/28 14:30]

ObjectTemplate.activeSafe EffectBundle e_hgr_TearGasGrenade

ObjectTemplate.modifiedByUser armandoma

ObjectTemplate.setNetworkableInfo BasicInfo

ObjectTemplate.saveInSeparateFile 1

ObjectTemplate.createdInEditor 1

ObjectTemplate.floaterMod 0

ObjectTemplate.hasMobilePhysics 0

rem -------------------------------------

ObjectTemplate.addTemplate S_e_hgr_TearGasGrenade_Start

ObjectTemplate.addTemplate em_hgr_TearGasgrenade_smoke

ObjectTemplate.addTemplate em_hgr_TearGasgrenade_sidesmoke

ObjectTemplate.addTemplate em_hgr_TearGasgrenade_smoke2big

ObjectTemplate.addTemplate em_hgr_TearGasGrenade_smoke2bigger

rem -------------------------------------

ObjectTemplate.setStartOnEffects 0

ObjectTemplate.setStopOnEffects 0

ObjectTemplate.timeToLive CRD_NONE/-1/0/0

ObjectTemplate.randomAgeFactor CRD_NONE/1/0/0

ObjectTemplate.startAtCreation 0

ObjectTemplate.speedFromPhysics 0

ObjectTemplate.activeSafe Sound S_e_hgr_TearGasGrenade_Start

ObjectTemplate.modifiedByUser armandoma

ObjectTemplate.soundFilename "objects/weapons/handheld/hgr_smoke/sounds/smoke_grenade_01.wav,objects/weapons/handheld/hgr_smoke/sounds/smoke_grenade_02.wav"

ObjectTemplate.loopCount 1

ObjectTemplate.is3dSound 1

ObjectTemplate.stopType 1

ObjectTemplate.volume 1

ObjectTemplate.pitch 0.7

ObjectTemplate.reverbLevel 1

ObjectTemplate.minDistance 3

ObjectTemplate.halfVolumeDistance 8

ObjectTemplate.create SpriteParticleSystem em_hgr_TearGasgrenade_smoke

ObjectTemplate.modifiedByUser armandoma

ObjectTemplate.createdInEditor 1

ObjectTemplate.showInFirstPerson 1

ObjectTemplate.showInThirdPerson 1

ObjectTemplate.emitPrio High

ObjectTemplate.lodDistance High

ObjectTemplate.emitterType Standard

ObjectTemplate.isLocalSystem 0

ObjectTemplate.emitRadius 0.1/0.1/0.1

ObjectTemplate.emitRangeX CRD_NONE/0/0/0

ObjectTemplate.emitRangeY CRD_NONE/0/0/0

ObjectTemplate.emitRangeZ CRD_NONE/0/0/0

ObjectTemplate.randomRadialDirection 360

ObjectTemplate.radialDirection 0

ObjectTemplate.emitFrequency 111

ObjectTemplate.preWarmTime 0

ObjectTemplate.emitTime 0

ObjectTemplate.emitDelay 0

ObjectTemplate.isLooping 0

ObjectTemplate.emitSpeed 1

ObjectTemplate.emitDirection 0/0/0

ObjectTemplate.timeToLive 1

ObjectTemplate.randomTimeToLive 1

ObjectTemplate.windAffectionFactor 0

ObjectTemplate.forceToWaterSurface 0

ObjectTemplate.waterSurfaceOffset 0.03

ObjectTemplate.rotationGraph 0/0/-1/1

ObjectTemplate.alignRotationToSpeed 0

ObjectTemplate.transparencyGraph 0/-0.5/0/0.5

ObjectTemplate.gravity 0.5

ObjectTemplate.gravityGraph 0/-0.18/0.52/0.66

ObjectTemplate.airResistanceGraph 0/0/0/1

ObjectTemplate.emitSpeedGraph 0/-0.55/-0.42/1

ObjectTemplate.randomSpeed 0.3

ObjectTemplate.randomDirectionAngle 15/0/15

ObjectTemplate.airResistance 0.3

ObjectTemplate.collisionEnable 0

ObjectTemplate.collisionSpeedAlongNormal 0.7

ObjectTemplate.collisionSpeedAlongPlane 0.8

ObjectTemplate.randomSize 0.2

ObjectTemplate.particleMaxSize 0.85

ObjectTemplate.sizeGraph 0.01/0.44/0.1/0.44

ObjectTemplate.randomIntensity 0.1

ObjectTemplate.lightMapIntensityOffset 0

ObjectTemplate.color1 0.956863/0.960784/0.870588

ObjectTemplate.color2 0.894118/0.890196/0.760784

ObjectTemplate.colorBlendGraph 0/0.3/0.7/0

ObjectTemplate.alphaCull 0.2

ObjectTemplate.particleType Sorted

ObjectTemplate.drawOrder Back

ObjectTemplate.randomRotation 360

ObjectTemplate.randomRotationSpeed 1

ObjectTemplate.rotationSpeed 1

ObjectTemplate.pivotOffset 0/0

ObjectTemplate.selfShadowIntensity 0.7

ObjectTemplate.textureName objects\effects\textures\animated\Anim_smoke2

ObjectTemplate.animationEnable 1

ObjectTemplate.animationSpeed 8

ObjectTemplate.animationPlayOnce 0

ObjectTemplate.setAnimationFrameWidthRelative 0.5

ObjectTemplate.setAnimationFrameHeightRelative 0.5

ObjectTemplate.animationRandomizedStartFrame 0

ObjectTemplate.animationFrameCount 4

ObjectTemplate.animationFrameCountX 2

ObjectTemplate.gasCloudType TearGas

ObjectTemplate.gasCloudDamage 12

ObjectTemplate.blurryVisionTime 8.0

ObjectTemplate.blurryVisionHoldTime 1.5

ObjectTemplate.minGasCloudRadius 1.0

ObjectTemplate.maxGasCloudRadius 5.0

ObjectTemplate.gasCloudRadiusTime 1.0

ObjectTemplate.create SpriteParticleSystem em_hgr_TearGasgrenade_sidesmoke

ObjectTemplate.modifiedByUser armandoma

ObjectTemplate.createdInEditor 1

ObjectTemplate.showInFirstPerson 1

ObjectTemplate.showInThirdPerson 1

ObjectTemplate.emitPrio High

ObjectTemplate.qualityLevel low

ObjectTemplate.lodDistance High

ObjectTemplate.emitterType Standard

ObjectTemplate.isLocalSystem 0

ObjectTemplate.emitRadius 0/0/0.1

ObjectTemplate.emitRangeX CRD_UNIFORM/1/0/1

ObjectTemplate.emitRangeY CRD_UNIFORM/1/0/1

ObjectTemplate.emitRangeZ CRD_UNIFORM/0/0/0

ObjectTemplate.randomRadialDirection 360

ObjectTemplate.radialDirection 360

ObjectTemplate.emitFrequency 55

ObjectTemplate.preWarmTime 0

ObjectTemplate.emitTime 0.1

ObjectTemplate.emitDelay 0

ObjectTemplate.isLooping 0

ObjectTemplate.emitSpeed 8

ObjectTemplate.emitDirection 1/1/1

ObjectTemplate.timeToLive 20

ObjectTemplate.windAffectionFactor 0

ObjectTemplate.forceToWaterSurface 0

ObjectTemplate.waterSurfaceOffset 0.03

ObjectTemplate.rotationGraph 0/-0.16/0.64/0.52

ObjectTemplate.alignRotationToSpeed 1

ObjectTemplate.transparencyGraph 0/0.5/-1.5/1

ObjectTemplate.gravity 0

ObjectTemplate.gravityGraph 0/0/0/1

ObjectTemplate.airResistanceGraph 0/0/0/1

ObjectTemplate.emitSpeedGraph 0/0/0/1

ObjectTemplate.randomSpeed 0

ObjectTemplate.randomDirectionAngle 0/0/0

ObjectTemplate.airResistance 0.5

ObjectTemplate.collisionEnable 0

ObjectTemplate.collisionSpeedAlongNormal 0.7

ObjectTemplate.collisionSpeedAlongPlane 0.8

ObjectTemplate.randomSize 0.5

ObjectTemplate.particleMaxSize 17

ObjectTemplate.sizeGraph 0/-0.35/1/0.35

ObjectTemplate.randomIntensity 0.1

ObjectTemplate.lightMapIntensityOffset 0.5

ObjectTemplate.color1 0.956863/0.960784/0.870588

ObjectTemplate.color2 0.894118/0.890196/0.760784

ObjectTemplate.colorBlendGraph 0/0/1/0

ObjectTemplate.alphaCull 0.2

ObjectTemplate.particleType Sorted

ObjectTemplate.drawOrder Back

ObjectTemplate.randomRotation 0

ObjectTemplate.rotationSpeed 0

ObjectTemplate.pivotOffset 0/0

ObjectTemplate.selfShadowIntensity 0.6

ObjectTemplate.textureName objects\effects\textures\blood\blood4

ObjectTemplate.animationEnable 0

ObjectTemplate.animationSpeed 2

ObjectTemplate.animationPlayOnce 0

ObjectTemplate.setAnimationFrameWidthRelative 0.25

ObjectTemplate.setAnimationFrameHeightRelative 0.25

ObjectTemplate.animationRandomizedStartFrame 0

ObjectTemplate.animationFrameCount 2

ObjectTemplate.animationFrameCountX 4

ObjectTemplate.gasCloudType TearGas

ObjectTemplate.gasCloudDamage 8

ObjectTemplate.blurryVisionTime 8.0

ObjectTemplate.BlurryVisionHoldTime 1.5

ObjectTemplate.minGasCloudRadius 13.0

ObjectTemplate.maxGasCloudRadius 13.0

ObjectTemplate.gasCloudRadiusTime 20.0

ObjectTemplate.create SpriteParticleSystem em_hgr_TearGasgrenade_smoke2big

ObjectTemplate.modifiedByUser armandoma

ObjectTemplate.createdInEditor 1

ObjectTemplate.showInFirstPerson 1

ObjectTemplate.showInThirdPerson 1

ObjectTemplate.emitPrio High

ObjectTemplate.qualityLevel low

ObjectTemplate.lodDistance High

ObjectTemplate.emitterType Standard

ObjectTemplate.isLocalSystem 0

ObjectTemplate.emitRadius 5/5/5

ObjectTemplate.emitRangeX CRD_NONE/0/0/0

ObjectTemplate.emitRangeY CRD_NONE/0/0/0

ObjectTemplate.emitRangeZ CRD_NONE/0/0/0

ObjectTemplate.randomRadialDirection 360

ObjectTemplate.radialDirection 360

ObjectTemplate.emitFrequency 111

ObjectTemplate.preWarmTime 0.2

ObjectTemplate.emitTime 15

ObjectTemplate.emitDelay 0.05

ObjectTemplate.isLooping 0

ObjectTemplate.emitSpeed 100

ObjectTemplate.emitDirection 1/1/1

ObjectTemplate.timeToLive 20

ObjectTemplate.windAffectionFactor 0

ObjectTemplate.forceToWaterSurface 0

ObjectTemplate.waterSurfaceOffset 0.03

ObjectTemplate.rotationGraph 0/0/-1/1

ObjectTemplate.alignRotationToSpeed 0

ObjectTemplate.transparencyGraph -0.64/-3.2/2.8/1

ObjectTemplate.gravity -0.1

ObjectTemplate.gravityGraph 0/-0.18/0.52/0.66

ObjectTemplate.airResistanceGraph 0/0/0/1

ObjectTemplate.emitSpeedGraph 0/0.75/0/0.25

ObjectTemplate.randomSpeed 10

ObjectTemplate.randomDirectionAngle 360/360/360

ObjectTemplate.airResistance 0.9

ObjectTemplate.collisionEnable 1

ObjectTemplate.collisionSpeedAlongNormal 0.1

ObjectTemplate.collisionSpeedAlongPlane 0.8

ObjectTemplate.randomSize 1

ObjectTemplate.particleMaxSize 17

ObjectTemplate.sizeGraph 1/-2.3/1.9/0.39

ObjectTemplate.lightMapIntensityOffset 1

ObjectTemplate.color1 0.956863/0.960784/0.870588

ObjectTemplate.color2 0.894118/0.890196/0.760784

ObjectTemplate.colorBlendGraph 0/0.3/0.7/0

ObjectTemplate.alphaCull 0.2

ObjectTemplate.particleType Sorted

ObjectTemplate.drawOrder Back

ObjectTemplate.randomRotation 360

ObjectTemplate.randomRotationSpeed -0.25

ObjectTemplate.rotationSpeed 0.25

ObjectTemplate.pivotOffset 0/-0.2

ObjectTemplate.selfShadowIntensity 0.5

ObjectTemplate.textureName objects\effects\textures\animated\Anim_smoke

ObjectTemplate.animationEnable 1

ObjectTemplate.animationSpeed 0.5

ObjectTemplate.animationPlayOnce 0

ObjectTemplate.setAnimationFrameWidthRelative 0.5

ObjectTemplate.setAnimationFrameHeightRelative 0.5

ObjectTemplate.animationRandomizedStartFrame 1

ObjectTemplate.animationFrameCount 4

ObjectTemplate.animationFrameCountX 2

ObjectTemplate.gasCloudType TearGas

ObjectTemplate.gasCloudDamage 8

ObjectTemplate.blurryVisionTime 8.0

ObjectTemplate.blurryVisionHoldTime 1.5

ObjectTemplate.minGasCloudRadius 13.0

ObjectTemplate.maxGasCloudRadius 13.0

ObjectTemplate.gasCloudRadiusTime 20.0

ObjectTemplate.create SpriteParticleSystem em_hgr_TearGasGrenade_smoke2bigger

ObjectTemplate.modifiedByUser armandoma

ObjectTemplate.createdInEditor 1

ObjectTemplate.showInFirstPerson 1

ObjectTemplate.showInThirdPerson 1

ObjectTemplate.emitPrio High

ObjectTemplate.qualityLevel low

ObjectTemplate.lodDistance High

ObjectTemplate.emitterType Standard

ObjectTemplate.isLocalSystem 0

ObjectTemplate.emitRadius 5/5/5

ObjectTemplate.emitRangeX CRD_NONE/0/0/0

ObjectTemplate.emitRangeY CRD_NONE/0/0/0

ObjectTemplate.emitRangeZ CRD_NONE/0/0/0

ObjectTemplate.randomRadialDirection 360

ObjectTemplate.radialDirection 360

ObjectTemplate.emitFrequency 111

ObjectTemplate.preWarmTime 0.2

ObjectTemplate.emitTime 15

ObjectTemplate.emitDelay 0

ObjectTemplate.isLooping 0

ObjectTemplate.emitSpeed 200

ObjectTemplate.emitDirection 1/1/1

ObjectTemplate.timeToLive 20

ObjectTemplate.windAffectionFactor 0

ObjectTemplate.forceToWaterSurface 0

ObjectTemplate.waterSurfaceOffset 0.03

ObjectTemplate.rotationGraph 0/0/-1/1

ObjectTemplate.alignRotationToSpeed 0

ObjectTemplate.transparencyGraph 0.3/-1.65/1.35/0

ObjectTemplate.gravity -0.25

ObjectTemplate.gravityGraph 0/-0.18/0.52/0.66

ObjectTemplate.airResistanceGraph 0/0/0/1

ObjectTemplate.emitSpeedGraph 0/0.75/0/0.25

ObjectTemplate.randomSpeed 20

ObjectTemplate.randomDirectionAngle 360/360/360

ObjectTemplate.airResistance 0.8

ObjectTemplate.collisionEnable 1

ObjectTemplate.collisionSpeedAlongNormal 0.1

ObjectTemplate.collisionSpeedAlongPlane 0.8

ObjectTemplate.particleMaxSize 17

ObjectTemplate.sizeGraph 1/-2.3/1.9/0.39

ObjectTemplate.lightMapIntensityOffset 1

ObjectTemplate.color1 0.956863/0.960784/0.870588

ObjectTemplate.color2 0.894118/0.890196/0.760784

ObjectTemplate.colorBlendGraph 0/0.3/0.7/0

ObjectTemplate.alphaCull 0.2

ObjectTemplate.particleType Sorted

ObjectTemplate.drawOrder Back

ObjectTemplate.randomRotation 360

ObjectTemplate.randomRotationSpeed -0.25

ObjectTemplate.rotationSpeed 0.25

ObjectTemplate.pivotOffset 0/-0.2

ObjectTemplate.selfShadowIntensity 0.5

ObjectTemplate.textureName objects\effects\textures\animated\Anim_smoke

ObjectTemplate.animationEnable 1

ObjectTemplate.animationSpeed 0.5

ObjectTemplate.animationPlayOnce 0

ObjectTemplate.setAnimationFrameWidthRelative 0.5

ObjectTemplate.setAnimationFrameHeightRelative 0.5

ObjectTemplate.animationRandomizedStartFrame 1

ObjectTemplate.animationFrameCount 4

ObjectTemplate.animationFrameCountX 2

ObjectTemplate.gasCloudType TearGas

ObjectTemplate.gasCloudDamage 8

ObjectTemplate.blurryVisionTime 8.0

ObjectTemplate.blurryVisionHoldTime 1.5

ObjectTemplate.minGasCloudRadius 13.0

ObjectTemplate.maxGasCloudRadius 13.0

ObjectTemplate.gasCloudRadiusTime 20.0

This is how the effect looks like (adding the Networkable BasicInfo didnt help)

Link to comment
Share on other sites

  • 3 weeks later...

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...