Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Australian Flag
- @persist I
- @trigger
- if(first()|dupefinished())
- {
- # Instructions
- # Spawn and place the E2 where you want it, the flag trailing behind.
- # Weld the E2 to the base of where you want it, ie turret base, hull.
- # Parent the E2 to the gate on that base with "Remove Constraints" unticked!
- # Voila, spread the bunnings snags mate!
- # Made by DatAmazingCheese
- #Flag
- holoCreate(1)
- holoModel(1,"models/pac/jiggle/base_cloth_3.mdl")
- holoMaterial(1,"ttp/surfaces/surface_australian_flag")
- holoColor(1,vec(255,255,255))
- holoDisableShading(1,1)
- holoPos(1,entity():toWorld(vec(-0.5,0,65.57)))
- holoParent(1,entity())
- #Flag Bones
- holoBoneScale(1,0,vec(5,1,1))
- holoBoneScale(1,1,vec(5,1,1))
- holoBoneScale(1,2,vec(5,1,1))
- holoBoneScale(1,3,vec(5,1,1))
- holoBoneScale(1,4,vec(5,1,1))
- holoBoneScale(1,5,vec(5,1,1))
- holoBoneScale(1,6,vec(5,1,1))
- holoBoneScale(1,7,vec(5,1,1))
- holoBoneScale(1,8,vec(5,1,1))
- holoBoneScale(1,9,vec(5,1,1))
- #Pole
- holoCreate(2)
- holoModel(2,"models/sprops/cylinders/size_1/cylinder_1_5x54.mdl")
- holoMaterial(2,"models/props_docks/dock01a")
- holoPos(2,entity():toWorld(vec(0,0,42.231)))
- holoScale(2,vec(0.6,0.6,1.6))
- holoParent(2,entity())
- #Pole Cap
- holoCreate(3)
- holoModel(3,"models/sprops/geometry/sphere_24.mdl")
- holoMaterial(3,"models/props_docks/dock01a")
- holoPos(3,entity():toWorld(vec(0,0,86)))
- holoScale(3,vec(0.075,0.075,0.075))
- holoParent(3,entity())
- }
- interval(100)
- Speed = entity():vel():length()
- I += Speed / 7
- A = sin(I)*60
- if(Speed > 1)
- {
- holoAng(1,entity():toWorld(ang(0,A,90)))
- }
- else
- {
- holoAng(1,entity():toWorld(ang(0,0,90)))
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement