Server Totals
Elysia - (2)
Mikona - (1)
Le'Or - (0)
Ferrell - (0)
M'Chek - (0)
Deglos - (0)
Wilderness - (0)
Visimontium - (0)
Underdark - (0)
Total players: 3
Gallery

Links Menu

Scripting dictionary/translation

Moderators: Nighthawk4, Dungeon Masters

Scripting dictionary/translation

PostAuthor: Narwen Sylva » Fri Jun 06, 2003 2:05 pm

Okay, I'll try to explain what I'm looking for. I'm trying to find a list of the different animations so that I can create some custom NPC moves.

Example: I want to make a priest-in-training alternate between worshipping and reading. I think I can write a script for that with my limited ability, but I need to know what those actions are called first. I checked out the NWN Lexicon, and I might be missing something, but I couldn't find what I'm looking for there. Is there some comprehensive list somewhere?

(PS-That would be an on heartbeat, right? And I could randomize it too?)

Thanks, this girl is FAR from a programmer.

Narwen Sylva
Knight of Useless Drivel
 
Posts: 53
Joined: Wed Jan 15, 2003 4:03 pm
Location: NYC

PostAuthor: Actually » Fri Jun 06, 2003 5:49 pm

This might help:

http://www.baal-spy.org/NWN/

They've got a very comprehensive list of the names and basic descriptions of all the visual effects and animations.

Bye Now,
Jerry Cornelius - Many PU's were changed to NAPU's on that day!

Actually
Sage
 
Posts: 1823
Joined: Sat Dec 14, 2002 10:11 pm
Location: Red Zone: Cuba

PostAuthor: Aloro » Fri Jun 06, 2003 6:28 pm

Avoid heartbeats at all costs... they are wretched hogs of CPU cycles. In a PW, heartbeats are the knell of death.

For animations, I'd suggest using triggers, so e.g. the cleric would kneel and pray for a bit then read when a PC walks by.

To find all the available animations, go into the toolset, open up a script, type "animat" in the box in the upper right, and then click on "constants". This will produce a list of all constants with "animat" in their names (standard animations all start with ANIMATION_).

Finally, the single best reference for any scripter is the NWN Lexicon ( http://www.reapers.org/nwn/reference/ ).

- Aloro
User avatar
Aloro
Team Member; Retired with Honors
 
Posts: 12810
Joined: Sat Dec 28, 2002 5:11 am
Location: Rainbow's End

PostAuthor: Jordicus » Fri Jun 06, 2003 6:32 pm

or you could just download one of the existing emote wand scripts and just copy the functions out of that....
User avatar
Jordicus
Team Member; Retired with Honors
 
Posts: 8048
Joined: Tue Jan 21, 2003 3:46 pm
Location: Whitehall, PA (GMT -4)


Return to NWN Scripting

Who is online

Registered users: Bing [Bot]