Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-18-2010, 01:07 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Nice work.

Quote:
Originally Posted by zeiksz View Post
my next move is to make actors work
I assume you already have a copy of Windcatcher's great .WLD reference:

http://ignum.dl.sourceforge.net/proj...1.1/wlddoc.pdf

I spent several weeks, a couple of years ago, looking at NPC models in .S3D files and wrote a python program to animate them.

http://www.rama.demon.co.uk/s3danim/s3d.py

And a required include file:

http://www.rama.demon.co.uk/s3danim/eqglib.py

The python script has many dependencies, OpenGL, pygame, and other assorted modules, plus my python code is horrible, as all I was really doing was trying to figure things out rather than write nice code.

That being said, assuming you have Python and all the dependent modules installed, that script will animate Nagafen.



You will need to edit the file to point to where your arena_chr.s3d file is located. Search for this line and edit as appropriate:
Code:
S3DFile = "M:\\Titanium\\arena_chr.s3d"
Once you execute it and the static model of Nagafen appears, just press the V or B keys to cycle through each of his animations (attacking, dying, walking etc).

As I said, the code is horrible, but at least it might help a little in your project. If you have any questions about the code, I probably won't be able to help much as I haven't looked at it in 2 years, and while I understood how it all worked at the time, I can't remember anything about it now
Reply With Quote
 


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 12:57 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3