lfnetwork.com mark read register faq members calendar

Thread: Problem finding right Animation
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-2012, 09:38 AM   #1
harIII
Veteran
 
harIII's Avatar
 
Join Date: Feb 2008
Posts: 983
Helpful! 
Problem finding right Animation

I'm trying to write a script that will have a character bend over and pick up something off the ground but I'm not having any luck. The closest thing I could find in the animation.2da file was number 40, pick up from ground. However it turned out that the name and the actual animation are two different things, the npc turned out to be sitting at a computer typing on it. Does anyone know what the number for the animation I'm looking for it?

Here's my script if anyone needs to look at it:

Quote:
void main() {

object oThell=GetObjectByTag("thell1");
AssignCommand(oThell, SetFacingPoint(Vector(6.67152, 0.0, 1.94770)));

AssignCommand (oThell, ActionPlayAnimation( 40, 1.0, 6.0));



object oHolocron = GetObjectByTag("holocron");
AssignCommand (oHolocron,ActionDoCommand(DestroyObject(oHolocron )));

}
harIII is offline   you may: quote & reply,
Old 05-21-2012, 10:10 AM   #2
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,286
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
Just look in nwscript. Under animations there should be one called get low or something like that, I've used it a lot and that, from what I've gathered, is what you're looking for.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 05-21-2012, 11:33 AM   #3
harIII
Veteran
 
harIII's Avatar
 
Join Date: Feb 2008
Posts: 983
Helpful! 
Could you send me an example script of what you use? I'm having trouble trying to find what it is you're talking about.
harIII is offline   you may: quote & reply,
Old 05-21-2012, 11:43 AM   #4
newbiemodder
Gentleman Modder
 
newbiemodder's Avatar
 
Join Date: Feb 2009
Location: Chicago
Posts: 706
Veteran Modder 
Har...instead of on animation 40 in your script...try 10040.....you need to add 10000 to the row number.


Who's more foolish, the fool or the fool that follows?

Just exactly what is a head-piece to the Staff of Ra?

http://www.lucasforums.com/showthread.php?t=206819

http://www.lucasforums.com/showthread.php?t=206541

http://www.lucasforums.com/showthrea...t=newbiemodder
newbiemodder is offline   you may: quote & reply,
Old 05-21-2012, 12:36 PM   #5
harIII
Veteran
 
harIII's Avatar
 
Join Date: Feb 2008
Posts: 983
Helpful! 
OMG, it works! Thanks fellas.
harIII is offline   you may: quote & reply,
Old 05-22-2012, 12:17 PM   #6
Hassat Hunter
Forumite
 
Join Date: Jan 2010
Posts: 560
IIRC 10000 is indeed using animations.2da animations.
Just plain low numbers (like 40) are using stuff from nwnscript.nss. Some of them work too, and can be found there, and are used around the game (TSL at least).
They overlap... well, pretty much nowhere.
Hassat Hunter 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 > Problem finding right Animation

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 01:22 PM.

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