Creating Walls - HerbFargus/viper-racing-mods GitHub Wiki
Creating Walls
Software used:
- Bob's Track Builder
- Zmodeler
Tools used:
- mod2quadnoz.exe
In Bob's Track builder you create a wall (you can create a single panel, just make sure it's vertical). Export to .dof, import to Zmodeler to export to .mod. Open mod2quadnoz.exe
and select your mod. Choose the height threshold for your object.
Height Chart:
Bottom | Top | Type |
---|---|---|
0 | 1 | Guard Rails |
0 | 2 | Small Billboards |
0 | 4 | Big Billboards |
0 | 8 | Start Line Banner Posts |
0 | 10 | 1 Story Buildings |
It will generate a mod-noz.txt
file that you copy into the foolandsurface.txt
example mod-noz.txt
object(wall.tga,1,0)
vert(115.4991, 89.2535, -1.7823)
vert(115.4991, 89.2535, 35.2177)
vert(96.8069, 75.3720, 9.1250)
vert(96.8069, 75.3720, -27.8750)
quad(0,1,2,3)
end
object(wall.tga,1,0)
vert(91.3170, 114.0628, -1.7257)
vert(91.3170, 114.0628, 35.2743)
vert(115.4987, 89.2535, 13.2315)
vert(115.4987, 89.2535, -23.7685)
quad(0,1,2,3)
end
example foolandsurface.txt
integration:
begin
modobject(road.mod, 0, 0, 0, 0)
modobject(water.mod, 0, 0, 14, 0)
object(wall.tga,1,0)
vert(115.4991, 89.2535, -1.7823)
vert(115.4991, 89.2535, 35.2177)
vert(96.8069, 75.3720, 9.1250)
vert(96.8069, 75.3720, -27.8750)
quad(0,1,2,3)
end
object(wall.tga,1,0)
vert(91.3170, 114.0628, -1.7257)
vert(91.3170, 114.0628, 35.2743)
vert(115.4987, 89.2535, 13.2315)
vert(115.4987, 89.2535, -23.7685)
quad(0,1,2,3)
end
The other integration is in foolandgraphics.txt
:
begin
modobject(road.mod, 0, 0, 0, 0)
modobject(water.mod, 0, 0, 14, 0)
modobject(wall.mod, 3, 0, 0, 0)
end