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 8 of 11 FirstFirst 1234567891011 LastLast
Results 141 to 160 of 206

Thread: World - 3dstudio max's scripts

Hybrid View

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

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

    New version : test made with stone_fort_.world for reflective plane

    Now I have to test it for roman building's project (DeBelloMundi mod) and improve it with some necessary tools
    Last edited by johnwhile; July 02, 2011 at 11:37 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

  2. #2

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

    OK, for settlements with no wall (first level) and with simple palisade system (second level). With Ryhamo we have done new Barbarian Village and Town settlements. I will put some pictures soon
    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

  3. #3
    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.

    Quote Originally Posted by johnwhile
    OK, for settlements with no wall (first level) and with simple palisade system (second level). With Ryhamo we have done new Barbarian Village and Town settlements. I will put some pictures soon
    Do I assume this means you resolved your tools errors which you posted on the IWTE thread? You seemed to change your mind on whether the wall issues was because you deleted all walls or 50% of the walls or just had all your door sequences messed up so it was hard to tell.

  4. #4

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

    the message in your tread is only a test made with your tool (but i attached a wrong file because in my folder is very chaotic disorder), also with my tool when i delete all wall's GameMain the result is the same, so my problem is not the format of world's file but only a issue with game.
    This update of MAXScript don't has relation to the current problem, I only tested the script for other things that has nothing to do with the above problem (are tested for worldcollision auto-creator, a new octree function to subdivide the settlements, and other things that we need to manage very large settlements).

    I know that sometimes i abuse your patience but, as you can see from this thread, there aren't lot of people that understand or have the knowledge about this branch of moddig T_T
    Last edited by johnwhile; July 30, 2011 at 01:51 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

  5. #5
    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.

    Quote Originally Posted by johnwhile
    the message in your tread is only a test made with your tool (but i attached a wrong file because in my folder is very chaotic disorder), also with my tool when i delete all wall's GameMain the result is the same, so my problem is not the format of world's file but only a issue with game.
    This update of MAXScript don't has relation to the current problem, I only tested the script for other things that has nothing to do with the above problem (are tested for worldcollision auto-creator, a new octree function to subdivide the settlements, and other things that we need to manage very large settlements).

    I know that sometimes i abuse your patience but, as you can see from this thread, there aren't lot of people that understand or have the knowledge about this branch of modding T_T
    You said the issue happened when you deleted 50% of the walls in the IWTE thread. You posted it is the still the same issue on the IWTE thread. Now you are saying its just you don't understand some of the connections. The file posted by you was very corrupt but you didn't post anyway of recreating the problem at 50% of walls moved to default. I just assumed that you realised how badly corrupt the file was and the hints we gave you on resolving it allowed you to progress though they weren't at all related to the IWTE tool.

    If you would refrain from posting on the IWTE tool saying there is a problem with the tool when it doesn't exist other than in your mind I'd really appreciate it. Its really annoying in case there is actually a problem.

    If the update is simply moving to the right subdivide for the collision file then sorry I misunderstood your post on IWTE and I'm glad the IWTE tool was able to help you sort this bit out.

  6. #6
    Campidoctor
    Join Date
    Jun 2006
    Location
    Southampton, UK
    Posts
    1,563

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

    Hi johnwhile, this is a great tool you have made here although I'm struggling to use it properly, can you help me out a bit?

    I want to put a new building into a vanilla settlement (the Aztec village), right now I'm just attempting to add a simple cube as a test but I cannot get it to work. I add the material modifier to it, assign a material (from the multi material) and collapse all, then I select edit from the complex menu and click on "covert selection to world structure". I couldn't follow your tutorial after that, so what do I do next?

    Also why do the collision models sometimes face in different directions to the world models? And why is it that I cannot save a worldcollision scene if I have deleted a collision model from it?

    Thank you in advance for any help you can give me.


  7. #7

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

    For tutorial you must wait because now i made some new function, in fact i'm using it to build all De Bello Mundi settlements.

    The worldcollision have a little bug when i convert the rotation , in some case 3dstudio use a 180°Z rotation, but if you change and adjust the rotation , in the game work always as the original, so isn't a problem for the moment.
    In the IWTE the program read and write contemporaneity the world, worldcollision and animistance file because they have a internal structure of Objects what must be match.

    In my script i don't want load and work contemporaneity with these 3 file because is more expansive for max load a thousand of mesh and other objects so i made a auto-collision builder and a AnimInstance save button what work with a completed world's scene.

    To understand now work i suggest you to import a simple building from techtree folder (isn't a chaotic settlements version) like "ne_small_church.world"
    The script generate a folder in the same directory called "ScriptExtracted" where you can find some information and some image.

    When you open a world file you can find a lot of mesh called example : "mesh-0758-cpx-12-str5-obj-576-1", this is the principal information of mesh structure, the string mean:
    mesh = a sorted order, the script auto recalculate so you can write 0
    cpx = is the complex index, match with the BBox-??-cpx-12 what contain all complex 2
    str = is the structure, the script convert it into material id so is used only for debug
    obj = is the most important index, must be equal to the indexes of worldcollision and animinstance, this is the cause that IWTE import all 3 files simultaneously
    -1 = is simple the damage phase

    If you open a worldcollision file you can see that "mesh-0758-cpx-12-str5-obj-576-1" mach with "Objects-576-1"

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    but without a tutorial is little complicated understand, if you know well now IWTE work you can find a lot of similarities

    you can start some test changing Worldterrain worldvegetation and worldpathfinding because they haven't this problem of Objects structure, all three are independently

    If i find some time tomorrow i made a simple video tutorial with youtube to understand quickly some basic
    Last edited by johnwhile; August 02, 2011 at 03:36 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

  8. #8

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

    added two video with subtitle, it show the basic functions of script...
    now i make the explanation of worldcollision
    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
    Campidoctor
    Join Date
    Jun 2006
    Location
    Southampton, UK
    Posts
    1,563

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

    Thanks johnwhile, it is much appreciated!


  10. #10

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

    Quote Originally Posted by bobbin View Post
    Thanks johnwhile, it is much appreciated!
    .mkv video i think is better ? Now i made the worldcollision because is necessary.
    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
    Campidoctor
    Join Date
    Jun 2006
    Location
    Southampton, UK
    Posts
    1,563

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

    Quote Originally Posted by johnwhile View Post
    .mkv video i think is better ? Now i made the worldcollision because is necessary.
    Yes .mkv is much better for me, thank again for making these tutorials, I haven't had the time to practice them recently but I hope to be able to in the next few days.


  12. #12
    boboav's Avatar Decanus
    Join Date
    Sep 2009
    Location
    Italy
    Posts
    532

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

    + rep to you john for the big work
    Modder of "Bellum Crucis" and "De Bello Mundi"

  13. #13
    Auto-Nabishtam's Avatar Civis
    Join Date
    Jul 2010
    Location
    Hotest Erea In The World
    Posts
    167

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

    Quote Originally Posted by johnwhile View Post



    The tool is designed to work directly with *.world, *.worldcollision, *.worldterrain , *.worldvegetation , etc... files in 3dstudio max.
    Is a work in progress so there are some bug in the file structure and some funtions aren't completed
    For some reason put the script in the C:\Users\*****\Documents\3dsmax\archives
    http://www.twcenter.net/forums/downloads.php?do=file&id=3311
    MaxScript progress:

    *world 100% (add 010Editor file format to do a easy and fast debugging, if you found bug solution please send me the fix, I very appreciate)
    *.worldcollision 100% (add 010Editor file format)
    *.worldterrain 100%
    *.worldvegetation 100%
    *.woldpathfinding 90%
    *.worldaniminstance 20% (add 010Editor file format )

    VIDEO TUTORIALS : Use VLC and select Ita or Eng subtitles
    world :
    part1 http://www.megaupload.com/?d=UZWAEGM4
    part2 http://www.megaupload.com/?d=T1BA5EWD






    Add a nice script with tutorial for 010 Editor, now you can use this professional hex editor to find very quickly bugs and other.

    ------------------------------------------------------------------------------------------------------------------------------------------------------
    26/04/2011 --> this version is utilized to build first level of wall: http://www.twcenter.net/forums/showt...52#post9433252
    John I download them both! I open it via WMP but there is no subtitle at all how I can apply the subtitle?? thank you
    Last edited by Auto-Nabishtam; August 10, 2011 at 05:35 AM.


  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 Auto-Nabishtam View Post
    John I download them both! I open it via WMP but there is no subtitle at all how I can apply the subtitle?? thank you
    You can download VLC player. Or you can download and install CCCP (Combined Community Codec Pack) from http://www.mkvcodec.com/ to view these videos on wmp
    Team Leader De Bello Mundi

  15. #15
    Auto-Nabishtam's Avatar Civis
    Join Date
    Jul 2010
    Location
    Hotest Erea In The World
    Posts
    167

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

    Thank you Rhymo I will try this


  16. #16

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

    add collision tutorial, now i make the last animinstance tutorial and then you can see the colosseum in the game.
    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.

    Out Of Range issue:
    Faces array contain vertices index and it's a unsigned short value, this mean that maximum value is 65535 (like Milkshape) and it's mean that can be assigned maximum 65535 vertex for internal world's file regrouping.
    It's the same issue for a .mesh's units.
    When importing in max the script uncompress data so you will not realize this issue in fact max use a Long Integer.
    When exporting from max the script tell you a "warning", in game some faces will be crazy or invisible (because wrong vertex index or out Bounding Sphere) but game don't crash.
    The vanilla file use a vertex compression method when saving, it's applied to the whole structure , i made a quick code for do this in maxscript but it's too slow (On^2 with n number of vertices of one structure). Meanwhile I find a different method than "brutal force algorithm" (example : "reducing vertex cloud or Weld vertex algorithm") i suggest you to split the Structure in two like image.
    This procedure doesn't change any internal index/reference/ecc... but remember to switch off "texture optimizer" because it cause a re-attachment of structure:

    PS "Str" is a world's file name of internal structure implies "texture" or Material:ID in max.
    Last edited by johnwhile; November 11, 2011 at 09:31 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

  18. #18

    Default LZO decompression of animinstace file

    LZO decompression of animinstace file

    in this txt file i write some relation with animinstance header and decompression data :
    but there are a problem : animinstance file DON'T CONTAIN ANIMATIONS KEYS !!! Seam only a copy of mesh vertex data.

    A uncompressed data extracted with LZO implemented in maxscript (found in the next version of this script) you can find here:
    http://dl.dropbox.com/u/47659776/van...compressed.rar

    so i think the animation frames will be found with the same method in the .anim files.
    Last edited by johnwhile; November 23, 2011 at 08:05 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

  19. #19

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

    GOOD NEW, the decompressed data have sense and match with the mesh's vertex array !!!!
    SO Medieval 2 total war use LZOX1 algorithm.

    The next step is understand the anim files
    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

  20. #20
    BoJIxB's Avatar Laetus
    Join Date
    Mar 2012
    Location
    Russia, Novosibirsk
    Posts
    1

    Default Re: World - 3dstudio max's scripts

    I have a questions about script, I have some problems with using of it. I add new, the 4th, material in standart multi-material WorldMaterialsID (there are 3 of them for choosed city) and rename it into "building" and Set ID "4". I set "normal" and "diffuse" textures in material and set path to the .texture for them.
    But when I try to convert the city changed by me into the ".world", the script write "Unknow property: "materialsIDlist" in buiding:Standart" error. Renaming of my material into the "buildinglod0" doesn't help me. I use 3D Max 2011.
    Please, can you tell me about this error??

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
  •