Jump to content

Scripting help


JKW1994

Recommended Posts

Basically, I need to know what the script for adding active magic effects to the player without enchanting the armor/weapon itself (a great example of this is the overlord armour in Frostcrag Reborn), as I want to add these effects to my character when they equip a certain set of armour

 

Any help at all is greatly appreciated :)

Link to comment
Share on other sites

First, make an ABILITY with the desired effects. Name it aamyarmorspell.

 

Then use this script on the armor itself:

 

begin onequip

 

player.addspell aamyarmorspell

 

end

 

begin onunequip

 

player.removespell aamyarmorspell

 

end

 

Just change the name, and you can use this script for all sorts of things.

 

 

Can also use things like playmagicshadervisuals X (when x = number of seconds played), playsound3d (will not stop if it's looping), message "your mesage here" , etc.

 

 

Lots of stuff you can do.

Link to comment
Share on other sites

No prob. ;)

 

A piece of advice? Armro that adds spell effects is awesome. Using sound and visuals are also awesome. Try having the armor play an appropriate sound when equiped. If it's mechanical (as in, high-tech) the sound of an enchanting altar or one of Jyggalags footsteps, and have it glow silver.

 

Try creating new shaders but changing the name and color of old ones, and use those. Really, there's no end of awesomness.

Link to comment
Share on other sites

I think there is a way.

it would be quite long and arduous though.

It may have to be a quest script, with a very long list of "if" conditions [i.e. If player.getequipped helm == 1 && player.getequipped gauntlets == 1 etc]

But in all reality, it is quite possible.

The CS Wiki is your new holy bible lol [or Koran or whatever your religion forces you to read to have a pleasant afterlife (The gods have no sympathy for illiterates it seems)]

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...