Register for your free account! | Forgot your password?

You last visited: Today at 02:00

  • Please register to post and access all features, it's quick, easy and FREE!

 

[Guide] Animation Porting

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 17
Received Thanks: 2
[Guide] Animation Porting

Tools needed:
*ModIt:
*ChangeAnimations.py: http://code.google.com/p/pym2/source...eAnimations.py
*PyM2: http://code.google.com/p/pym2/source/browse/trunk/
*A Python Interpreter
*Notepad++ or any other texteditor

Step 1: Find the correct Bones

Open ModIt, navigate to the correct model, then click View->Show model control, enable Bones, disable Render.
Click Edit Model -> Edit Bones.
Now search the Bones of head, shoulders and legs(if you enable a bone in Edit Bones, it will be colored):
You must register and activate your account in order to view images.

Step 2: Edit ChangeAnimations.py to your values

Open ChangeAnimations.py with your texteditor.
line 3 and 4 define the filenames, inName is the Model, which has the Animations, and outName is the Model, which gets them.
In line 57: changeBones = (0,1,2,3,4) you can add bones which you want to be ported but not the bones depending on them.
in line 69 to 88 you need to change the values of Dependent:
eg: Change left shoulder animation of HuF to SkM
Code:
if (Dependent(i,om2,16,ic) & Dependent(j,im2,10,jc)) & (Depth(i,om2) == Depth(j,im2)):
			ChangeAnims(i,j)
			break
becomes
Code:
if (Dependent(i,om2,16,ic) & Dependent(j,im2,9,jc)) & (Depth(i,om2) == Depth(j,im2)):
			ChangeAnims(i,j)
			break
if you want change the left shoulder animation of HuF to the Arakkoa one.

In line 114 you can set the output folder.

Step 3: Run ChangeAnimations.py

To run ChangeAnimations.py you need to have a Python Interpreter installed.
Then ChangeAnimations.py has to be in the same folder like m2.py, wowfile.py etc. from PyM2.
Under Windows, if you've installed a Python Interpreter *.py should automatically be attached to the Interpreter,
so you can double-click on the file and it'll run.
Under Linux you need to add a shebang:
Code:
#! /usr/bin/python
(something like that)
and than execute the file.
Under MacOS I've no idea :P
Now your animation port is finished and you can add your files to your MPQ ;D

Appendix:
Some model information (will be updatet):



Tigurius is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[GUIDE] No Skill Animation with CE
I know that this can be done easily by using the existing bot, and i know the fact that some people having problem with the bot, lastly i hate the...
47 Replies - Aion Hacks, Bots, Cheats & Exploits
Powerfear's Animation Hack Values Guide
PROPS TO Powerfear for the MAYN address and teleporting value and on method! MAYN: 00B844BF Aeria: 00C01467 Look at his thread for process and...
15 Replies - 12Sky2 Hacks, Bots, Cheats & Exploits
Porting Code Help
Hey, I have been trying to port some code into any language, and not having any luck at all. A user on here (Atheuz) gave me some old source to...
2 Replies - General Coding
Porting from the North Dock to Roc Mountain. I TYPED THE CORRECT CODE!
Hey guys, This is the code i pasted in the script. Itīs only the "portpart": "-2625","379","1" "cmd","","" "Inject","745A","68020000"...
1 Replies - SRO Main - Discussions / Questions
.:AgBot:. bot isn't porting to roc
hey i want to bot with agbot at roc but somehow it doesn't wanna port from hotan north dock to roc north dock this is my script; "cmd","",""...
4 Replies - SRO Main - Discussions / Questions



All times are GMT +1. The time now is 02:00.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.