A step closer to custom NPC's... menu

Shout-Out

User Tag List

Results 1 to 10 of 10
  1. #1
    diviee3's Avatar Sergeant Major
    Reputation
    16
    Join Date
    Jan 2010
    Posts
    176
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A step closer to custom NPC's...

    Ok guys... I've almost solved it... The animations on an .m2 file are played one after another... this means that if we edit a custom .m2 model that has two animations in it, and tweak the first animation to start and end at certain frames, and do that for the second animation aswell, then we can assign them to for example "stand" and "run".

    The only problem is, when i convert a custom .3ds model to a .m2 it just has 1 animation id: "Stand". I can change it to for example "run", so that it only triggers when the model is running. I can also set the start/end position at any given frame i want.

    What i can't do, is add a complete new animation id... Glitchy's MES can edit them in all ways but it cant add another one. So my question is, does anyone of the legendary mmowned users have found a way or a program to add a complete new animation id to a .m2 model. It doesn't matter if it has no data in it, because i can add that later. Just a plain empty new animation id.

    Please note that custom npc's means for example play as anime characters, models from other games, etc etc. I've been trying to figure this out since i started to model edit but this is blocking me...
    WARNING: The above post may contain sarcasm and/or sophisticated satire. Any psychological damage sustained is purely your fault.

    A step closer to custom NPC's...
  2. #2
    Tigurius's Avatar Member
    Reputation
    300
    Join Date
    Jun 2008
    Posts
    519
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Animation Sequences are used to assign the fram(1.x) to the animations, so you can add one there.
    For 3.x each animation has its own timeline so no frame tweaking needed.
    Like my work? Support Me! ;D

  3. #3
    =-Hope-='s Avatar Banned
    Reputation
    1
    Join Date
    Dec 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't there alot of guides about custom NPC's out there?

  4. #4
    [Soul Eater]'s Avatar The God King of Tails
    Reputation
    619
    Join Date
    Jan 2007
    Posts
    1,918
    Thanks G/R
    3/22
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by =-Hope-= View Post
    Isn't there alot of guides about custom NPC's out there?
    Please note that custom npc's means for example play as anime characters, models from other games, etc etc. I've been trying to figure this out since i started to model edit but this is blocking me...
    Please read the whole content before you post something, that way you do know it is about model editing and not emulation.

    As for the topic, does the same applies to 4.x models ? Because Ive browsed through the MPQ's and now models also got .anim files assigned to them, are those now responsible for the animations or?

    Do the impossible, see the invisible
    Row row, Fight the power.

  5. #5
    Tigurius's Avatar Member
    Reputation
    300
    Join Date
    Jun 2008
    Posts
    519
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The anim files already where there in 3.x, in 4.x the camera system and the particle system has changed, aswell as the texture units got removed (this is what I know yet).
    The *.anim files have some animation timelines pointing to the them and then the same structure just not in the m2, but in the anim file.
    Like my work? Support Me! ;D

  6. #6
    diviee3's Avatar Sergeant Major
    Reputation
    16
    Join Date
    Jan 2010
    Posts
    176
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For 2.x goes the same as 1.x. Animations are played one after another in the same timeline. That is what i want to tweak though... i need a program to add an animation id in the file, just the info that it's there. Separate from the frames timeline.
    WARNING: The above post may contain sarcasm and/or sophisticated satire. Any psychological damage sustained is purely your fault.

  7. #7
    Tigurius's Avatar Member
    Reputation
    300
    Join Date
    Jun 2008
    Posts
    519
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    pym2 - Project Hosting on Google Code -> 2.x
    and then some python code ala:
    Code:
    #! /usr/bin/python
    from m2 import *
    
    m2 = M2File("Bear.m2")
    a = Sequence()
    m2.animations.append(a)
    m2.hdr.animations.count += 1
    m2.write("Bear.m2")
    Like my work? Support Me! ;D

  8. #8
    diviee3's Avatar Sergeant Major
    Reputation
    16
    Join Date
    Jan 2010
    Posts
    176
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this IS, exactly what im looking for. Sadly i have never worked with Python in the past... Do you know of any guides, tutorials? Anyways thanks and + rep nonetheless
    WARNING: The above post may contain sarcasm and/or sophisticated satire. Any psychological damage sustained is purely your fault.

  9. #9
    Tigurius's Avatar Member
    Reputation
    300
    Join Date
    Jun 2008
    Posts
    519
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A very good openbook is Galileo Computing :: Python
    but it's in german, so try google translate:
    Google Übersetzer
    Like my work? Support Me! ;D

  10. #10
    diviee3's Avatar Sergeant Major
    Reputation
    16
    Join Date
    Jan 2010
    Posts
    176
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Meh thanks. I do know a bit german. But at this point i don't really feel like learning a complete new language, my head is still full of php and vb.net and lua etc. I was hoping this could be done someway easier... I can remember you released a program some time ago with a similar function?
    Last edited by diviee3; 11-05-2010 at 08:16 AM.
    WARNING: The above post may contain sarcasm and/or sophisticated satire. Any psychological damage sustained is purely your fault.

Similar Threads

  1. Creating custom NPCs
    By Cliffl7 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 11-11-2007, 05:37 AM
  2. Custom NPCs
    By fourn443 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 10-29-2007, 05:10 AM
  3. Get Custom Npc/Mob for your server
    By Acespades in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 09-23-2007, 02:24 PM
  4. Custom Npc
    By scottmiller in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 09-01-2007, 08:18 PM
  5. One step closer to being cyborgs...
    By Flying Piggy in forum Community Chat
    Replies: 18
    Last Post: 06-17-2007, 03:07 PM
All times are GMT -5. The time now is 11:09 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search