Statues in NWN

Moderator: Event DM

Post Reply
User avatar
Neve
Prince of Bloated Discourse
Posts: 192
Joined: Mon Apr 14, 2003 4:09 pm
Location: The Netherlands
Contact:

Statues in NWN

Post by Neve » Sun Sep 14, 2003 12:36 pm

I remember people trying to get statues with petrify, but the statues always moved their head after. I just found an easy function which can be used to create staturs which don't move heads. Just apply the following on them onSpawn, or during an animation if you want them to take on a different stance.

Code: Select all

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_DUR_FREEZE_ANIMATION), OBJECT_SELF);
I bet it's been posted before, but I wanted to share it anyway :)
- As you gaze unknowingly into the seemingly infinite depths of the optics of this altogether passionate embodiment of insatiability, you experience a gradual realisation that the heavily-embellished vocabulary scattered lavishly throughout the sentence you are currently reading is indisputably nothing greater than a generous ration of masculine bovine faeces.
Rat Bastard!!!
Newbie
Posts: 1
Joined: Sun Jul 27, 2003 6:39 pm
Contact:

Post by Rat Bastard!!! » Sat Oct 04, 2003 7:30 pm

Great script, I wrote a similar one a month ago for a dragon statue I wanted in my city. But I was wondering if it was possible to make it so the statue didn't have the talk too indicator when you hovered over it or showed up when you hit the tab key.
User avatar
KinX
Elder Sage
Posts: 4965
Joined: Tue Sep 10, 2002 2:53 pm
Timezone: GMT +1

Post by KinX » Thu Jan 15, 2004 12:04 pm

i just used this script for some statues i'm making. To test it i attacked it and it started following me stuck in that pose. It was actually quite amusing.

Is there anyway i can make statues that won't attack back or go hostile? in other words, can i make one that'll just stand there regardless of what happens?
Never argue with an idiot, they'll drag you down to their level and beat you with experience

Image

This statement is false
User avatar
JollyOrc
Elder Sage
Posts: 3984
Joined: Fri Jan 17, 2003 11:41 am
Timezone: Europe, CE(S)T
Location: Germany
Contact:

Post by JollyOrc » Thu Jan 15, 2004 12:13 pm

try removing all the other onxxx scripts from the npc
User avatar
KinX
Elder Sage
Posts: 4965
Joined: Tue Sep 10, 2002 2:53 pm
Timezone: GMT +1

Post by KinX » Thu Jan 15, 2004 12:55 pm

all other scripts have been removed. The only one i have is that onSpawn script above.

I guess i need to add a script when the statue gets attacked. And i don't think there's anyway to stop them from going hostile, but it'll have to be looked at.

Even if the scripts don't work, i gave the statues armour that basically makes them immune to everything, so anyone attacking them will get a nasty surprise. Serves 'em right too.
Never argue with an idiot, they'll drag you down to their level and beat you with experience

Image

This statement is false
User avatar
tindertwiggy
Legacy DM
Legacy DM
Posts: 6905
Joined: Tue Jul 16, 2002 12:20 am
Location: Newish England
Contact:

Post by tindertwiggy » Thu Jan 15, 2004 1:40 pm

You can make it so an npc cannot move in the properties. Try movement speed.
Happiness is baked with one part bat guano, one part sulfur.
User avatar
KinX
Elder Sage
Posts: 4965
Joined: Tue Sep 10, 2002 2:53 pm
Timezone: GMT +1

Post by KinX » Thu Jan 15, 2004 4:29 pm

tindertwiggy wrote:You can make it so an npc cannot move in the properties. Try movement speed.
hehe, i shoulda had more of a look around in those properties.

Thanks
Never argue with an idiot, they'll drag you down to their level and beat you with experience

Image

This statement is false
User avatar
markschouten
Scholar of Fools
Posts: 381
Joined: Tue Nov 25, 2003 9:23 pm
Location: Netherlands (GMT+2)

Post by markschouten » Thu Jan 15, 2004 5:11 pm

Ah thanks , couldn't find a working script :)
Personality Disorder:
Peregryne Twostep: ..And with hindering a Sword in the executuion of his duties
Riagrin Squampleleaf: A sword? Where?
Peregryne Twostep: ~ I ~ am a Sword..
Image
User avatar
KinX
Elder Sage
Posts: 4965
Joined: Tue Sep 10, 2002 2:53 pm
Timezone: GMT +1

Post by KinX » Thu Jan 15, 2004 6:57 pm

just an addition to making statues. On the creatures advanced tab in their properties. If you click on immortal and plot, you can attack them and they won't go hostile.

Noted a wierd thing with the original posted script above. If you apply that to demi-humans, in-game they look like they're floating in mid-air.
Never argue with an idiot, they'll drag you down to their level and beat you with experience

Image

This statement is false
Post Reply