Jump to content

Recommended Posts

Posted

nevermind,that script i just posted is apparently a complete mess and wont compile,it wont let me use scripteffectstart,and its saying those three values i tryed to use dont exist

Posted
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

Posted

welp,im at my wits end,i give up,unless someone can figure out whats wrong or i get a flash of insight i think this little mini spell project is doomed

 

160499564_5132519830155557_9600302699112

Posted

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.

Posted

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

Posted

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?

Posted

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.

  • Recently Browsing   0 members

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