Ghost scripts and AI packages

Post » Mon Nov 19, 2012 6:50 pm

this should be a quite simple thing to solve atleast the first bit.
I have an actor made from new, checked with "unique" and "is Ghost" ang given a set of clothes and so forth (no AI packages or anything else) placed him in my world space and need to make him a ghost (that blue'ish see-through aura) and figured i 'just' needed to attach the default ghost script, but looking at that script its HUGE and alot of stuf is going on, loot list ect, something i dont need, since this ghost the player wont be able to kill.
Is there a relative easy way to just aply the ghost aura without all the rest?

As a followup, this sayd ghost i want to just fade in, when the player enters a triggerbox walk a short distance (proberly controlled with x-marker heading and xmarker) and lift his arm and point, while fadeing out/away again. I assume the point location is controled by a xmarker but for the life of me, i can not find a function or anything that allows me to control him so he can point :S
User avatar
Maya Maya
 
Posts: 3511
Joined: Wed Jul 05, 2006 7:35 pm

Post » Mon Nov 19, 2012 1:02 pm

Actor Property kYourActor AutoEffectShader Property GhostFXShader AutoEvent SomeEvent()	kYourActor.SetAlpha(0.5)	GhostFXShader.Play(kYourActor)EndEvent
User avatar
Lily
 
Posts: 3357
Joined: Mon Aug 28, 2006 10:32 am

Post » Mon Nov 19, 2012 6:04 pm

Actor Property Ongar Auto ; ongar is the ID of my actorEffectShader Property GhostFXShader AutoEvent OnLoad()	    Ongar.SetAlpha(0.5)	    GhostFXShader.Play(Ongar)EndEvent
I might be totally off on this one, but it seam the most logical way to handle it, unless im missing something?
User avatar
Miss Hayley
 
Posts: 3414
Joined: Tue Jun 27, 2006 2:31 am

Post » Mon Nov 19, 2012 12:48 pm

It'll work for the ghostly appearance w/o any other ghost stuff, yeah. :) the only thing you'll need to change is Ongar Δ OngarREF unless Ongar is the ACHR's EditorID.
User avatar
Rebecca Dosch
 
Posts: 3453
Joined: Thu Jan 18, 2007 6:39 pm

Post » Mon Nov 19, 2012 6:22 pm

http://i.imgur.com/MvzZz.jpg the properties
http://i.imgur.com/5TV4u.jpg the script and reference window
http://i.imgur.com/DVTpY.jpg the actor and reference window

with what i have gathered it should work, yet once i test ingame, he is simply gone, no where to be found at all :S
is there something i missed in all this?
User avatar
Camden Unglesbee
 
Posts: 3467
Joined: Wed Aug 15, 2007 8:30 am

Post » Mon Nov 19, 2012 9:14 am

Hmmm. That should all work. Try attaching the script to the actor base instead of the reference?
User avatar
Steve Smith
 
Posts: 3540
Joined: Sat Jun 30, 2007 10:47 am


Return to V - Skyrim