1. Post #1
    Bang Train's Avatar
    December 2007
    209 Posts
    VMF Model Writer lets you place models in gmod and then define them to be prop_statics or prop_physics and write them directly to the vmf for easier model browsing and placement.



    Instructions
    1. Place vmf in data folder
    2. Rename mapname.vmf to mapname.txt
    3. Select the props you want to add to vmf using left click
    Red - prop_dynamic
    Green - prop_static
    None - will not be added to vmf
    4. Reload to write the vmf
    5. Locate mapname_withmodels.txt in data folder
    6. Rename mapname_withmodels.txt to mapname_withmodels.vmf
    7. Open with hammer

    Reply With Quote Edit / Delete Reply United States Show Events Useful Useful x 15Friendly Friendly x 4Lua King Lua King x 1 (list)

  2. Post #2
    darkwolf1's Avatar
    September 2008
    73 Posts
    Yet to try, but looks useful and promising. Thank you.
    Reply With Quote Edit / Delete Reply United States Show Events Friendly Friendly x 1 (list)

  3. Post #3
    Gold Member
    Penguiin's Avatar
    September 2006
    2,916 Posts
    You could also include a batch file that will rename all .txt's to .vmf or use the raw I/O dll to rename it.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 2Useful Useful x 1 (list)

  4. Post #4
    Grocel's Avatar
    October 2008
    1,249 Posts
    3. Select the props you want to add to vmf using left click
    Red - prop_dynamic
    Green - prop_static
    None - will not be added to vmf
    And what about the prop_physics?

    Can you add a support for prop_physics, like this:

    Blue - prop_physics
    Reply With Quote Edit / Delete Reply Germany Show Events Agree Agree x 1 (list)

  5. Post #5
    Gold Member
    hexpunK's Avatar
    August 2008
    15,659 Posts
    This looks like it could be very useful for detailing, you should look into a way to do the conversion automatically, as you know some retard is going to spam "OMG i dun wurk!"

  6. Post #6
    Gold Member
    bord2tears's Avatar
    May 2005
    1,831 Posts
    So this is a simplified version of the VMF loader? Sounds pretty promising, keep it up.
    Reply With Quote Edit / Delete Reply United States Show Events Disagree Disagree x 1 (list)

  7. Post #7
    Bang Train's Avatar
    December 2007
    209 Posts
    So this is a simplified version of the VMF loader? Sounds pretty promising, keep it up.
    No its for placing models in a map and then writing the models back to the VMF

  8. Post #8
    Strongbow's Avatar
    October 2007
    521 Posts
    I might give this a try. Thank you.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 1 (list)

  9. Post #9
    Rokomah's Avatar
    May 2009
    17 Posts
    Hi. I'm detailing a castle map that I'm in the process of creating. I'm about to finish with the tool and I have a question about something. Which data folder do I place it in? Right now I have it in garrysmod/garrysmod/data folder under gm_baconesian_castle.txt and I've selected all the models I would like to write into it (there are alot), but it says it cannot find gm_baconesian_castle.txt . Am I placing it in the wrong folder or do I have too many props? O_o If anyone knows please respond because I think it has to do with the name/placement of the file.

  10. Post #10
    wirusass0's Avatar
    April 2009
    414 Posts
    Hi. I'm detailing a castle map that I'm in the process of creating. I'm about to finish with the tool and I have a question about something. Which data folder do I place it in? Right now I have it in garrysmod/garrysmod/data folder under gm_baconesian_castle.txt and I've selected all the models I would like to write into it (there are alot), but it says it cannot find gm_baconesian_castle.txt . Am I placing it in the wrong folder or do I have too many props? O_o If anyone knows please respond because I think it has to do with the name/placement of the file.
    Dunno, double-check the spelling of the file. Did you create that map anyway? It's also possible that some update broke it... Still a bump. Haven't used it really.

  11. Post #11
    Rokomah's Avatar
    May 2009
    17 Posts
    Yeah I'm making it in Hammer. I'm trying to detail it because it's so much easier to detail in Garry's Mod. But I still cant get it to work after I double checked the name, so I'm gonna take pictures and try to organize it from there. Thanks for the response though! :]

  12. Post #12
    wirusass0's Avatar
    April 2009
    414 Posts
    Also DON't do anything after starting the compiling process, according to Valve Dev Wiki "Don't do anything, even save."

  13. Post #13
    Shogun42's Avatar
    September 2008
    265 Posts
    does this apply constraints too??? (weld,rope,etc.)

  14. Post #14
    mitchell12's Avatar
    June 2005
    39 Posts
    Hehe, Takes me back to GM7 and older a little with the Export to hammer option... Those were the days.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 2 (list)

  15. Post #15
    kp3
    Gold Member
    kp3's Avatar
    January 2008
    2,987 Posts
    Bump for usefulness. I love this tool.

  16. Post #16
    Gold Member
    leet's Avatar
    January 2008
    2,002 Posts
    I nostalgia'd.

    brb download GMod 9.0.4

  17. Post #17
    wirusass0's Avatar
    April 2009
    414 Posts
    does this apply constraints too??? (weld,rope,etc.)
    Aww my net went off and my reply didn't save :(

    Anything that is done with Lua won't save - just the props.

  18. Post #18
    Gold Member

    June 2007
    5,036 Posts
    Now make one with the new mesh functions to export as brush and my life is complete :buddy:
    Reply With Quote Edit / Delete Reply Netherlands Show Events Agree Agree x 2 (list)

  19. Post #19
    Gold Member
    Llamalord's Avatar
    August 2009
    700 Posts
    Just used this tool, worked beautifully.





    I noticed some problem though, If you save them game and go back in and try to save it will not and will name the model name in hammer model. Also if you save and save again everything will still be red but nothing will have been saved. That was marked previous to the save. Probably my mistake though,

  20. Post #20
    foxcock
    Bletotum's Avatar
    June 2008
    6,874 Posts
    Now make one with the new mesh functions to export as brush and my life is complete :buddy:
    The new mesh functions? Do tell.

  21. Post #21
    SSBMMASTER's Avatar
    September 2008
    296 Posts
    this is fucking awesome and helpful
    I cannot wait to put this bitch to use

  22. Post #22
    Gold Member
    Zally13's Avatar
    July 2008
    4,976 Posts
    Will try soon.

  23. Post #23
    Gold Member
    Gbps's Avatar
    December 2008
    3,647 Posts
    The new mesh functions? Do tell.
    The new renderx update has new functions in order to create meshes in Lua, almost like drawing dynamic models through Lua :buddy:

  24. Post #24
    foxcock
    Bletotum's Avatar
    June 2008
    6,874 Posts
    Oh shit. Yes, including that would make you god.

    EDIT:

    Hah. Look at the OP date...

  25. Post #25
    Dennab
    July 2009
    451 Posts
    Looks like an alternative to the "right click" feature. But good job anyway.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Dumb Dumb x 6 (list)

  26. Post #26
    foxcock
    Bletotum's Avatar
    June 2008
    6,874 Posts
    What? Did you even read what this was?

  27. Post #27
    Gold Member
    LoucoussBe's Avatar
    August 2011
    387 Posts
    Awesome, it's seriously promising.

    So, if I'd like to add prop, am I authorised to use the VMF version of rp_c18_v1 to put many props inside?

    And if there are too many props, will the map loading will fail when I test it?
    Reply With Quote Edit / Delete Reply Windows 7 Belgium Show Events Late Late x 1 (list)

  28. Post #28
    "The superior man understands what is right; the inferior man understands what will sell"
    Chessnut's Avatar
    August 2011
    3,558 Posts
    This was made 2 years ago.

  29. Post #29
    Gold Member
    LoucoussBe's Avatar
    August 2011
    387 Posts
    This was made 2 years ago.
    I tried it and I'd like to say it still works even after Gmod updates! :)
    Reply With Quote Edit / Delete Reply Windows 7 Belgium Show Events Winner Winner x 1Late Late x 1 (list)