Campaigner Posted July 22, 2011 Share Posted July 22, 2011 I've looked over every aspect of the plasma effect, where it does the green glow, meltdown, and leaves a goo pile. I've made all the changes needed, including the shaders and custom mesh for the new pile. My problem lies in the script, which does not make any sense. I'm trying to make an addition to my recent mod that makes a weapon have a new shader effect when it kills someone, and mimics the plasma crit effect; gooification. Below is the script I am using for this; ScriptName AAAARedPlasmaGooificationEffectScript Float Timer Short DoOnce Begin ScriptEffectStart if getisid nvcrmrhouse == 0 SetCriticalStage GooStart PMS GooShader03 PMS GooShader04 Set Timer to 1.4 Set DoOnce to 0 endif End Begin ScriptEffectUpdate If DoOnce == 0 If Timer <= 0 AttachAshPile 3 SetCriticalStage GooEnd Set DoOnce to 1 EndIf Set Timer to (Timer - ScriptEffectElapsedSeconds ) EndIf End The line with "AttachAshPile" does not seem to work as well as I expected it to. GooShader03 and 04 are my custom ones, and they work fine ingame, but AshPile03, the custom mesh for the new goo pile, does not work. I don't want to change every goo pile in the game to red, just the one I made myself for a custom weapon. How would I go about getting my mesh to spawn instead of one of the ash pile or pile of goo (green)? Link to comment Share on other sites More sharing options...
Recommended Posts