adding chillrend effects on an item?

Post » Mon Nov 19, 2012 7:25 am

Hi I wanted to add the chillrend effect of sublimating ice and the sound to the stalhrim ore piece I have done ... and the ore mine too how can I do that?
User avatar
Chenae Butler
 
Posts: 3485
Joined: Sat Feb 17, 2007 3:54 pm

Post » Mon Nov 19, 2012 4:44 am

EffectShader Property FrostChillrendFXShader Auto...FrostChillrendFXShader.Play(Self)...
...probably, but it might be ChillrendEnchFX you're after.
User avatar
Barbequtie
 
Posts: 3410
Joined: Mon Jun 19, 2006 11:34 pm

Post » Mon Nov 19, 2012 12:34 am

okbut that works on the weapon how I use on the item?
User avatar
Bigze Stacks
 
Posts: 3309
Joined: Sun May 20, 2007 5:07 pm

Post » Mon Nov 19, 2012 10:33 am

I see I can only add a script ona misc item , but how does a script that adds a specific shader to the item looks like?
User avatar
Scott
 
Posts: 3385
Joined: Fri Nov 30, 2007 2:59 am

Post » Mon Nov 19, 2012 12:05 am

Any ideas?
User avatar
Darian Ennels
 
Posts: 3406
Joined: Mon Aug 20, 2007 2:00 pm

Post » Mon Nov 19, 2012 3:28 am

I see I can only add a script ona misc item , but how does a script that adds a specific shader to the item looks like?
http://www.creationkit.com/Play_-_EffectShader will work on any ObjectReference/Actor with a script slot. If the form type doesn't have a script slot, you can fill an alias with the REFR and...
FrostChillrendFXShader.Play(GetReference())
...from a ReferenceAlias script or attach an ObjectReference script directly to the REFR.

I'd imagine the shader should look roughly the same regardless of what's playing it.
User avatar
Rachel Briere
 
Posts: 3438
Joined: Thu Dec 28, 2006 9:09 am

Post » Mon Nov 19, 2012 4:33 am

yes but how I do write the script I have no ideawa where to begin ? ..
User avatar
Auguste Bartholdi
 
Posts: 3521
Joined: Tue Jun 13, 2006 11:20 am

Post » Mon Nov 19, 2012 3:54 am

Attach, after compiling...
ScriptName YourObjectScript Extends ObjectReferenceEffectShader Property FrostChillrendFXShader AutoEvent OnInit()	FrostChillrendFXShader.Play(Self)EndEventEvent OnLoad()	FrostChillrendFXShader.Play(Self)EndEventEvent OnUnload()	FrostChillrendFXShader.Stop(Self)EndEvent
...to your item, fill the property with the autofill button, and it should start/stop the shader whenever it loads/unloads.

*fix'd code

What kind of item is this, anyway?
User avatar
Kate Schofield
 
Posts: 3556
Joined: Mon Sep 18, 2006 11:58 am

Post » Mon Nov 19, 2012 9:54 am

but my item is not an alias just a random ore item works the same? where I find this autofill button?
User avatar
Pants
 
Posts: 3440
Joined: Tue Jun 27, 2006 4:34 am

Post » Mon Nov 19, 2012 1:27 am

That wasn't the ReferenceAlias version. It can be attached to a base form or directly to a reference via its "Scripts" tab. Once the script is attached, Properties > Auto-Fill all and you'll see it's penciled in or pointing to the right shader.
User avatar
leigh stewart
 
Posts: 3415
Joined: Mon Oct 23, 2006 8:59 am

Post » Mon Nov 19, 2012 9:35 am

can I also manually set the property ?
User avatar
Ross
 
Posts: 3384
Joined: Thu Aug 10, 2006 7:22 pm

Post » Mon Nov 19, 2012 10:12 am

can I also manually set the property ?
You could. There'll be a dropdown box listing all the EffectShader forms. Since the property name matches the EditorID of the Chillrend shader, it'll automatically point to it when auto-filled. Were the property to have a generic name like 'kShader', it wouldn't auto-fill and would have to be manually set in the editor or set within the script. If using different shaders for multiple objects, you can reuse the same script and just select the appropriate shader when filling said kShader property. That part's saved in the plugin.
User avatar
Myles
 
Posts: 3341
Joined: Sun Oct 21, 2007 12:52 pm

Post » Mon Nov 19, 2012 4:15 am

