View Poll Results: what is the most used editor for modding?

Voters
64. You may not vote on this poll
  • MilkShape 3D

    36 56.25%
  • 3dstudio Max

    27 42.19%
  • other

    2 3.13%
Multiple Choice Poll.
Page 7 of 11 FirstFirst 1234567891011 LastLast
Results 121 to 140 of 206

Thread: World - 3dstudio max's scripts

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: MaxScript version for World and WorldCollision files

    Version completely rebuilt and improved with some useful tools, but I have a urgent need for a co-worker because I can't do alone : the settlements version of world file are almost completely dicovered but due to a couple of bytes after damage-transition-strings I can't move towards the end.

    In this image you can see my experiment:
    time to build a colosseum mesh: 2 week
    time to build a colosseum collisions: 1 day
    time to write names, textures string, etc... : 15 min
    time to export to world file : 0.15 s
    per tutto il resto c'è Mastercad XD
    Last edited by johnwhile; March 19, 2011 at 08:17 PM.
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  2. #2

    Default Re: MaxScript version for World and WorldCollision files

    This is truly impressive work johnwile! (+rep in the moment I can)

    (I' like to help, but I'm not a programmer )

  3. #3

    Default Re: MaxScript version for World and WorldCollision files

    ...delete...
    Last edited by johnwhile; April 30, 2011 at 12:02 PM.

  4. #4

    Default Re: MaxScript version for World and WorldCollision files

    I'm not a programmer, i understand maxscript by scratch in one mouth !!

    Look maxscript, is very easy understand how it work.
    In the example you can see Damage Section Class:
    there are some functions like WriteTxt() that write a txt file with the IWTE format to be compatible with Wilddog's tool (a expert modder must have all the tools needed to facilitate the work).
    there are also Read/Write from/to *.world files.

    In the the example you can see there are all my issue in this section, the same issue in other three sections: I can find the true Byte sequence, i tested many many file but nothing.... some few exceptions crash the reading process.

    Maxscript is also very interesting for other things, it's very easy to make tools to facilitate work in general
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  5. #5

    Default Re: MaxScript version of World files and some tools.

    add 010Editor script (structure definition of world file) and some correction of maxscript
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  6. #6
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: MaxScript version of World files and some tools.

    Johnwhile, consider creating several very good screenshots, and then 1) making a thread in the general modding section, and 2) creating a forum-wide announcement bringing attention to those screenshots. This should get people to be aware of your work, and maybe someone to help you.

    Amazing work btw.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  7. #7

    Default Re: MaxScript version of World files and some tools.

    yes, is a good idea but
    1) i think this tread is in right section
    2) how can i do this ? i'm not very practice to this forum
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  8. #8

    Default Re: MaxScript version of World files and some tools.

    Good News , now i understand how game use internal pathfinding, tower and gates.... this is a very essential model made by scratch with the tool, you can used it in your minimod to test the world file (you must do a Custom Battle > castle level 1 > north_european culture)
    Last edited by johnwhile; April 23, 2011 at 12:25 PM.
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  9. #9
    wilddog's Avatar Paintedwolves run free
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,337

    Default Re: MaxScript version of World files and some tools.

    Good News , now i understand how game use internal pathfinding, tower and gates.... this is a very essential model made by scratch with the tool, you can used it in your minimod to test the world file (you must do a Custom Battle > castle level 1 > north_european culture)
    Just like to report a possible bug with your tool. Were you talking about how to man towers and deploy on them otherwise not sure why you think towers has any affect on pathfinding - other than the obvious about not walking though them.

    Edit :Oops I misread, I just spotted the tower was really a wall and you were just talking about a wall breach.
    Last edited by wilddog; April 09, 2011 at 02:30 AM. Reason: misread

  10. #10

    Default Re: MaxScript version of World files and some tools.

    when i complete the script code of walls i want to beginning understand the animations and animinstance file, i suspect that game don't use bone but each vertex have a singular animations.
    My script have a lot of bug, not in data but in some exception short, example i noticed that the last matrix at the end of file world have a different structure, your IWTE tell me "EOFerror .... " so i have noticed another exception difference from "standard" file structure, thanks for your tool, it's essential to speed up the learning and to find bugs :-)
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  11. #11

    Default Re: MaxScript version of World files and some tools.

    This is the imported version of north_european_town_a.world
    the script import in 30 second about 281000 vertices and 159000 triangles and use a heapsize of 30 MB (memory used of maxscirpt).
    it's the best performance I could get

    i disable the normals import because time increases exponentially with Normal modifier, (about 280 ms for each mesh) but then exporting you can add Normal modifier and not influence the time

    If someone was interested to improve or create tools to facilitate the work I would be happy to help him
    Last edited by johnwhile; June 04, 2011 at 10:10 AM.
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  12. #12
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: MaxScript version of World files and some tools.

    Superb job johnwhile, superb.

    What's left for exporting the script and the settlement back out?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  13. #13

    Default Re: MaxScript version of World files and some tools.

    ehm.. i don't understand the question ?
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  14. #14
    Rhaymo's Avatar Artifex
    Join Date
    May 2007
    Location
    Italy
    Posts
    482

    Default Re: MaxScript version of World files and some tools.

    Quote Originally Posted by johnwhile View Post
    ehm.. i don't understand the question ?
    % of progress..
    Team Leader De Bello Mundi

  15. #15

    Default Re: MaxScript version of World files and some tools.

    the last thing that I miss to do is the export functions of 4 Path Control Sections (Doors section, Ladders, Pathfinding, Wall system) but there are so many objects, link, string etc... that I'm writing about 1000 lines of code !!!

    when I finished this, I will need someone to help me to test all possible errors, wrong case, semplifications etc...
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  16. #16

    Default Re: MaxScript version of World files and some tools.

    OK, finally i complete the script now i'm try to use it for "de Bello Mundi" so i will correct and improve it to work very fast and easy as possible.

    But attention, example for "north_european_large_town_a.world" : the file size are 20MB with 750000 vertices , the script import and build all scene in 70s with 3dstudio-2011-x64.
    A memory estimation message say you if you want increase the default 28 MB to 60 MB of heapsize used by maxscript. Press OK else maxscript auto-increase it and this will take a lot of time.

    You can change default setting in Customize > Preference > Maxscript > memory allocated.
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  17. #17

    Default Re: MaxScript version of World files and some tools.

    Truly Amazing Work John! keep it up ! :thumbup:

  18. #18

    Default Re: MaxScript version of World files and some tools.

    the problem is that I'm push max over its limits, it is true that there are no limits of vertices but example: for "south_european_city_a.world", a 40MB of settlements with total 1.5 million of vertices and thousand of help , points , splines ecc... (a representation of not-3d data), max is very slow.

    I need someone who knows 3dstdudio much more, i need some information example to build plugins for max, because i think i can resolve with this type of code the max efficiency
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

  19. #19

    Default Re: MaxScript version of World files and some tools.

    Would a plugin mean that you can simply open/save the various file types rather than having to import/export with a script?

  20. #20

    Default Re: MaxScript version of World files and some tools.

    Quote Originally Posted by PatricianS View Post
    Would a plugin mean that you can simply open/save the various file types rather than having to import/export with a script?
    I mean two type of plugin and i need both:

    1'plugin : is a c++ code, write in Microsoft Visual Studio, with "3dsmaxPluginWizard" is relatively simple for c++ users:
    http://area.autodesk.com/forum/autod...-2008-express/
    but it is very complicated for me, I don't know well C++, I was able only to make the example...nothing else
    I think is a powerfull way to use the very fast dll writed in c++ to do some reading and elaborating functions, then in maxscipt i can write only the building functions

    2'geometry plugin : is a maxscript code : http://www.kxcad.net/autodesk/Autode...ry_Plug_in.htm
    is a specific object what represent clearly and efficiently some not 3d objects as arrow-tower, fire-effect, pathfinding, etc...

    With 3dstudio you can import all world file in one scene, so i think is much more intuitive and clear, you don't see tables, index, etc... the script auto-rebuild all data, you see only the essential.
    The only problem is the size of the settlement's files that have so many items to make the scene very chaotic and difficult to debugging.
    Forums:............freeforumzone - mtwitalia - twcenter
    Works:.....worldcollision file - ModelReferencePoints files - MaxScript Building Editor
    Other:.............siege-engine(video) - new-animations(video) - buildings
    Have to take the money where it is: at the poor. They have little, but they are many. Alphonse Allais

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •