lfnetwork.com mark read register faq members calendar

Thread: script to change npcs shape (morphing)
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-21-2004, 12:32 AM   #1
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,295
script to change npcs shape (morphing)

I thought some people might be interested in this script for their mods. The script changes the npc (or Pc) shape (morphing) during conversations. Added some visual effects too.

Code:
/*
    Turns whoever you want into a gizka
*/

void main() 
{
ActionPauseConversation();
object oNPC;
oNPC = OBJECT_SELF;
effect eDisg = EffectDisguise(DISGUISE_TYPE_C_GIZKA);
ApplyEffectToObject(DURATION_TYPE_PERMANENT,eDisg,oNPC); 
effect eBeam = EffectBeam(2038, OBJECT_SELF, BODY_NODE_HEAD); 
effect eMorph=EffectVisualEffect(1046);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eBeam, oNPC, 5.0);
DelayCommand(0.02, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eMorph, oNPC, 5.5));
ActionResumeConversation();
}
Just change the disguise as you wish. You can turn an NPC into (almost) whatever you want, even an iriaz. Just look at nwscript to find about 300 possibilities under DISGUISE_TYPE_. You can also use DURATION_TYPE_PERMANENT instead of temporary.
I'll try to make a force power out of this.

Last edited by Darth333; 05-21-2004 at 12:46 AM.
Darth333 is offline   you may: quote & reply,
Old 05-21-2004, 12:38 AM   #2
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
Yeah.
Just remember, that gizka can still bite. The gizka disguise is just an illusion.



Last edited by tk102; 05-21-2004 at 10:39 PM.
tk102 is offline   you may: quote & reply,
Old 05-21-2004, 12:43 AM   #3
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,295
Quote:
Originally posted by tk102
Yeah.
Just remember, that gizka can still bite. The gizka disguisse is just an illusion.
I know Would need to change faction too
Darth333 is offline   you may: quote & reply,
Old 05-21-2004, 02:51 AM   #4
Mav
8-Bit Code Monkey
 
Mav's Avatar
 
Join Date: May 2004
Location: A House
Posts: 4,043
Current Game: SWTOR
Great Idea

Turning this into a force power would be awesome
Mav is offline   you may: quote & reply,
Old 05-21-2004, 09:24 AM   #5
Admiral Chemix
Rookie
 
Join Date: Dec 2003
Location: Earth, where else?
Posts: 146
Find ur inner gizka, learn the ways of the gizka, become the gizka. *begins mediation*

LoL, anyways great job finding the morph scripts
Admiral Chemix is offline   you may: quote & reply,
Old 05-21-2004, 12:02 PM   #6
Darth Straker
Forumite
 
Darth Straker's Avatar
 
Join Date: Apr 2004
Location: City 17
Posts: 503
Thumbs up

Another brilliant job, as only you can.


Death Comes To He Who Crosses Me

Download my Sith Armada Mod for KOTOR I:
http://www.pcgamemods.com/5551

Get my other Mods at:
http://www.pcgamemods.com/u/3626/
Darth Straker is offline   you may: quote & reply,
Old 05-21-2004, 02:59 PM   #7
pascalneder009
Junior Member
 
pascalneder009's Avatar
 
Join Date: Jan 2004
Location: Mars
Posts: 264
dumb question but i never tried this, where do i have to paste this script?
pascalneder009 is offline   you may: quote & reply,
Old 05-21-2004, 03:06 PM   #8
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,295
Quote:
Originally posted by pascalneder009
dumb question but i never tried this, where do i have to paste this script?
Paste the script into your notepad and give it a .nss extension.
Then you have to compile the script. Use HazardX script compiler/decompiler available here: http://www.megamods.de/_data/parts/dl.php?file=37

Finally, you can attach it to a dlg file.
Darth333 is offline   you may: quote & reply,
Old 05-21-2004, 03:22 PM   #9
pascalneder009
Junior Member
 
pascalneder009's Avatar
 
Join Date: Jan 2004
Location: Mars
Posts: 264
thanks
pascalneder009 is offline   you may: quote & reply,
Old 05-25-2004, 12:08 PM   #10
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,295
Further to some requests, here is a sample mod of how to use the script:
http://mars.walagata.com/w/darth333/duncmorph.rar

The script is attached to entry no. 4 of the dialog of the Republic officer who greets you on Manaan. Consequently, the script will only fire if you go to Manaan for the first time. (You can warp there if you want "manm26ad" ) The script also spawns Deadeye Duncan past the second set of doors at the same time. SOurce included.
Darth333 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > script to change npcs shape (morphing)

Thread Tools
Display Modes

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 Off

Forum Jump


All times are GMT -4. The time now is 05:57 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.