tag:blogger.com,1999:blog-4427578217129579633.post868070167409488619..comments2022-07-18T06:34:05.506-04:00Comments on Delak's Blog: Screen Shot 2/05/2008Delakhttp://www.blogger.com/profile/13899408225297158759noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-4427578217129579633.post-86578539054385172482008-02-06T15:14:00.000-05:002008-02-06T15:14:00.000-05:00Yes it is, I thought maybe it was because of some ...Yes it is, I thought maybe it was because of some creature item like claws or skin but I removed all of that and it still didn't work. Very odd but at least I have a good work around.Delakhttps://www.blogger.com/profile/13899408225297158759noreply@blogger.comtag:blogger.com,1999:blog-4427578217129579633.post-26014817128549879142008-02-06T14:42:00.000-05:002008-02-06T14:42:00.000-05:00Wow - I just learned a few things here.Hmm... stra...Wow - I just learned a few things here.<BR/><BR/>Hmm... strange with the script not working with Dire form.Jclefhttps://www.blogger.com/profile/12974504403280077032noreply@blogger.comtag:blogger.com,1999:blog-4427578217129579633.post-49200242571032746232008-02-06T08:11:00.000-05:002008-02-06T08:11:00.000-05:00Problem Solved. It looks like the gb_statue_sp scr...Problem Solved. It looks like the gb_statue_sp script does not like to work on a Dire Rat for some reason. So i just put it on a rat made that rat bigger and it all works fine.Delakhttps://www.blogger.com/profile/13899408225297158759noreply@blogger.comtag:blogger.com,1999:blog-4427578217129579633.post-8536745710470559382008-02-05T21:22:00.000-05:002008-02-05T21:22:00.000-05:00Here is the script I have on the rat's onSpawn scr...Here is the script I have on the rat's onSpawn script:<BR/><BR/>// gb_statue_sp<BR/>/*<BR/> Causes creature to spawn in as a statue.<BR/> <BR/> Clears all creature scripts, sets as plot, applies petrify, etc.<BR/> <BR/> Local vars used with this script:<BR/> (variable set "b_effect")<BR/> int EFFECT - the visual duration effect (defualts to 0 - VFX_DUR_BLUR)<BR/> Example duration effect values:<BR/> int VFX_NONE = -1;<BR/> int VFX_DUR_BLUR = 0;<BR/> int VFX_DUR_SPELL_FLESH_TO_STONE = 721;<BR/> int VFX_SPELL_DUR_BODY_SUN = 924;<BR/> <BR/>*/<BR/>// ChazM 3/28/07<BR/><BR/>#include "NW_I0_GENERIC"<BR/>#include "ginc_event_handlers"<BR/><BR/>void main()<BR/>{<BR/> object oTarget = OBJECT_SELF;<BR/> SetOrientOnDialog(oTarget, FALSE);<BR/> <BR/> effect ePetrify = EffectPetrify();<BR/> <BR/> int iEffect = GetLocalInt(oTarget, "EFFECT");<BR/> <BR/> if (iEffect != VFX_NONE)<BR/> {<BR/> effect eDur = EffectVisualEffect( iEffect );<BR/> ePetrify = EffectLinkEffects(eDur, ePetrify);<BR/> } <BR/> <BR/> ApplyEffectToObject(DURATION_TYPE_PERMANENT, ePetrify, oTarget);<BR/> PrettyDebug(GetName(oTarget) + " - petrified by spawn");<BR/> <BR/> // prevent from being bumpable<BR/> SetBumpState(oTarget, BUMPSTATE_UNBUMPABLE);<BR/> <BR/><BR/> // No need to have event handlers if we are just standing here<BR/> // (Actually, the empty set defualts to something. To get truly <BR/> // nothing we must use the nothing scripts).<BR/> SetAllEventHandlers(oTarget, SCRIPT_OBJECT_NOTHING);<BR/> <BR/> // except for dialog in case we want to talk. (need special conv. script)<BR/> SetEventHandler(oTarget, CREATURE_SCRIPT_ON_DIALOGUE, "gb_statue_conv");<BR/> <BR/> // make plot so creature is indestructable <BR/> SetPlotFlag(oTarget, TRUE);<BR/> <BR/> // Don't run the standard script since all we want is for the creature<BR/> // to be permanently paralyzed like a statue, so no treasure generation,<BR/> // setting AI flags, etc.<BR/> <BR/> // ===================================================================<BR/> // now run the standard spawn. This may run other scripts, create treasure, and set various flags<BR/> //ExecuteScript(SCRIPT_DEFAULT_SPAWN, OBJECT_SELF);<BR/> <BR/>}<BR/><BR/>And the variable EFFECT = 721Delakhttps://www.blogger.com/profile/13899408225297158759noreply@blogger.comtag:blogger.com,1999:blog-4427578217129579633.post-68633706868939096682008-02-05T16:58:00.000-05:002008-02-05T16:58:00.000-05:00Try sticking an effect on him - like paralyze, pet...Try sticking an effect on him - like paralyze, petrify or something (place the code in the OnSpawn event handler).<BR/><BR/>Do you script at all?Jclefhttps://www.blogger.com/profile/12974504403280077032noreply@blogger.comtag:blogger.com,1999:blog-4427578217129579633.post-85382401934526042082008-02-05T15:16:00.000-05:002008-02-05T15:16:00.000-05:00Thank you jclef. I am running into a minor issue w...Thank you jclef. I am running into a minor issue with the rat on top of the altar. I can't seem to get him to stay still, it always wants to use its idle animations.Delakhttps://www.blogger.com/profile/13899408225297158759noreply@blogger.comtag:blogger.com,1999:blog-4427578217129579633.post-54744119417912820652008-02-05T14:21:00.000-05:002008-02-05T14:21:00.000-05:00Hellz yeah, the altar of the Rat God. Sweet! I di...Hellz yeah, the altar of the Rat God. Sweet! <BR/><BR/>I did some reading up on the classic PnP adventure of this title. I'm more excited now - Keep up the good work, Delak, I'm looking forward to this one!Jclefhttps://www.blogger.com/profile/12974504403280077032noreply@blogger.com