Add a Radiant compatible game definition files.

This commit is contained in:
Marco Cawthorne 2023-05-25 16:49:47 -07:00
parent cb2a517624
commit 454313f115
Signed by: eukara
GPG key ID: CE2032F0A2882A22
2 changed files with 102 additions and 0 deletions

26
radiant.game Normal file
View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<game
type="hl"
name="Half-Life"
enginepath_linux="/usr/local/games/halflife/"
enginepath_win32="c:/sierra/half-life/"
engine_win32="hl.exe"
engine_linux="hl_linux"
basegame="valve"
basegamename="Half-Life"
unknowngamename="Custom Half-Life modification"
default_scale="1.0"
no_patch="1"
no_bsp_monitor="1"
show_wads="1"
archivetypes="pak wad"
texturetypes="tga jpg mip hlw"
modeltypes="mdl"
maptypes="mapq1"
shaders="quake3"
entityclass="quake3"
entityclasstype="def xml"
entities="quake3"
brushtypes="quake"
patchtypes="quake3"
/>

76
radiant.xml Normal file
View file

@ -0,0 +1,76 @@
<?xml version="1.0"?>
<!--
to avoid naming conflicts, the tools are assumed to be named 'hlcsg', 'hlbsp', 'hlvis' and 'hlrad' in your path
-->
<project version="2.0">
<var name="csg">"hlcsg"</var>
<var name="bsp">"hlbsp"</var>
<var name="vis">"hlvis"</var>
<var name="light">"hlrad"</var>
<var name="qbsp">qbsp -hlbsp -basedir "[EnginePath]" -gamedir "[GameName]" -path "[UserEnginePath]"</var>
<var name="qvis">qvis -basedir "[EnginePath]" -gamedir "[GameName]" -path "[UserEnginePath]"</var>
<var name="qlight">qlight -basedir "[EnginePath]" -gamedir "[GameName]" -path "[UserEnginePath]"</var>
<build name="extra fidelity">
<command>[csg] "[MapFile]"</command>
<command>[bsp] "[MapFile]"</command>
<command>[vis] -full "[MapFile]"</command>
<command>[light] -extra "[MapFile]"</command>
</build>
<build name="standard fidelity">
<command>[csg] "[MapFile]"</command>
<command>[bsp] "[MapFile]"</command>
<command>[vis] "[MapFile]"</command>
<command>[light] "[MapFile]"</command>
</build>
<build name="quick compile">
<command>[csg] "[MapFile]"</command>
<command>[bsp] "[MapFile]"</command>
<command>[vis] -fast "[MapFile]"</command>
<command>[light] -fast "[MapFile]"</command>
</build>
<build name="fast vis only">
<command>[csg] "[MapFile]"</command>
<command>[bsp] "[MapFile]"</command>
<command>[vis] -fast "[MapFile]"</command>
</build>
<build name="no vis, no lighting">
<command>[csg] "[MapFile]"</command>
<command>[bsp] "[MapFile]"</command>
</build>
<build name="only entities">
<command>[csg] -onlyents "[MapFile]"</command>
<command>[bsp]"[MapFile]"</command>
</build>
<!--
in case you want to use free-software tools
-->
<build name="tyrutils extra fidelity">
<command>[qbsp] "[MapFile]"</command>
<command>[qvis] "[MapFile]"</command>
<command>[qlight] -extra "[MapFile]"</command>
</build>
<build name="tyrutils standard fidelity">
<command>[qbsp] "[MapFile]"</command>
<command>[qvis] "[MapFile]"</command>
<command>[qlight] "[MapFile]"</command>
</build>
<build name="tyrutils quick compile">
<command>[qbsp] "[MapFile]"</command>
<command>[qvis] -fast "[MapFile]"</command>
<command>[qlight] -fast "[MapFile]"</command>
</build>
<build name="tyrutils fast vis only">
<command>[qbsp] "[MapFile]"</command>
<command>[qvis] -fast "[MapFile]"</command>
</build>
<build name="tyrutils no vis, no lighting">
<command>[qbsp] "[MapFile]"</command>
</build>
<build name="tyrutils only entities">
<command>[qbsp] -onlyents "[MapFile]"</command>
</build>
</project>