You must be logged in to post messages.
Please login or register

Modding and Scripting
Moderated by Yeebaagooon, nottud

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Introducing AMP, the AoM Model Plugin (formerly ABE)
« Previous Page  1 2 3 ··· 10  Next Page »
posted 25 January 2014 01:39 AM EDT (US)   
AoM Model Plugin

version 7.1.2016.0512
With this 3ds Max plugin, you can edit 3D model files for Age of Mythology from 3ds Max's UI.
A Beginner’s Guide to Modeling With 3ds Max and ABE by Android GRRR

Features

  • Attachpoints -- Add, remove, and edit attachpoints straight from 3ds Max.
  • Custom Frames -- Have a custom amount of frames for any duration of time.
  • Custom Materials -- Use any number of materials, with a selection of various special properties for each.
  • Animated UVs -- Animate your textures to create cool effects.

    Future Plans
  • Support for Vertex Color brgs
  • Auto-extract and convert ddts
  • Figure out all the unknown material flags
  • Clean up the code (very messy, and unoptimized)
  • Support for particle brgs

    Credits
  • Alexastor - Provided suggestions, and alerted me about bugs.
  • Android GRRR - Extensive testing across various versions.
  • Dnas - Teaching me how to get only the required [texture]vertices.
  • EmjeR - Further improved our knowledge of the brg file, including attachpoints.
  • inconnuxxx2009 - Figured out the variable animation part of brg.
  • Ryder25 - For creating the program. (tasevp(at)yahoo(dot)com)
  • Scorpion Ra - Tested the program, gave me general 3ds Max knowledge, and made the promo picture.
  • WarriorMario - Assisted me in figuring out certain parts of the brg.
  • Ykkrosh - First to figure out parts of brg file.
  • famfamfam.com - For the "silk" menu icons.



    SOURCE CODE

    DOWNLOAD


    I have no idea what the lowest version of 3ds Max you can use, so I'd appreciate it if you're using an older one you tell me which version it is.
    Make sure to follow the workflow as specified in the readme.

    [This message has been edited by Ryder25 (edited 12-15-2020 @ 08:30 PM).]

  • Replies:
    posted 25 January 2014 05:28 AM EDT (US)     1 / 243  
    Nice job!!

    >> www.EmjeR.com <<

    Mods - EmjeR's eyecandy pack :: Improved Greeks look :: Ghengis Khan - Mods
    Programs - BCTool Attachpoint Editor :: BCTool :: Words - Programs
    Games - 0 AD :: Stronhold 2 :: BfME 2 - Games
    !! Proud member of WildFire Games !!
    posted 25 January 2014 11:17 AM EDT (US)     2 / 243  
    Oh myyy... I have been waiting for this for the last 10 years!!!

    Amazing job, Tasev! Special thanks to everyone in the credits as well!!!

    Newbies; remember you can get 3ds Max for free if you're a secondary school or university/college student!
    posted 25 January 2014 12:23 PM EDT (US)     3 / 243  
    so wait this is basically like gmax but its custom built for aom and user friendly?

    posted 25 January 2014 12:26 PM EDT (US)     4 / 243  
    No, it's an exporter for 3ds max (which is the pro version of gmax) that enables us to create new models for the game in ways never thought possible! This is a good time to get into modding, aom expert
    posted 25 January 2014 04:28 PM EDT (US)     5 / 243  
    Tasev really has done amazing work here. I think we've all been waiting for the freedom to use all the functionality of BRGs.

    We can use attachpoints without having to enter in values for each frame.

    You can animate uv coordinates for things like flowing lava or flames running up walls.

    This plugin can even do things like combining player colour with self illumination and transparency to make a player colour phoenix style model.

    So many options, now we just have to get to work making awesome new models!
    posted 25 January 2014 04:45 PM EDT (US)     6 / 243  
    You should really try the mesh format "Rotate" and Mesh property "FollowTerrain" if you do not know what they do. IMO those 2 are the best after Animated UVS or "MovingTex"

    We cannot rely on luck to be successful.
    posted 25 January 2014 04:45 PM EDT (US)     7 / 243  
    Also, we should tell everybody loud and clear that the last hurdle in AoM modding has been cleared. I would hope that the news attracts newcomers to our community. I might write a beginner's guide for 3ds Max and Tasev's plugin for the same purpose.

    [This message has been edited by Android GRRR (edited 01-25-2014 @ 04:50 PM).]

    posted 25 January 2014 08:19 PM EDT (US)     8 / 243  
    This is a good time to get into modding, aom expert
    i have experience in modding.

    posted 25 January 2014 08:53 PM EDT (US)     9 / 243  
    I didn´t tought I´ll live long enough to see this done, congrats Tasev!
    posted 26 January 2014 00:40 AM EDT (US)     10 / 243  
    Thanks all, I just wish the dl managers would review the file already, so I can get your feedback.

    @Emjer, did ykkrosh tell you anything about the ddt's? I want to convert them to dds, but I've only managed to get the one with DXT1 compression working.

    [This message has been edited by Tasev (edited 01-26-2014 @ 02:53 AM).]

    posted 26 January 2014 01:55 AM EDT (US)     11 / 243  
    Now i gotta wait, when a true .exe thingy comes/lot of the bugs are fixed.
    I sure with this that i would be able to make a nice spear chariot/cut nostalgic units with this, unless someone plans on doing that already...

    (actually i think i may not be able to do that :P)
    posted 26 January 2014 10:35 AM EDT (US)     12 / 243  
    nope, but he figured out pretty much everything of it i believe. his file format document is in the aomed source code. It's a different format languages than the one i used. but the rules are at the top of the document. There is also the bar and other formats

    >> www.EmjeR.com <<

    Mods - EmjeR's eyecandy pack :: Improved Greeks look :: Ghengis Khan - Mods
    Programs - BCTool Attachpoint Editor :: BCTool :: Words - Programs
    Games - 0 AD :: Stronhold 2 :: BfME 2 - Games
    !! Proud member of WildFire Games !!
    posted 26 January 2014 01:28 PM EDT (US)     13 / 243  
    As far as I remember, there is one particular DDT format that only AoMED 0.6a can convert, with later versions freezing/taking ages to do the job. I forgot which one, unfortunately.

    [This message has been edited by Android GRRR (edited 01-26-2014 @ 01:43 PM).]

    posted 26 January 2014 03:34 PM EDT (US)     14 / 243  
    I thought it couldn't handle terrain textures or something.
    Anyways all I know is that the first 4 bits after RTS3 define the texture properties
    First bit = the same number as defined between the "[]" brackets when you convert a texture. 0 used to be transparency and 1 player colour but I'm not sure about this anymore since something in the brg also causes player colour or tranparency.
    Second bit = 0 for no alpha(Animals) 1 for an alpha(almost every unit ingame) 4 for 4bit grayscale alpha 8 for 8bit grayscale alpha
    Third bit = not sure most of the time its 5
    Fourth bit = mipmap levels
    Thats all I know and this thread ofc
    http://aom.heavengames.com/cgi-bin/forums/post.cgi?action=reply&fn=19&tn=29352&f=19,29352,0,20
    just scroll a bit down untill you find PrplPplEater post about the format.
    I also think I saw a post of ykkrosh explaining the format a bit but I can't find the thread anymore.

    We cannot rely on luck to be successful.
    posted 26 January 2014 05:02 PM EDT (US)     15 / 243  
    I thought it couldn't handle terrain textures or something.
    Possibly, or some UI-related stuff.

    EDIT: The file is up but I can't get it to work . When trying to open a BRG it produces the following error message:
    Could not load file or assembly 'MiscUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d3c42c4bfacf7596' or one of its dependencies. The system cannot find the file specified.
    I copied the MS file and the two DLLs into the same folder, producing
    -- Runtime error: dotNet runtime exception: Could not find file 'C:\Program Files\Autodesk\3ds Max 2014\scripts\AoMEngineLibrary.dll'.
    I also tried running Max with administrator rights and copying ABE into all kinds of other locations, none of which worked. I'm using 3ds Max 2014 and Windows 7.

    [This message has been edited by Android GRRR (edited 01-27-2014 @ 01:56 PM).]

    posted 27 January 2014 03:37 PM EDT (US)     16 / 243  
    Sorry if my directions are confusing. Put the two dlls in the main 3ds max folder, and the ms file in the scripts folder.
    posted 27 January 2014 04:36 PM EDT (US)     17 / 243  
    Well the readme does say "Extract everything from the 7zip file to your 3ds Max directory" and not copy everything in the same folder .
    It does work for me but it doesn't load properly. I did not try the export function yet tho.

    We cannot rely on luck to be successful.
    posted 27 January 2014 04:56 PM EDT (US)     18 / 243  
    Thanks, Tasev.

    Could anyone help me with my first steps? I can open/save an existing BRG, and modify it in the ABE interface. However, I cannot successfully export/import a model to/from Max, as described in the readme. Exporting seems to work, but when I try to import it back into ABE (with or without having made changes in Max) I get
    Non-negative number required. Parameter name: capacity
    or
    Object reference not set to an instance of an object.
    EDIT: It appears like the second error only occurs after the first one, on the second and subsequent attempts.

    [This message has been edited by Android GRRR (edited 01-27-2014 @ 05:11 PM).]

    posted 27 January 2014 07:30 PM EDT (US)     19 / 243  
    @Android Do you use any type of chat program? It'll be a lot easier to help, and solve the bugs if I can talk to you quickly back and forth.
    posted 27 January 2014 08:00 PM EDT (US)     20 / 243  
    I don't, I'm afraid. It's not too bad though because I'll be busy over the next couple of days, anyway. Do let me know if you have any ideas how to fix this and post them here, maybe it'll be helpful for other people as well! Thanks in advance

    How is the rest of you guys getting on?
    posted 27 January 2014 10:39 PM EDT (US)     21 / 243  
    I have updated the file. Hopefully this will fix the import bugs.

    [This message has been edited by Tasev (edited 01-28-2014 @ 00:02 AM).]

    posted 28 January 2014 06:10 AM EDT (US)     22 / 243  
    I downloaded the update and importing works now! Exciting times. However, I noticed that the program does not export the mesh's animation to Max. It produces the correct number of frames, and the attachpoints are moving as they should, but the mesh is basically just a still.

    Then, when importing it back into ABE, the settings always change to #mesh=1 and time=0 and the numbers can't be changed (only TimeMult and U091) so that in AoM you get a static model.

    EDIT: Is this happening only for me?

    EDIT2: What version of Max are you using, Tasev? I'm using 2014.

    [This message has been edited by Android GRRR (edited 01-28-2014 @ 02:21 PM).]

    posted 28 January 2014 05:11 PM EDT (US)     23 / 243  
    I'm using 2014 too, and I believe it also works on 2013. I have not tried any other ones.

    What model did you try this on? I've tested several models, and it seems to export to max just fine for me.

    [This message has been edited by Tasev (edited 01-28-2014 @ 05:18 PM).]

    posted 28 January 2014 05:49 PM EDT (US)     24 / 243  
    Maybe contact an admin to post this grande news on the homepage!

    >> www.EmjeR.com <<

    Mods - EmjeR's eyecandy pack :: Improved Greeks look :: Ghengis Khan - Mods
    Programs - BCTool Attachpoint Editor :: BCTool :: Words - Programs
    Games - 0 AD :: Stronhold 2 :: BfME 2 - Games
    !! Proud member of WildFire Games !!
    posted 28 January 2014 06:02 PM EDT (US)     25 / 243  
    ^ Wait until the bugs are fixed so that we don't scare potential newcomers away!

    Is it working for you, EmjeR?

    Here's what I do:

    start max
    run script - ABE
    open
    export (animation is lost - only the attachpoints move)
    select object
    import (ABE changes settings to #mesh=1 and time=0 (2 and 4 for the priest, for some reason). I can't change them back (only TimeMult and U091). It's like the fields are read-only.)

    Models tested:
    archer n throwing axeman_idlea
    hero g atalanta_walka
    special e phoenix_attacka
    special e priest_boreda

    EDIT: For ease of use it'd be good to ask for default open/save directories, respectively - just a suggestion

    [This message has been edited by Android GRRR (edited 01-28-2014 @ 06:13 PM).]

    « Previous Page  1 2 3 ··· 10  Next Page »
    Age of Mythology Heaven » Forums » Modding and Scripting » Introducing AMP, the AoM Model Plugin (formerly ABE)
    Top
    You must be logged in to post messages.
    Please login or register
    Hop to:    
    Age of Mythology Heaven | HeavenGames