Garry's Mod
1,326 lượt đánh giá
Hammer Road Maker
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Realism
Kích cỡ file
Đã đăng
Đã cập nhật
5.565 KB
12 Thg07, 2017 @ 5:09am
19 Thg07, 2017 @ 3:22am
2 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Hammer Road Maker

Mô tả
⚠️Archived! The addon will no longer be improved or updated.

Developer tool that allows you to create curved brushed road in the game, and then export them to vmf.
It is useful when building roads on displacement surfaces (mountains, hills).

Public alpha 1.1:
- Now the road is physical! Physics is disabled by default. Enter the roadmaker_enablephysics 1 in console to enable.
- Supports client/server communications.
- Completely rewritten and improved internal libraries.

Choose weapon in the Hammer Road Maker category:
  • Press R - Change mode.
  • Press Mouse1 - Create or move point to cursor.
  • Press Mouse2 - Remove last or select nearest point.

To display the points, enter the developer 1 in console. This can cause a lower FPS with large amount of points.

Console commands:
  • roadmaker_enablephysics - Enable physics of the road. Set 0 to disable.

  • roadmaker_height - Set height of the road.
  • roadmaker_width - Set width of the road.

  • roadmaker_clear - Delete all points.
  • roadmaker_getvmf - Export brushes to vmf file in data folder.

  • roadmaker_toptexture - Set top texture of the road.
  • roadmaker_sidetexture - Set side texture of the road.
  • roadmaker_bottomtexture - Set bottom texture of the road.
  • roadmaker_nodrawtexture - Set nodraw texture of the road.

To export your road mesh to vmf, enter the roadmaker_getvmf in console. Your vmf structure file will be in the data folder and is named vmfgenerator.vmf.txt.

If you create extremely twisted roads, they will appear broken. Their vertices can merge into each other and cause inverted meshes. Hammer Editor will display "invalid solids" error message.

Source code: GitHub[github.com]
233 bình luận
Grande1900 18 Thg08 @ 3:27pm 
what's the point of not using util.TableToKeyValues
ADAM 27 Thg03 @ 11:13am 
I don't fully understand how you managed to figure out how to pull this off, but as a regular user of Hammer, I expect to likely end up using this at some point.
Very cool. Keep up the good work! :steamthumbsup:
OoO sHiNy 28 Thg02 @ 2:07pm 
Doesn't work the roads are not solid
Guy69096 15 Thg02 @ 9:26pm 
bro its called "Hammer Road Maker" for a reason
Xtreme_Shoot 6 Thg02 @ 4:14am 
imagen: you making Road Of The Dead 2010.
andsquirrels 21 Thg08, 2023 @ 5:35pm 
or is it just roads
andsquirrels 21 Thg08, 2023 @ 5:35pm 
is it possible to make a house with this
Ver 28 Thg04, 2023 @ 8:23pm 
Whoa this looks fucking sick, thanks guy. I'm going to abuse the hell out of this.
flynn11 11 Thg02, 2023 @ 8:27pm 
What program are you using
Scupulousxd 16 Thg01, 2023 @ 8:41am 
is Nodegraph to hammer possible ?