thanks reall reallya lot I will try it asap ...
User avatar
Baylea Isaacs
 
Posts: 3436
Joined: Mon Dec 25, 2006 11:58 am

Post » Mon Nov 19, 2012 3:04 am

No prob :) Tested the script and, after an edit, it worked as intended. Should all go well for you *knock on wood*
User avatar
Rowena
 
Posts: 3471
Joined: Sun Nov 05, 2006 11:40 am

Post » Sun Nov 18, 2012 11:51 pm

I just tried seems to add a slightly frosted effect ?

tough the effect I was looking for was the sound creep and the smoky evaporation , perhaps is not the right fx ?
User avatar
Jonny
 
Posts: 3508
Joined: Wed Jul 18, 2007 9:04 am

Post » Mon Nov 19, 2012 6:53 am

Perhaps. Try the other one mentioned above.
User avatar
Matt Terry
 
Posts: 3453
Joined: Sun May 13, 2007 10:58 am

Post » Mon Nov 19, 2012 7:02 am

No the other is on hit effect so both just seem to do a frost effect , but I wanted actually the sublimation and the sound , now I see that there is a magic nif loaded ChillrendEnchFX.nif

what is that and how can I use ? does this add the clouds effect perhaps?
User avatar
Jerry Cox
 
Posts: 3409
Joined: Wed Oct 10, 2007 1:21 pm

Post » Mon Nov 19, 2012 11:12 am

I have cheked other stuff and I see the sound is added on the same FX effect but it seems to not be loaded or heard so I decided to add it directly in the script but it seems to not work ...

Scriptname Issgard_StalhrimFX extends ObjectReference



EffectShader Property FrostChillrendFXShader Auto
Sound Property MAGFrostbiteDrawSheatheLPMSD.Play Auto

Event OnInit()
FrostChillrendFXShader.Play(Self)
MAGFrostbiteDrawSheatheLPMSD.Play(Self)




EndEvent

Event OnLoad()
FrostChillrendFXShader.Play(Self)
MAGFrostbiteDrawSheatheLPMSD.Play(Self)

EndEvent

Event OnUnload()
FrostChillrendFXShader.Stop(Self)
MAGFrostbiteDrawSheatheLPMSD.Stop(Self)

EndEvent

it dont compile ...

Starting 1 compile threads for 1 files...
Compiling "Issgard_StalhrimFX"...
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\Issgard_StalhrimFX.psc(6,44): no viable alternative at input '.'
e:\giochi\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\Issgard_StalhrimFX.psc(6,54): mismatched input '\\r\\n' expecting STATE
No output generated for Issgard_StalhrimFX, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Issgard_StalhrimFX
User avatar
Cathrine Jack
 
Posts: 3329
Joined: Sat Dec 02, 2006 1:29 am

Post » Sun Nov 18, 2012 7:51 pm

Ok I managed to make work the sound on the FX and created a custom FX , I see that the particles are not active on the normal chillrend fx and that it is created from a nif file ... how can I do tough to add this sublimation effect on a normal misc item in the script? not the same of the sword as this is calibrated for the sword lenght but something that could start from a center and make some puffs of ice cloud like if the item is sublimating ... Possible ?
User avatar
Bambi
 
Posts: 3380
Joined: Tue Jan 30, 2007 1:20 pm

Post » Mon Nov 19, 2012 1:03 am

Pull out '.Play' from...
Sound Property MAGFrostbiteDrawSheatheLPMSD Auto
[line 6]
User avatar
KRistina Karlsson
 
Posts: 3383
Joined: Tue Jun 20, 2006 9:22 pm

Post » Mon Nov 19, 2012 4:03 am

Ok I managed to make work the sound on the FX and created a custom FX , I see that the particles are not active on the normal chillrend fx and that it is created from a nif file ... how can I do tough to add this sublimation effect on a normal misc item in the script? not the same of the sword as this is calibrated for the sword lenght but something that could start from a center and make some puffs of ice cloud like if the item is sublimating ... Possible ?
User avatar
barbara belmonte
 
Posts: 3528
Joined: Fri Apr 06, 2007 6:12 pm

Post » Mon Nov 19, 2012 2:05 am

Why Altough I enabled in the effect shader the cloud puffs do not show up?
User avatar
CYCO JO-NATE
 
Posts: 3431
Joined: Fri Sep 21, 2007 12:41 pm


Return to V - Skyrim