Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > Neverwinter Nights 1 & 2 Also SoU & HotU Forum
FAQ Calendar Arcade Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 10-25-2004, 08:47 AM   #1
Ziroc
Ironworks Webmaster

     
     Bow to the Meow

 

Join Date: January 4, 2001
Location: Lakeland, Florida
Age: 51
Posts: 11,720
I cannot seem to figure it out. I use:


==================
effect vfx = EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, vfx, OBJECT_SELF);

EffectPolymorph(POLYMORPH_TYPE_SUCCUBUS);
------------------

I know I need somehow to add an OBJECT_SELF to the Polymorph--I think.. but what I want to happen is: 1. she cast a spell effect on her self (dur) and then polymorph into a succubus.

Any ideas?

Thanks! [img]smile.gif[/img]
__________________
Ziroc™
Ironworks Gaming Webmaster
www.ironworksgaming.com

The Great Escape Studios - 2D/3D Modeling
www.tgeweb.com & Ziroc's Facebook Page
Visit My Flickr Photo Album
Ziroc is offline   Reply With Quote
Old 10-25-2004, 09:11 AM   #2
Legolas
Jack Burton
 

Join Date: March 31, 2001
Location: The zephyr lands beneath the brine.
Age: 39
Posts: 5,459
The Polymorph is as much an effect as the visage visual effect is.
So, you need to apply that one as well.

Quote:
effect eMorph = EffectPolymorph(POLYMORPH_TYPE_SUCCUBUS);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMorph, OBJECT_SELF);
Also, to keep effects like these from being dispelled by players, if they are not supposed to be reversable, make them supernatural effects.

What this does is polymorph her on the spot. Alternatively you could use
Quote:
SetCreatureAppearanceType(OBJECT_SELF,APPEARANCE_T YPE_SUCCUBUS);
which does the same thing except this change is non-magical, cannot be dispelled, and sets the proper movement speed and creature size.

Neither of the above involves any spellcasting effects however.

To do that, you need to use the ActionCastSpellAtObject or ActionCastFakeSpellAtObject commands.

Quote:
ActionPauseConversation();
ActionCastFakeSpellAtObject(SPELL_POLYMORPH_SELF, OBJECT_SELF);
effect eVFX = EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE);
effect eMorph = EffectPolymorph(POLYMORPH_TYPE_SUCCUBUS);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(eVFX), OBJECT_SELF);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(eMorph), OBJECT_SELF);
ActionResumeConversation();
Again, SupernaturalEffect is optional and there are alternatives to actually achieve the shapechange effect.

EDIT: The reason you do not need to assign the Action commands is that the conversation pausing/resuming doesn't need it as they are voids rather than actions, and the casting effect is done by the caller, OBJECT_SELF, by default.

[ 10-25-2004, 09:14 AM: Message edited by: Legolas ]
Legolas is offline   Reply With Quote
Old 10-25-2004, 09:22 AM   #3
Ziroc
Ironworks Webmaster

     
     Bow to the Meow

 

Join Date: January 4, 2001
Location: Lakeland, Florida
Age: 51
Posts: 11,720
Totally awesome, man! THANK YOU!!! This is exactly what I need. Wow, you are damn good at scripting! I'll remember to ask you the next time I need some help! WOW!

I am making this non-permanent, which means I can, in DM mode, click on her, and click heal, and she should revert to her old self? Will she have her same dialogue and tags? If so, how do you undo it, or does it wear off over time? Or can you have it last so many minutes or seconds?

Thanks!!!!
__________________
Ziroc™
Ironworks Gaming Webmaster
www.ironworksgaming.com

The Great Escape Studios - 2D/3D Modeling
www.tgeweb.com & Ziroc's Facebook Page
Visit My Flickr Photo Album
Ziroc is offline   Reply With Quote
Old 10-25-2004, 09:35 AM   #4
Legolas
Jack Burton
 

Join Date: March 31, 2001
Location: The zephyr lands beneath the brine.
Age: 39
Posts: 5,459
The dialogue and tags will stay the same even when polymorphed. Since the effect is permanent, it won't wear off, but you can make it wear off by using
Quote:
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eMorph, OBJECT_SELF,180.0);
instead. The 180.0 means it'll last 3 minutes (180 seconds) and you can easily adjust that time to anything you think appropriate.

Alternatively, you can reverse it by casting a dispel magic on or near the succubus.

A DM Heal should work as well, although I'm not 100% certain of that. A simple test should provide the answer to that.

You can also reverse it using the SetCreatureAppearanceType command, not with a dispel magic or DM heal, but with timed scripting or the proper console command. The advantage of this system is it can't be dispelled and it won't show a polymorphed effect on examine. This is actually a downside though, if you intend for the effect to be a true magical polymorph which really should apply to the rules.

[ 10-25-2004, 09:38 AM: Message edited by: Legolas ]
Legolas is offline   Reply With Quote
Old 10-25-2004, 11:24 PM   #5
Larry_OHF
Ironworks Moderator
 

Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 48
Posts: 14,759
woah...too high-tech for this ol' boy...

Larry_OHF is offline   Reply With Quote
Old 10-25-2004, 11:27 PM   #6
T-D-C
Ironworks Moderator
 

Join Date: October 26, 2003
Location: Sydney, Australia
Age: 43
Posts: 4,415
Same here. I'm thinking this is for your witch on the 3rd floor Z ?
__________________
T-D-C is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Polymorph self... is it worth it? mountain_hare Baldurs Gate II: Shadows of Amn & Throne of Bhaal 8 01-13-2006 11:38 AM
Self-PolyMorph Problem-Nalia Pop 'n Fresh Baldurs Gate II: Shadows of Amn & Throne of Bhaal 12 07-04-2005 01:40 PM
polymorph? elianne Baldurs Gate & Tales of the Sword Coast 1 01-16-2003 04:59 AM
Bolt of polymorph (I think)?? Jan Baldurs Gate & Tales of the Sword Coast 4 01-09-2003 02:33 AM
Polymorph to Squirrel Midget Gems Baldurs Gate & Tales of the Sword Coast 5 04-27-2002 05:51 PM


All times are GMT -4. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved