Jump to content

SCRIPT: showing some tlc to zombies with scripts


Mishkax

Recommended Posts

ScriptName Abomination

float fHandHealthMax
float fHandHealthMin
float fBuoyancyWater

Begin GameMode ScriptEffectStart

SetNumericGameSetting fHandHealthMin 100
SetNumericGameSetting fHandHealthMax 115
SetNumericGameSetting fBuoyancyWater  -1.000
Player.PlayMagicShaderVisuals ZombieRot 30

	TriggerHitShader 5



End

ok this compiled finally but it will not show up in script effect for the magic spells and the like,and that is the sole purpose of this script

Link to comment
Share on other sites

Ahh. Cool. :)

 

Theres 3 types of scripts after all and the type must be set... ;)

  • Object Scripts runs every frame
  • Quest scripts runs with a timer which is set in a variable if it is not set, quests runs every 5s if I recall right.
  • Spells must be minimum 1s long
    • start ones
    • Middle runs every 0.2s it seems and 5 turns for 1s
    • end runs ones

I usually just use Scripteffectfinish in my spells, but it all depends what a spell is made for. Often I just want it to trigger a quest and then it is best to let the spell fire off first and when it is done, first then I make the change.

Link to comment
Share on other sites

check this out,praxis putridum works flawlessly. i tested it out,with it on she sinks like a rock in water,and her punches hit with the force of a freight train during the 30 seconds that its on

 

160857153_5132777313463142_5997965157601

 

160445773_5132777366796470_3499228260699

Link to comment
Share on other sites

there are still some strange bugs though. the custom effect shader i made for the spell,i intended for the particles to be like the ghost effect particles,except green

 

there white and seem to form a haze around her

 

and i cant get the hitshader to last for more than a half second,how do i fix that?

Link to comment
Share on other sites

I did some compare between different effects and one thing that differs between a timed effect and constant effect seems to be the drop down menu called Z Test Function. But you want the effect to last 30s right? I am not an expert at all on effects, but try that drop down and change it from Normal to Always Show and see what happens.

 

Try to find a similar effect that has a timer similar to yours, compare it with other effects as well and see what differ between them.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...