Jump to content

Need Help on Scripting Swords


kuuga28

Recommended Posts

Hi

 

I'm new to modding and i'm trying to make a scripted sword to make it into an open and close version.

 

For example i have mesh that have an open version and a close version.What i'm trying to do is add script into it so that when i use the open version the close version will disappear and vice versa.

 

Can someone please help me? Thank you.

Link to comment
Share on other sites

what do you mean by open and closed version?

 

Sounds like he is making a switchblade of sorts...

 

Would be less like making a sword, and more like making a crossbow I think. Not an easy task to take on for someone without experience.

Link to comment
Share on other sites

  • 3 weeks later...
what do you mean by open and closed version?

 

Sounds like he is making a switchblade of sorts...

 

Would be less like making a sword, and more like making a crossbow I think. Not an easy task to take on for someone without experience.

 

No.Sorry for the misunderstanding.Let me explain again. Ok what i'm trying to do is this

 

I Have 2 mesh of swords with different name,one is called sword open version and second is called sword close version.

What I'm trying to do is to make a script that can summon the sword open version out and the close version will dissapear and when i summon the close version the open version will dissapear.I've seen it done before for the DMC sword Rebellion from tesnexus. here's the link to that sword http://www.tesnexus.com/downloads/file.php?id=21546

 

Please help me.Thank you.

Link to comment
Share on other sites

The scripting part consist in player.RemoveItem Sword1 1 and player.additem Sword2 1, optionally you may force equip and unequip it (and vice-versa) - you may want to add verification tests in the while.

 

But please for curiosity sake, how looks a Sword open and a sword close???

Link to comment
Share on other sites

  • 4 weeks later...

The scripting part consist in player.RemoveItem Sword1 1 and player.additem Sword2 1, optionally you may force equip and unequip it (and vice-versa) - you may want to add verification tests in the while.

 

But please for curiosity sake, how looks a Sword open and a sword close???

 

Sorry for the late reply.have been busy with load of work. Actually my sword is of Cloud's Sword in FF VIII:Advent Children. I found that the current version is lacking the close version of the Apocalypse sword.So i'm trying to make an open version of it too by modifying some of the First Tsurugi Mod from nexus with the permission of the modder. I've manage to get the model working in the game and now trying to make it scripted.

Link to comment
Share on other sites

A couple more suggestions:

 

A good sword with a swapping script already in place is Soulshade . You could download it and check out the script and use it on your swords. I actually adapted this script by Adonnay for use on my own sword Fatalis .

 

The main difference is that with SoulShades script, you're getting a 'new' sword every time you swap. The health, etc is reset to 100. With Fatalis, I modified the script to copy enchantments, health, and poisons over between each blade version so it acts like a single sword and not 2. It's also got a lot of other stuff in it you don't need, but that could be stripped out. Feel free to check out my script and use parts of it if you'd like, or let me know and I can help you decypher it and make something custom for you.

 

-Razorpony

Link to comment
Share on other sites

Thanks heavywaters and razorpony.I'm trying out the scripts now

If those don't get you there, you might try the script on the dawn/ dusk fang sword found in the shivering isles. it switches one sword mesh for another every 12 hours or so. I'll watch this post, so just let me know if I can help w/ this, or if you need help pulling the scripts you need.

GS

Link to comment
Share on other sites

  • Recently Browsing   0 members

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