Files
TeslaRel410/sda4/LOC/BLDMOD.BAT
T
CydandClaude Fable 5 db7745fcd0 sda4: commit the Glaze developer hard-drive dump
Un-ignored: the dev drive is the ground truth the restoration and
emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer
source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio
content). Kept in-repo for the pod-owner community.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 19:41:15 -05:00

81 lines
1.7 KiB
Batchfile

@echo off
rem bldmod.bat
if not "%1"=="" goto build
set c1=GRASS
echo.
if "%c1%"=="ARENA" echo usage: bldmod trk1 trk trkdead
if "%c1%"=="GRASS" echo usage: bldmod hummer hummd trk trkdead
if "%c1%"=="SNOW" echo usage: bldmod object solid
echo.
goto end
:build
set f1=%1.mod
if exist %f1% goto error
rem
echo building %f1% (you must edit file and remove unwanted lines)
rem
rem goto %c1% (this should work, but it doesn't)
goto GRASS
:ARENA
echo [video]>%f1%
echo object=%1.bgf %1_FR.bgf>>%f1%
echo rubble=%1d.bgf %1d_FR.bgf>>%f1%
echo.>>%f1%
echo [collision]>>%f1%
echo name=%1_cv.sld>>%f1%
echo.>>%f1%
echo [gamedata]>>%f1%
echo // you must delete one of these:>>%f1%
echo class=UnscalableTerrainClassID>>%f1%
echo class=CulturalIconClassID>>%f1%
echo DamageZones=%2.dmg>>%f1%
echo StoppingCollisionVolume=0>>%f1%
echo ExplosionModelFile=%3>>%f1%
echo TimeDelay=0.5>>%f1%
echo CrunchExplosionModelFile=stephit>>%f1%
goto DONE
:GRASS
echo [video]>%f1%
echo object=%1.bgf>>%f1%
echo rubble=%2.bgf>>%f1%
echo.>>%f1%
echo [collision]>>%f1%
echo name=%1.sld>>%f1%
echo.>>%f1%
echo [gamedata]>>%f1%
echo class=CulturalIconClassID>>%f1%
echo DamageZones=%3.dmg>>%f1%
echo StoppingCollisionVolume=0>>%f1%
echo ExplosionModelFile=%4>>%f1%
echo TimeDelay=0.5>>%f1%
echo CrunchExplosionModelFile=stephit>>%f1%
goto DONE
:SNOW
echo [video]>%f1%
echo object=%1.bgf>>%f1%
echo.>>%f1%
echo [collision]>>%f1%
echo name=%2.sld>>%f1%
echo.>>%f1%
echo [gamedata]>>%f1%
echo class=UnscalableTerrainClassID>>%f1%
goto DONE
:DONE
echo done.
set f1=
set c1=
goto end
:error
echo File '%f1%' already exists.
echo.
goto end
:end