PPather and fences - did it ever work? menu

Shout-Out

User Tag List

Page 4 of 4 FirstFirst 1234
Results 46 to 51 of 51
  1. #46
    Gorzul's Avatar Member
    Reputation
    8
    Join Date
    May 2009
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by tanis2000 View Post
    On the other hand, did anyone figure out if models are actually being misrotated along the Y axis or not?
    If you use ""float dir_y = wi.dir.y - 90;" in your ppather-code the orientation of the models is ok. Small example:



    "float dir_y = wi.dir.y + 90;":


    "float dir_y = wi.dir.y - 90;":

    PPather and fences - did it ever work?
  2. #47
    tanis2000's Avatar Active Member
    Reputation
    39
    Join Date
    Feb 2009
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome Gorzul! Thanks for checking it out!

  3. #48
    Millionarie's Avatar Member
    Reputation
    8
    Join Date
    Jun 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by risyer View Post
    Pather doesn't load most of the M2 models post 3.0.9 since blizzard fixed the ADTs and corrected the file names. In 3.0.9 they where all ending with .mdx. Now most of the ADTs are fixed and the model file names have the correct .m2 ending.

    change:
    Code:
    // change .mdx to .m2
    string file=path.Substring(0, path.Length-4)+".m2";
    to (also import System.IO):
    Code:
    // Change .mdx to .m2 if needed
    string file = path;
    if (Path.GetExtension(path).Equals(".mdx"))
    {
      file = Path.ChangeExtension(path, ".m2");
    }
    To be 100% sure that all the models are loaded right we should take care about ".mdl" files:

    Code:
                //Change .mdl & .mdx to .m2
                string file = path;
                if (Path.GetExtension(path).Equals(".mdx"))
                {
                    file = Path.ChangeExtension(path, ".m2");
                }
                else if (Path.GetExtension(path).Equals(".mdl"))
                {
                    file = Path.ChangeExtension(path, ".m2");
                }
    Anyway sometimes ppather tries to butt some objects like trees, fences etc (error in collision detection code?)

    btw Have anybody integrated liquidvision into ppather?

  4. #49
    Hawker's Avatar Active Member
    Reputation
    55
    Join Date
    Jan 2009
    Posts
    214
    Thanks G/R
    1/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Millionarie - liquidvision is closed source and not cheap.

    Can you explain or verify the mdl change please? I'm trying to incorporate all improvements possible.

  5. #50
    Millionarie's Avatar Member
    Reputation
    8
    Join Date
    Jun 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "LiquidVision will ALWAYS be free!" (c) Welcome to the Frontpage start page,
    however it isn't opensource.
    You can verify mdl change by adding debug output in the WmoFile.cs:
    Code:
    	public override Model Load(String path)
               {
    
                			// Change .mdx to .m2 if needed
                			string file = path;
                			if (Path.GetExtension(path).Equals(".mdx"))
                			{
                    			    file = Path.ChangeExtension(path, ".m2");
                			}
    
    			//Console.WriteLine("Load model " + path);
    			string localPath="PPather\\model.tmp";
    			if(set.ExtractFile(file, localPath))
    			{
    				Model w=new Model();
    				w.fileName=file;
    				ModelFile wrf=new ModelFile(localPath, w);
    				return w;
    			}
    			Console.WriteLine("!!! Can't load " + path); //DEBUG OUTPUT!!!
    			return null;
    		}
    	}
    Without mdl change you'll get something like this:
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webdangle01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webstretch01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webdangle01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webdangle01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webdangle01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webdangle01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webdangle01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webstretch01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\duskwood\passivedoodads\webs\webdangle01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\lanterns\generallantern02.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\lanterns\generallantern03.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\crates\stormwindcrate01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\lanterns\generallantern02.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\passivedoodads\misc\minecars\caveminecarwrecked02.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\lanterns\generallantern03.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\crates\stormwindcrate01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\buckets\cavekoboldbucket.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\elwynn\passivedoodads\shovel\shovel.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\westfall\passivedoodads\crate\westfallcrate.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\westfall\passivedoodads\barrel\westfallbarrel01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\ropes\cavekoboldropecoil.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\lanterns\generallantern03.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\crates\stormwindcrate01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\elwynn\passivedoodads\shovel\shovel.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\passivedoodads\well\well.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\lanterns\generallantern03.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\lanterns\generallantern03.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\azeroth\westfall\passivedoodads\barrel\westfallbarrel01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\passivedoodads\misc\wheelbarrow\caveminewheelbarrow01.mdl
    01:08:02.3593 [Debug] [PPather] !!! Can't load world\generic\human\passive doodads\crates\stormwindcrate01.mdl

  6. #51
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Some nice research here guys, thanks alot

Page 4 of 4 FirstFirst 1234

Similar Threads

  1. [Release] Easiest and dumbest Warden bypass ever (Work on Kronoslol)
    By NotJuJuBoSc in forum WoW EMU Programs
    Replies: 3
    Last Post: 12-09-2016, 09:43 AM
  2. Yahtzee - Best and Funniest Game Reviewer Ever
    By Verye in forum Community Chat
    Replies: 2
    Last Post: 02-16-2008, 10:56 PM
  3. how to make new MPQ's with mac and how to make it work?
    By jaspervdg in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 02-06-2008, 01:50 PM
  4. Replies: 27
    Last Post: 08-13-2007, 07:03 AM
All times are GMT -5. The time now is 12:05 AM. 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