Sup people of the Bethesda Softwork forums
so i wanned to edit the catapult effect from the Midas Magic mod to drain my fatigue for longer time so i don't recover while still in air and get "teleported" to the ground below me.
I looked into the construction set and tes4edit but i'm unable to find how to change this. Could someone assist me with this?
i'm not to sure where to look, i got this infront of me now:
http://postimg.org/image/nmwzmp7kf/
-edit-
i looked into the script but i think i'm looking at the wrong one:
http://postimg.org/image/93tuh0qgb/
The Code, i don't the fatige drain here, or am i mistaken?
Spoiler
scn MidasCatapultBlockShootScript
ref me
ref myBall
float timer
float myX
float myY
float myZ
float fixZ
float myAngle
short doState
short framecount
; initial position vector
float xPos
float yPos
float zPos
; fly vector
float dx
float dy
float dz
; private
float ang
float xang
float yang
float zang
float x
float x2
float sin
float cos
Begin ScriptEffectStart
set me to GetSelf
set ang to me.GetAngle z
if ang > 180
set ang to (ang)-360
endif
set zang to ang
set x to ang*0.0174532925
set x2 to x*x
set sin to x*(1-(x2/6)*(1-(x2/20)*(1-(x2/42)*(1-(x2/72)*(1-x2/110)))))
set cos to 1-0.5*x2*(1-(x2/12)*(1-(x2/30)*(1-(x2/56)*(1-x2/90))))
set dx to 10*sin
set dy to 10*cos
; vertical fly vector
set ang to me.GetAngle x
set xang to ang*cos ; uses settings from Horizontal Vector
set yang to -ang*sin
set x to -ang*0.0174532925
set x2 to x*x
set sin to x*(1-(x2/6)*(1-(x2/20)*(1-(x2/42)*(1-(x2/72)*(1-x2/110)))))
set cos to 1-0.5*x2*(1-(x2/12)*(1-(x2/30)*(1-(x2/56)*(1-x2/90))))
set dz to 10*sin
; initial position vector (to add to player coords)
set xPos to 22*dx*cos
set yPos to 22*dy*cos
set zPos to 118-25*(me.IsSneaking)+12*dz
set myBall to MidasActivatorCatapultBlockRef
if myBall != me
set MidasQuest.Proj to myBall
myBall.SetDestroyed 0
;myBall.Activate me 1
myBall.Enable
myBall.moveto me xpos ypos zpos
myBall.SetAngle z zang
myBall.SetAngle y yang
myBall.SetAngle x xang
set myZ to MyBall.Getpos z
myBall.Setpos z MyZ
endif
end
begin ScriptEffectUpdate
set framecount to framecount + 1
if doState == 0 && framecount >= 4
set doState to 1
myBall.Reset3dState
myBall.Playgroup unequip 1
endif
Disclaimer:
i'm not the owner of Midas Magic mod nor have i helped in making the mod in any way, i will not redestibute my edited version.
All credits for Midas Magic go to Xsilverbuller the creator of the mod.
I take no credits in the making of the Midas Magic mod