Jump to content
Official BF Editor Forums
Sign in to follow this  
cobrachoppergirl

Terminator Style Player Spawn With Lightning Effects

Recommended Posts

If you've ever watched a terminator movie, when the Terminator is shot through time and appears in the current time, he appears naked in a ball of fusion lightning.

There is a similiar effect that happens to the Mech when it gets blown up or hit by lightning, e_emp_wave, e_EMP_Mech, as_heavy_mech_EMPEffect, or something like that, not sure which.

I don't know anything about triggering effects (as adding or changing them has never had any effect server side modding only !@#$), but it would be cool to add this effect on a player spawn.

rem ---BeginComp:DefaultDetonationComp ---
ObjectTemplate.createComponent DefaultDetonationComp
ObjectTemplate.detonation.explosionMaterial 53
ObjectTemplate.detonation.explosionRadius 6
ObjectTemplate.detonation.explosionForce 8
ObjectTemplate.detonation.explosionDamage 240
ObjectTemplate.detonation.detonateOnWaterCollision 0
ObjectTemplate.detonation.endEffectTemplate e_emp_wave
ObjectTemplate.detonation.useMMOnEndEffect 1
ObjectTemplate.detonation.isEMPWeapon 1
ObjectTemplate.detonation.detectionRadius 1.5
ObjectTemplate.detonation.maxDepthForExplosion 2

ObjectTemplate.create EffectBundle as_heavy_mech_EMPEffect
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
rem -------------------------------------
ObjectTemplate.addTemplate S_as_heavy_mech_EMPEffect_Start
ObjectTemplate.setPosition -0.966495/-0.565237/-0.11025
ObjectTemplate.addTemplate e_EMP_Mech
rem -------------------------------------
ObjectTemplate.setStartOnEffects 131072
ObjectTemplate.setStopOnEffects 262144
ObjectTemplate.timeToLive CRD_NONE/3/0/0
ObjectTemplate.randomAgeFactor CRD_NONE/1/0/0
ObjectTemplate.startAtCreation 0
ObjectTemplate.speedFromPhysics 0

def onPlayerSpawn(player, soldier):

IN  bf2142\python\ga,e\gamemodes\gpm_cq.py

Share this post


Link to post
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...
Sign in to follow this  

×
×
  • Create New...