Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Cortana
- @inputs Active Base:entity
- @model models/lemongate/gibsmodel_fanmesh001.mdl
- @trigger Active
- if (changed(Active)){
- C = vec(255,255,255)
- M = "models/props_combine/combine_interface_disp"
- holoCreate(1)
- holoModel(1, "models/player/group01/female_01.mdl")
- holoPos(1, Base:toWorld(vec(0,-0.35,1.5)))
- holoAng(1, Base:toWorld(ang()))
- holoMaterial(1,M)
- holoColor(1,C)
- holoScale(1,vec(0.35))
- holoAnim(1,2)
- holoParent(1, Base)
- holoAlpha(1, 255 * Active)
- if(Active){
- local Greeting = array("vo/eli_lab/al_allright01.wav" , "vo/episode_1/c17/al_backsosoon.wav" , "vo/episode_1/c17/al_tooksolong.wav", "vo/episode_1/c17/al_thereyouare.wav")
- local Shit = floor(random(1, Greeting:count()))
- Base:soundPlay(1, soundDuration(Greeting[Shit,string]), Greeting[Shit,string])
- Base:soundPlay(2, soundDuration("acf_extra/cannons/scifi/cannon.wav"), "acf_extra/cannons/scifi/cannon.wav")
- }elseif (!Active){
- Base:soundPlay(3,soundDuration("vo/episode_1/c17/al_hospital_letsgo.wav"), "vo/episode_1/c17/al_hospital_letsgo.wav")
- Base:soundPlay(4,soundDuration("acf_extra/cannons/scifi/elitedangerousrailgun.wav"), "acf_extra/cannons/scifi/elitedangerousrailgun.wav")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement