Inital scripts checkin
This commit is contained in:
commit
43298d6268
20 changed files with 1505 additions and 0 deletions
65
menu/main.xul
Normal file
65
menu/main.xul
Normal file
|
@ -0,0 +1,65 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2003 Tenebrae Team
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
-->
|
||||
<package>
|
||||
<window
|
||||
id="main"
|
||||
title="MainMenu"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<vbox width="50%">
|
||||
<vbox height="10%"/>
|
||||
<vbox pack="center">
|
||||
<image src="menus/video" width="180" height="128"/>
|
||||
</vbox>
|
||||
</vbox>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<box>
|
||||
<!-- main -->
|
||||
<vbox>
|
||||
<button name="splayer" label="Single Player" command="menu_singleplayer" image="menus/col2"/>
|
||||
<box height="1%"/>
|
||||
<button name="mplayer" label="Multy Player" command="menu_multiplayer" image="menus/col2"/>
|
||||
<box height="1%"/>
|
||||
<button name="options" label="Game Options" command="openwindow options; play misc/menu1.wav" image="menus/col2"/>
|
||||
<box height="1%"/>
|
||||
<button name="help" label="Documentation" command="help" image="menus/col2"/>
|
||||
<box height="1%"/>
|
||||
<button name="quit" label="Exit Tenebrae" command="menu_quit" image="menus/col2"/>
|
||||
</vbox>
|
||||
</box>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
</package>
|
160
menu/multiplayer.xul
Normal file
160
menu/multiplayer.xul
Normal file
|
@ -0,0 +1,160 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2003 Tenebrae Team
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
-->
|
||||
<package>
|
||||
<window
|
||||
id="multiplayer"
|
||||
title="Multiplayer Menu"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<box>
|
||||
<!-- main -->
|
||||
<vbox>
|
||||
<button name="newnet" label="Start new server" command="openwindow networknew"/>
|
||||
<button name="joinnet" label="Join a server" command="openwindow networkjoin"/>
|
||||
<button name="setup" label="Player Setup" command="openwindow networksetup"/>
|
||||
</vbox>
|
||||
</box>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
<window
|
||||
id="networknew"
|
||||
title="Multiplayer Create Menu"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<hbox>
|
||||
<!-- main -->
|
||||
<vbox>
|
||||
<label height="20" value="Server Name:"/>
|
||||
<label height="20" value="Port:"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<edit text="Tenebrae2" height="20" width="160" length="20" id="cl_name"/>
|
||||
<edit text="26000" height="20" width="160" length="20" id="cl_name"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<button name="go" label="Letsu Go!" command="name $cl_name"/>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
<window
|
||||
id="networkjoin"
|
||||
title="Multiplayer Join Menu"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<hbox>
|
||||
<!-- main -->
|
||||
<vbox>
|
||||
<label height="20" value="Ip adress:"/>
|
||||
<label height="20" value="Port:"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<edit text="127.0.0.1" width="160" height="20" length="20" id="cl_name"/>
|
||||
<edit text="26000" width="160" height="20" length="20" id="cl_name"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<button name="go" label="Letsu Go!" command="blah"/>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
<window
|
||||
id="networksetup"
|
||||
title="Multiplayer Setup Menu"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<box>
|
||||
<!-- main -->
|
||||
<hbox>
|
||||
<label height="20" value="Player name:"/>
|
||||
<edit height="20" width="160" text="Dude" length="20" id="cl_name"/>
|
||||
</hbox>
|
||||
</box>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
</package>
|
87
menu/nonmenu.xul
Normal file
87
menu/nonmenu.xul
Normal file
|
@ -0,0 +1,87 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2003 Tenebrae Team
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
--
|
||||
|
||||
This package contains some windows that are used by the game engine.
|
||||
The id's of these windows are hardcoded into the engine but you can of course change the looks without changing the engine.
|
||||
|
||||
loading => Displayed during level loading.
|
||||
paused => Displayed when the game is paused. (this window can be transparent as the game is drawn under it...)
|
||||
|
||||
-->
|
||||
<package>
|
||||
<window
|
||||
id="loading"
|
||||
title="Loading"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="30%"/>
|
||||
<vbox>
|
||||
<vbox height="20%" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<box height="40%">
|
||||
<label value="Please wait..."/>
|
||||
</box>
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="65%"/>
|
||||
</vbox>
|
||||
<box width="30%"/>
|
||||
</image>
|
||||
</window>
|
||||
<window
|
||||
id="paused"
|
||||
title="Loading"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="30%"/>
|
||||
<vbox>
|
||||
<vbox height="20%" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<box height="40%">
|
||||
<label value="Game paused..."/>
|
||||
</box>
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="65%"/>
|
||||
</vbox>
|
||||
<box width="30%"/>
|
||||
</image>
|
||||
</window>
|
||||
</package>
|
||||
|
||||
|
||||
|
65
menu/options.xul
Normal file
65
menu/options.xul
Normal file
|
@ -0,0 +1,65 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2003 Tenebrae Team
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
-->
|
||||
<package>
|
||||
<window
|
||||
id="options"
|
||||
title="Options"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<vbox>
|
||||
<button name="keys" label=" Customize Controls" command="menu_key"/>
|
||||
<button name="console" label=" Go to Console" command="menu_console"/>
|
||||
<button name="video" label=" Video Options" command="menu_video"/>
|
||||
<box><label value=" Screen Size"/><slider name="screen" id="viewsize"/></box>
|
||||
<box><label value=" Brightness"/><slider name="brightness" id="gamma"/></box>
|
||||
<box><label value=" Mouse Speed"/><slider name="mouse" id="sensitivity"/></box>
|
||||
<box><label value=" CD Volume"/><slider name="cdvol" id="bgmvolume"/></box>
|
||||
<box><label value=" Sound Volume"/><slider name="soundvol" id="volume"/></box>
|
||||
<box><label value=" Always Run"/><slider name="alwaysrun" id="cl_forwardspeed"/></box>
|
||||
<checkbox name="invertmouse" label=" Invert Mouse" id="m_pitch"/>
|
||||
<checkbox name="lookspring" label=" Lookspring" id="lookspring"/>
|
||||
<checkbox name="lookstrafe" label=" Lookstrafe" id="lookstrafe"/>
|
||||
<checkbox name="usemouse" label=" Use Mouse" id="_windowed_mouse"/>
|
||||
<checkbox name="showfps" label=" Display FPS" id="sh_fps"/>
|
||||
<checkbox name="chase_active" label=" Third Person" id="chase_active"/>
|
||||
<checkbox name="Glares" label=" Glares" id="sh_glares"/>
|
||||
<checkbox name="useprofile" label=" Load Profile" id="useprofile"/>
|
||||
</vbox>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
</package>
|
55
menu/quit.xul
Normal file
55
menu/quit.xul
Normal file
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2003 Tenebrae Team
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
-->
|
||||
<package>
|
||||
<window
|
||||
id="quit"
|
||||
title="Quit?"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="30%"/>
|
||||
<vbox>
|
||||
<vbox height="20%" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<box height="40%">
|
||||
<label value="Really Quit"/>
|
||||
</box>
|
||||
<hbox>
|
||||
<button label="yes" command="quit" image="menus/col2"/>
|
||||
<button label="no" command="closewindow" image="menus/col2"/>
|
||||
</hbox>
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="65%"/>
|
||||
</vbox>
|
||||
<box width="30%"/>
|
||||
</image>
|
||||
</window>
|
||||
</package>
|
||||
|
||||
|
||||
|
122
menu/singleplayer.xul
Normal file
122
menu/singleplayer.xul
Normal file
|
@ -0,0 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2003 Tenebrae Team
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
-->
|
||||
<package>
|
||||
<window
|
||||
id="singleplayer"
|
||||
title="Single Player"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<box>
|
||||
<!-- main -->
|
||||
<vbox>
|
||||
<button name="new" label="Start new game" command="startgame"/>
|
||||
<button name="load" label="Load game" command="openwindow loadgame"/>
|
||||
<button name="save" label="Save game" command="openwindow savegame"/>
|
||||
</vbox>
|
||||
</box>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
|
||||
<window
|
||||
id="loadgame"
|
||||
title="Load Game"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<box>
|
||||
<!-- main -->
|
||||
<vbox>
|
||||
<button name="new" label="Load1" command="startgame"/>
|
||||
<button name="load" label="Load2" command="openwindow load"/>
|
||||
<button name="save" label="Open" command="openwindow save"/>
|
||||
</vbox>
|
||||
</box>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
|
||||
<window
|
||||
id="savegame"
|
||||
title="Save Game"
|
||||
orient="horizontal">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="5%"/>
|
||||
<vbox>
|
||||
<vbox height="60" pack="center">
|
||||
<image src="menus/banner" width="268" height="54"/>
|
||||
</vbox>
|
||||
<!-- begining of the real stuff -->
|
||||
<image src="menus/col3" orient="horizontal">
|
||||
<box width="1%"/>
|
||||
<vbox pack="center">
|
||||
<box height="1%"/>
|
||||
<box>
|
||||
<!-- main -->
|
||||
<vbox>
|
||||
<button name="new" label="Save1" command="startgame"/>
|
||||
<button name="load" label="Save2" command="openwindow load"/>
|
||||
<button name="save" label="Open" command="openwindow save"/>
|
||||
</vbox>
|
||||
</box>
|
||||
<box height="1%"/>
|
||||
</vbox>
|
||||
<box width="1%"/>
|
||||
</image>
|
||||
<!-- end of the real stuff -->
|
||||
<box height="5%"/>
|
||||
</vbox>
|
||||
<box width="5%"/>
|
||||
</image>
|
||||
</window>
|
||||
</package>
|
55
menu/statusbar.xul
Normal file
55
menu/statusbar.xul
Normal file
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Copyright (C) 2003 Tenebrae Team
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
-->
|
||||
<package>
|
||||
<window
|
||||
id="statusbar"
|
||||
title="Statusbar"
|
||||
orient="horizontal" height="24">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="30%"/>
|
||||
<hbox>
|
||||
<label value=" Health: 100"/>
|
||||
<label value=" Ammo: 100"/>
|
||||
<label value=" Shells: 15"/>
|
||||
</hbox>
|
||||
<box width="30%"/>
|
||||
</image>
|
||||
</window>
|
||||
<window
|
||||
id="bigstatusbar"
|
||||
title="Statusbar"
|
||||
orient="horizontal" height="48">
|
||||
<image src="menus/col1" orient="horizontal">
|
||||
<box width="30%"/>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<label value=" Keys: Gold, Silver"/>
|
||||
<label value=" Sigils: None"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label value=" Health: 100"/>
|
||||
<label value=" Ammo: 100"/>
|
||||
<label value=" Shells: 15"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<box width="30%"/>
|
||||
</image>
|
||||
</window>
|
||||
</package>
|
4
models/sprites/b_light.spr
Normal file
4
models/sprites/b_light.spr
Normal file
|
@ -0,0 +1,4 @@
|
|||
TESP
|
||||
//Shader width height
|
||||
//Old tenebrae1 stuff ignore...
|
||||
"textures/sprites/s_explod0" 128 128
|
4
models/sprites/flashlight.spr
Normal file
4
models/sprites/flashlight.spr
Normal file
|
@ -0,0 +1,4 @@
|
|||
TESP
|
||||
//Shader width height
|
||||
//Old tenebrae1 stuff ignore...
|
||||
"textures/lights/flashlight" 10 10
|
16
models/sprites/s_bubble.spr
Normal file
16
models/sprites/s_bubble.spr
Normal file
|
@ -0,0 +1,16 @@
|
|||
TESP
|
||||
//Water bubble (when player drowns,....)
|
||||
//Shader width height
|
||||
"textures/sprites/s_explod0" 128 128
|
||||
"textures/sprites/s_explod1" 128 128
|
||||
"textures/sprites/s_explod2" 128 128
|
||||
"textures/sprites/s_explod3" 128 128
|
||||
"textures/sprites/s_explod4" 128 128
|
||||
"textures/sprites/s_explod5" 128 128
|
||||
"textures/sprites/s_explod6" 128 128
|
||||
"textures/sprites/s_explod7" 128 128
|
||||
"textures/sprites/s_explod8" 128 128
|
||||
"textures/sprites/s_explod9" 128 128
|
||||
"textures/sprites/s_explod10" 128 128
|
||||
"textures/sprites/s_explod11" 128 128
|
||||
"textures/sprites/s_explod12" 128 128
|
16
models/sprites/s_explod.spr
Normal file
16
models/sprites/s_explod.spr
Normal file
|
@ -0,0 +1,16 @@
|
|||
TESP
|
||||
//Explosion
|
||||
//Shader width height
|
||||
"textures/sprites/s_explod0" 128 128
|
||||
"textures/sprites/s_explod1" 128 128
|
||||
"textures/sprites/s_explod2" 128 128
|
||||
"textures/sprites/s_explod3" 128 128
|
||||
"textures/sprites/s_explod4" 128 128
|
||||
"textures/sprites/s_explod5" 128 128
|
||||
"textures/sprites/s_explod6" 128 128
|
||||
"textures/sprites/s_explod7" 128 128
|
||||
"textures/sprites/s_explod8" 128 128
|
||||
"textures/sprites/s_explod9" 128 128
|
||||
"textures/sprites/s_explod10" 128 128
|
||||
"textures/sprites/s_explod11" 128 128
|
||||
"textures/sprites/s_explod12" 128 128
|
4
models/sprites/s_light.spr
Normal file
4
models/sprites/s_light.spr
Normal file
|
@ -0,0 +1,4 @@
|
|||
TESP
|
||||
//Shader width height
|
||||
//Old tenebrae1 stuff ignore...
|
||||
"textures/sprites/s_explod0" 128 128
|
4
models/sprites/smokepuff.spr
Normal file
4
models/sprites/smokepuff.spr
Normal file
|
@ -0,0 +1,4 @@
|
|||
TESP
|
||||
//The smoke used with misc_staticsmoke
|
||||
//Shader width height
|
||||
"textures/sprites/smokepuff" 128 128
|
4
models/sprites/spark.spr
Normal file
4
models/sprites/spark.spr
Normal file
|
@ -0,0 +1,4 @@
|
|||
TESP
|
||||
//Shader width height
|
||||
//Old tenebrae1 stuff ignore...
|
||||
"textures/sprites/s_explod0" 128 128
|
4
models/sprites/w_light.spr
Normal file
4
models/sprites/w_light.spr
Normal file
|
@ -0,0 +1,4 @@
|
|||
TESP
|
||||
//Shader width height
|
||||
//Old tenebrae1 stuff ignore...
|
||||
"textures/sprites/s_explod0" 128 128
|
444
particles/main.particle
Normal file
444
particles/main.particle
Normal file
|
@ -0,0 +1,444 @@
|
|||
// Tenebrae main.particle file, these are all the default particle effects for Quake.
|
||||
|
||||
// ###################################################################################
|
||||
// Decal defination bellow this line
|
||||
// ###################################################################################
|
||||
|
||||
|
||||
//nice burnmark for sparks
|
||||
//who: willi
|
||||
particle glowdecal {
|
||||
lifetime 3 4
|
||||
startcolor 1.0 1.0 1.0 1.0 1.0 1.0
|
||||
endcolor 1.0 1.0 1.0 1.0 1.0 1.0
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
size 8 9
|
||||
orientation surface
|
||||
map "textures/decals/particle_burn01.tga"
|
||||
}
|
||||
|
||||
//nice burnmark for explosions
|
||||
//who: willi
|
||||
particle explodecal {
|
||||
lifetime 10 11
|
||||
startcolor 0.5 0.5 0.5 0.5 0.5 0.5
|
||||
endcolor 0.5 0.5 0.5 0.5 0.5 0.5
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
size 30 35
|
||||
orientation surface
|
||||
map "textures/decals/explo_burn01.tga"
|
||||
}
|
||||
|
||||
//lave burnmark
|
||||
//who: willi
|
||||
particle lavadecal {
|
||||
lifetime 10 11
|
||||
startcolor 0.5 0.5 0.5 0.5 0.5 0.5
|
||||
endcolor 0.0 0.0 0.0 0.0 0.0 0.0
|
||||
blendfunc GL_ONE GL_ONE
|
||||
size 50 60
|
||||
orientation surface
|
||||
map "textures/decals/lavaburn.tga"
|
||||
}
|
||||
|
||||
//some decal for the lighting particles
|
||||
//who: willi
|
||||
particle lightningdecal {
|
||||
lifetime 1.5 2
|
||||
startcolor 0.5 0.8 1.0 0.6 0.9 1.0
|
||||
endcolor 0.3 0.6 1.0 0.4 0.7 1.0
|
||||
blendfunc GL_ONE GL_ONE
|
||||
size 10 12
|
||||
orientation surface
|
||||
map "textures/decals/glow2.tga"
|
||||
}
|
||||
|
||||
//a blood decal
|
||||
//who: willi
|
||||
particle blooddecal1 {
|
||||
lifetime 25 25
|
||||
startcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
endcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
size 30 32
|
||||
orientation surface
|
||||
map "textures/decals/blood_splat01.tga"
|
||||
}
|
||||
|
||||
//guess what another blood decal
|
||||
//who: willi
|
||||
particle blooddecal2 {
|
||||
lifetime 25 25
|
||||
startcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
endcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
size 30 32
|
||||
orientation surface
|
||||
map "textures/decals/blood_splat02.tga"
|
||||
}
|
||||
|
||||
//uhmmm one more blood decal
|
||||
//who: willi
|
||||
particle blooddecal3 {
|
||||
lifetime 15 15
|
||||
startcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
endcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
size 35 37
|
||||
orientation surface
|
||||
map "textures/decals/blood_splat03.tga"
|
||||
}
|
||||
|
||||
|
||||
// ###################################################################################
|
||||
// End of decal defination
|
||||
// ###################################################################################
|
||||
|
||||
// ###################################################################################
|
||||
// Particle system defination bellow this line
|
||||
// ###################################################################################
|
||||
|
||||
//fireball explosion
|
||||
//who: willi
|
||||
particle pt_explode {
|
||||
emitter box -32 -32 -32 32 32 32
|
||||
velocity -192 -192 -192 192 192 192
|
||||
rotation 0 0
|
||||
bounces 3
|
||||
orientation vel 0.03
|
||||
lifetime 1.5 2
|
||||
startcolor 0.5 0.25 0.0 0.5 0.25 0.0
|
||||
endcolor 0.0 0.0 0.0 0.0 0.0 0.0
|
||||
blendfunc GL_ONE GL_ONE
|
||||
gravity 0 0 -200
|
||||
size 4 6
|
||||
map "textures/particles/glow.tga"
|
||||
}
|
||||
|
||||
//fireball explosion on rocket or grenade impact
|
||||
//who: willi
|
||||
particle pt_explosion1 {
|
||||
emitter box -32 -32 -32 32 32 32
|
||||
velocity -192 -192 -192 192 192 192
|
||||
rotation 0 0
|
||||
bounces 3
|
||||
orientation vel 0.03
|
||||
lifetime 1.5 2
|
||||
startcolor 0.5 0.25 0.0 0.5 0.25 0.0
|
||||
endcolor 0.0 0.0 0.0 0.0 0.0 0.0
|
||||
blendfunc GL_ONE GL_ONE
|
||||
gravity 0 0 -200
|
||||
size 4 6
|
||||
map "textures/particles/glow.tga"
|
||||
}
|
||||
|
||||
//spawn smoke on rocket or grenade impact
|
||||
//who: willi
|
||||
particle pt_explosion2 {
|
||||
emitter box -16 -16 -16 16 16 16
|
||||
velocity -16 -16 -16 16 16 16
|
||||
startcolor 0.4 0.4 0.4 0.5 0.5 0.5
|
||||
endcolor 0.2 0.2 0.2 0.3 0.3 0.3
|
||||
lifetime 2 3
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 23 25
|
||||
grow 25 50
|
||||
rotation -150 150
|
||||
gravity 0 0 6
|
||||
//orientation vel 0.02
|
||||
map "textures/particles/smoke.tga"
|
||||
}
|
||||
|
||||
//teleport spawns funky flares
|
||||
//who: charles, willi
|
||||
particle teleportsplash {
|
||||
emitter box 0 0 0 4 4 4
|
||||
velocity -64 -64 -64 64 64 64
|
||||
rotation -50 50
|
||||
lifetime 2 2.5
|
||||
startcolor 0.9 0.9 0.9 1.0 1.0 1.0
|
||||
endcolor 0.4 0.4 0.4 0.5 0.5 0.5
|
||||
blendfunc GL_ONE GL_ONE
|
||||
size 8 10
|
||||
gravity 0 0 -240
|
||||
map "textures/particles/flare2.tga"
|
||||
}
|
||||
|
||||
//spawn blood when hit 1
|
||||
//who: willi
|
||||
particle pt_hitblood1 {
|
||||
emitter box -8 -8 -8 8 8 8
|
||||
velocity -48 -48 -48 48 48 48
|
||||
rotation -80 80
|
||||
lifetime 2 3
|
||||
startcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
endcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
orientation view
|
||||
size 23 25
|
||||
onhit blooddecal1
|
||||
gravity 0 0 -250
|
||||
map "textures/particles/blood.tga"
|
||||
}
|
||||
|
||||
//spawn blood when hit 2
|
||||
//who: willi
|
||||
particle pt_hitblood2 {
|
||||
emitter box -8 -8 -8 8 8 8
|
||||
velocity -48 -48 -48 48 48 48
|
||||
rotation 0 0
|
||||
lifetime 2 3
|
||||
startcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
endcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
size 18 20
|
||||
gravity 0 0 -300
|
||||
onhit blooddecal2
|
||||
map "textures/particles/blood2.tga"
|
||||
orientation vel 0.0156
|
||||
}
|
||||
|
||||
//wtf??
|
||||
//who: noone
|
||||
particle pt_entityparticles {
|
||||
|
||||
}
|
||||
|
||||
//wtf??
|
||||
//who: noone
|
||||
particle pt_voreexplosion1 {
|
||||
|
||||
}
|
||||
|
||||
//wtf??
|
||||
//who: noone
|
||||
particle pt_voreexplosion2 {
|
||||
|
||||
}
|
||||
|
||||
//pointfile points
|
||||
//who: charles
|
||||
particle pt_pointfile {
|
||||
|
||||
}
|
||||
|
||||
//sparks from weapon impact shotgun, double_shotgun, axe
|
||||
//who: willi
|
||||
particle pt_gunshot {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -128 -128 -128 128 128 128
|
||||
rotation 0 0
|
||||
bounces 1
|
||||
lifetime 0.25 0.5
|
||||
startcolor 1.0 0.9 0.1 1.0 0.8 0.2
|
||||
endcolor 0.5 0.1 0.1 0.5 0.2 0.2
|
||||
blendfunc GL_ONE GL_ONE
|
||||
orientation vel 0.02
|
||||
gravity 0 0 -100
|
||||
size 4 6
|
||||
onhit glowdecal
|
||||
map "textures/particles/glow.tga"
|
||||
}
|
||||
|
||||
//rising smoke from weapon impact shotgun, double_shotgun, axe
|
||||
//who: willi
|
||||
particle pt_gunshotsmoke {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
startcolor 0.7 0.8 1.0 0.8 0.9 1.0
|
||||
endcolor 0.6 0.7 0.9 0.7 0.8 0.9
|
||||
lifetime 2 3
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 6 8
|
||||
grow 10 15
|
||||
rotation -100 100
|
||||
gravity 0 0 8
|
||||
map "textures/particles/smoke.tga"
|
||||
}
|
||||
|
||||
//sparks from weapon impact nailgun, chaingun
|
||||
//who: willi
|
||||
particle pt_spike {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -128 -128 -128 128 128 128
|
||||
rotation 0 0
|
||||
bounces 1
|
||||
lifetime 0.25 0.5
|
||||
startcolor 1.0 0.9 0.1 1.0 0.8 0.2
|
||||
endcolor 0.5 0.1 0.1 0.5 0.2 0.2
|
||||
blendfunc GL_ONE GL_ONE
|
||||
orientation vel 0.02
|
||||
gravity 0 0 -100
|
||||
size 4 6
|
||||
onhit glowdecal
|
||||
map "textures/particles/glow.tga"
|
||||
}
|
||||
|
||||
//sparks from weapon impact lightninggun
|
||||
//who: willi
|
||||
particle pt_lightning {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -256 -256 -256 256 256 256
|
||||
rotation 0 0
|
||||
bounces 1
|
||||
lifetime 0.25 0.3
|
||||
startcolor 0.5 0.8 1.0 0.6 0.9 1.0
|
||||
endcolor 0.3 0.6 1.0 0.4 0.7 1.0
|
||||
blendfunc GL_ONE GL_ONE
|
||||
orientation vel 0.03
|
||||
gravity 0 0 -50
|
||||
size 4 6
|
||||
onhit lightningdecal
|
||||
map "textures/particles/glow.tga"
|
||||
}
|
||||
|
||||
//lave splash for episode one boss
|
||||
//who: willi
|
||||
particle pt_lavasplash {
|
||||
emitter box 8 8 8 16 16 16
|
||||
velocity 32 32 32 64 64 64
|
||||
rotation 200 -200
|
||||
lifetime 5 5
|
||||
bounces 1
|
||||
startcolor 1.0 1.0 1.0 1.0 1.0 1.0
|
||||
endcolor 0.5 0.5 0.5 0.5 0.5 0.5
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 110 130
|
||||
gravity 0 0 -70
|
||||
grow -5 -7
|
||||
onhit lavadecal
|
||||
map "textures/particles/lavasplash.tga"
|
||||
}
|
||||
|
||||
//nice rocket trail
|
||||
//who: willi
|
||||
particle pt_rockettrail {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -2 -2 -2 2 2 2
|
||||
startcolor 1.0 0.3 0.0 1.0 0.6 0.1
|
||||
endcolor 0.8 0.8 0.9 0.9 0.9 1.0
|
||||
lifetime 2.5 3.5
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 20 25
|
||||
grow 20 40
|
||||
rotation -150 150
|
||||
gravity 0 0 12
|
||||
map "textures/particles/smoke.tga"
|
||||
}
|
||||
|
||||
//another smoke trail
|
||||
//who: willi
|
||||
particle pt_smoketrail {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -2 -2 -2 2 2 2
|
||||
startcolor 1.0 1.0 1.0 1.0 1.0 1.0
|
||||
endcolor 0.8 0.8 0.9 0.9 0.9 1.0
|
||||
lifetime 2.5 3.5
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 20 25
|
||||
grow 20 40
|
||||
rotation -150 150
|
||||
gravity 0 0 12
|
||||
map "textures/particles/smoke.tga"
|
||||
}
|
||||
|
||||
//yes more blood... muahahaha
|
||||
//who: willi
|
||||
particle pt_bloodtrail {
|
||||
emitter box -32 -32 -32 32 32 32
|
||||
velocity -64 -64 -64 64 64 64
|
||||
rotation 0 0
|
||||
lifetime 0.35 0.50
|
||||
startcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
endcolor 1.0 1.0 1.0 0.8 0.8 0.8
|
||||
blendfunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
size 35 40
|
||||
gravity 0 0 -300
|
||||
grow 70 80
|
||||
onhit blooddecal3
|
||||
map "textures/particles/blood2.tga"
|
||||
orientation vel 0.015
|
||||
}
|
||||
|
||||
//orange magic particles
|
||||
//who: willi
|
||||
particle pt_hknighttrail {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -32 -32 -32 32 32 32
|
||||
startcolor 0.3 0.1 0.0 0.3 0.1 0.0
|
||||
endcolor 0.2 0.1 0.0 0.2 0.1 0.0
|
||||
lifetime 0.5 0.6
|
||||
blendfunc GL_ONE GL_ONE
|
||||
size 7 9
|
||||
grow -3 -4
|
||||
rotation -150 150
|
||||
gravity 0 0 -200
|
||||
map "textures/particles/glow1.tga"
|
||||
}
|
||||
|
||||
//pinky magic particles
|
||||
//who: willi
|
||||
particle pt_voretrail {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -32 -32 -32 32 32 32
|
||||
startcolor 0.3 0.0 0.2 0.3 0.0 0.2
|
||||
endcolor 0.2 0.0 0.2 0.2 0.0 0.2
|
||||
lifetime 1.0 1.25
|
||||
blendfunc GL_ONE GL_ONE
|
||||
size 7 9
|
||||
grow -3 -4
|
||||
rotation -150 150
|
||||
gravity 0 0 50
|
||||
map "textures/particles/flare1.tga"
|
||||
}
|
||||
|
||||
//green slime particles
|
||||
//who: willi
|
||||
particle pt_wizzardtrail {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -32 -32 -32 32 32 32
|
||||
startcolor 1.0 1.0 1.0 1.0 1.0 1.0
|
||||
endcolor 0.0 0.0 0.0 0.0 0.0 0.0
|
||||
lifetime 2.5 3.5
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 35 37
|
||||
grow 20 25
|
||||
rotation -150 150
|
||||
gravity 0 0 -300
|
||||
map "textures/particles/slime.tga"
|
||||
}
|
||||
|
||||
//just some more smoke
|
||||
//who: willi
|
||||
particle pt_smoke {
|
||||
emitter box -2 -2 -2 2 2 2
|
||||
velocity -2 -2 -2 2 2 2
|
||||
startcolor 1.0 1.0 1.0 1.0 1.0 1.0
|
||||
endcolor 0.8 0.8 0.9 0.9 0.9 1.0
|
||||
lifetime 2.5 3.5
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 25 30
|
||||
grow 20 40
|
||||
rotation -150 150
|
||||
gravity 0 0 12
|
||||
map "textures/particles/smoke.tga"
|
||||
}
|
||||
|
||||
//spawned if no other particle effect is done for it and it uses the "default" quake particle code
|
||||
//who: willi
|
||||
particle pt_genericsmoke {
|
||||
emitter box -16 -16 -16 16 16 16
|
||||
startcolor 0.7 0.8 1.0 0.8 0.9 1.0
|
||||
endcolor 0.6 0.7 0.9 0.7 0.8 0.9
|
||||
lifetime 2 2.5
|
||||
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
||||
size 7 8
|
||||
grow 10 15
|
||||
rotation -100 100
|
||||
gravity 0 0 8
|
||||
map "textures/particles/smoke.tga"
|
||||
}
|
||||
|
||||
|
||||
// ###################################################################################
|
||||
// End of particle system defination
|
||||
// ###################################################################################
|
43
scripts/lights.shader
Normal file
43
scripts/lights.shader
Normal file
|
@ -0,0 +1,43 @@
|
|||
textures/lights/default
|
||||
{
|
||||
//Shader loaded by the engine when no shader is specified for a light
|
||||
}
|
||||
|
||||
textures/penta/pent_light01
|
||||
{
|
||||
{
|
||||
//A normal texture "projected" along the direction specified by the light
|
||||
//default is up-down
|
||||
//I'll add more projection options "soon"
|
||||
tcMod rotate 50
|
||||
map "textures/lights/fanblade.tga"
|
||||
}
|
||||
}
|
||||
|
||||
textures/penta/pent_light02
|
||||
{
|
||||
//multiple layers should work (on gf4) radeons == todo
|
||||
{
|
||||
map cube "cubemaps/16"
|
||||
}
|
||||
{
|
||||
map cube "cubemaps/17"
|
||||
}
|
||||
}
|
||||
|
||||
textures/lights/tb_lightgrid01s
|
||||
{
|
||||
qer_nocarve
|
||||
qer_trans 0.35
|
||||
qer_editorimage "textures/common/rtlightfilter.tga"
|
||||
|
||||
surfaceparm nodraw
|
||||
surfaceparm nolightmap
|
||||
surfaceparm nomarks
|
||||
surfaceparm nonsolid
|
||||
surfaceparm trans
|
||||
|
||||
{
|
||||
map "textures/lights/tb_lightgrid01.tga"
|
||||
}
|
||||
}
|
137
scripts/screen.shader
Normal file
137
scripts/screen.shader
Normal file
|
@ -0,0 +1,137 @@
|
|||
//
|
||||
// Shaders used by the menus' console etc...
|
||||
// Note: Some of the filenames are hardcoded in the engine but of course you can change the looks in the shader
|
||||
//
|
||||
|
||||
//
|
||||
// Begin of hardcoded shaders
|
||||
//
|
||||
|
||||
screen/conback {
|
||||
{
|
||||
map textures/menus/noise.tga
|
||||
}
|
||||
}
|
||||
|
||||
screen/disc {
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
tcMod scroll -0.1 -0.05
|
||||
tcMod rotate 0.25
|
||||
}
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
blendfunc add
|
||||
tcMod scroll 0.05 0.1
|
||||
tcMod scale 0.5 0.5
|
||||
}
|
||||
}
|
||||
|
||||
screen/backtile {
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
tcMod scroll -0.1 -0.05
|
||||
tcMod rotate 0.25
|
||||
}
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
blendfunc add
|
||||
tcMod scroll 0.05 0.1
|
||||
tcMod scale 0.5 0.5
|
||||
}
|
||||
}
|
||||
|
||||
screen/ram {
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
tcMod scroll -0.1 -0.05
|
||||
tcMod rotate 0.25
|
||||
}
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
blendfunc add
|
||||
tcMod scroll 0.05 0.1
|
||||
tcMod scale 0.5 0.5
|
||||
}
|
||||
}
|
||||
|
||||
screen/net {
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
tcMod scroll -0.1 -0.05
|
||||
tcMod rotate 0.25
|
||||
}
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
blendfunc add
|
||||
tcMod scroll 0.05 0.1
|
||||
tcMod scale 0.5 0.5
|
||||
}
|
||||
}
|
||||
|
||||
screen/turtle {
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
tcMod scroll -0.1 -0.05
|
||||
tcMod rotate 0.25
|
||||
}
|
||||
{
|
||||
map textures/liquids/tb_lava01.tga
|
||||
blendfunc add
|
||||
tcMod scroll 0.05 0.1
|
||||
tcMod scale 0.5 0.5
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// End of hardcoded shaders
|
||||
//
|
||||
|
||||
//
|
||||
// The demo menu shaders
|
||||
//
|
||||
|
||||
menu/focus {
|
||||
{
|
||||
blendfunc add
|
||||
map textures/menus/borderradar.tga
|
||||
tcMod scale 1 1
|
||||
tcMod scroll -2 0
|
||||
}
|
||||
{
|
||||
blendfunc add
|
||||
map textures/menus/borderglow.tga
|
||||
tcMod scale 8 1
|
||||
tcMod scroll 0.05 0
|
||||
}
|
||||
}
|
||||
|
||||
menus/video {
|
||||
{
|
||||
map video/gba_ad.roq
|
||||
}
|
||||
}
|
||||
|
||||
menus/banner {
|
||||
{
|
||||
map textures/menus/tenebrae2.tga
|
||||
}
|
||||
}
|
||||
|
||||
menus/col1 {
|
||||
{
|
||||
map textures/menus/black.tga
|
||||
}
|
||||
}
|
||||
|
||||
menus/col2 {
|
||||
{
|
||||
map textures/menus/gray_dark.tga
|
||||
}
|
||||
}
|
||||
|
||||
menus/col3 {
|
||||
{
|
||||
map textures/menus/gray_light.tga
|
||||
}
|
||||
}
|
114
scripts/sprites.shader
Normal file
114
scripts/sprites.shader
Normal file
|
@ -0,0 +1,114 @@
|
|||
textures/sprites/flashlight1
|
||||
{
|
||||
{
|
||||
map "textures/sprites/flashlight1.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod0
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod0.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod1
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod1.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod2
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod2.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod3
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod3.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod4
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod4.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod5
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod5.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod6
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod6.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
|
||||
textures/sprites/s_explod7
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod7.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
textures/sprites/s_explod8
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod8.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
textures/sprites/s_explod9
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod9.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
textures/sprites/s_explod10
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod10.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
textures/sprites/s_explod11
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod11.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
textures/sprites/s_explod12
|
||||
{
|
||||
{
|
||||
map "textures/sprites/s_explod12.tga"
|
||||
blendfunc GL_ONE GL_ONE
|
||||
}
|
||||
}
|
||||
textures/sprites/smokepuff
|
||||
{
|
||||
{
|
||||
blendfunc GL_ONE GL_ONE
|
||||
stage diffusemap
|
||||
map "textures/sprites/smokepuff.tga"
|
||||
}
|
||||
}
|
102
scripts/weapons.shader
Normal file
102
scripts/weapons.shader
Normal file
|
@ -0,0 +1,102 @@
|
|||
gib1
|
||||
{
|
||||
normalspecular "textures/weapons/gib1_norm.tga" "textures/weapons/gib1_gloss.tga"
|
||||
diffusemap "textures/weapons/gib1.tga"
|
||||
}
|
||||
|
||||
gib2
|
||||
{
|
||||
normalspecular "textures/weapons/gib2_norm.tga" "textures/weapons/gib2_gloss.tga"
|
||||
diffusemap "textures/weapons/gib2.tga"
|
||||
}
|
||||
|
||||
gib3
|
||||
{
|
||||
normalspecular "textures/weapons/gib3_norm.tga" "textures/weapons/gib3_gloss.tga"
|
||||
diffusemap "textures/weapons/gib3.tga"
|
||||
}
|
||||
|
||||
shotgun_skin
|
||||
{
|
||||
normalspecular "textures/weapons/shotgun_skin_norm.tga" "textures/weapons/shotgun_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/shotgun_skin.tga"
|
||||
}
|
||||
|
||||
shotgun2_skin
|
||||
{
|
||||
normalspecular "textures/weapons/shotgun2_skin_norm.tga" "textures/weapons/shotgun2_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/shotgun2_skin.tga"
|
||||
}
|
||||
|
||||
axe_skin
|
||||
{
|
||||
normalspecular "textures/weapons/axe_skin_norm.tga" "textures/weapons/axe_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/axe_skin.tga"
|
||||
}
|
||||
|
||||
bolt2_skin
|
||||
{
|
||||
normalspecular "textures/weapons/bolt2_skin_norm.tga" "textures/weapons/bolt2_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/bolt2_skin.tga"
|
||||
}
|
||||
|
||||
bolt_skin
|
||||
{
|
||||
normalspecular "textures/weapons/bolt_skin_norm.tga" "textures/weapons/bolt_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/bolt_skin.tga"
|
||||
}
|
||||
|
||||
spike_skin
|
||||
{
|
||||
normalspecular "textures/weapons/spike_skin_norm.tga" "textures/weapons/spike_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/spike_skin.tga"
|
||||
}
|
||||
|
||||
|
||||
missile_skin
|
||||
{
|
||||
normalspecular "textures/weapons/missile_skin_norm.tga" "textures/weapons/missile_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/missile_skin.tga"
|
||||
}
|
||||
|
||||
grenade_skin
|
||||
{
|
||||
normalspecular "textures/weapons/grenade_skin_norm.tga" "textures/weapons/grenade_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/grenade_skin.tga"
|
||||
}
|
||||
|
||||
backpack_skin
|
||||
{
|
||||
normalspecular "textures/weapons/backpack_skin_norm.tga" "textures/weapons/backpack_skin_gloss.tga"
|
||||
diffusemap "textures/weapons/backpack_skin.tga"
|
||||
}
|
||||
|
||||
g_rock
|
||||
{
|
||||
normalspecular "textures/weapons/g_rock_norm.tga" "textures/weapons/g_rock_gloss.tga"
|
||||
diffusemap "textures/weapons/g_rock.tga"
|
||||
}
|
||||
|
||||
g_nail
|
||||
{
|
||||
normalspecular "textures/weapons/g_nail_norm.tga" "textures/weapons/g_nail_gloss.tga"
|
||||
diffusemap "textures/weapons/g_nail.tga"
|
||||
}
|
||||
|
||||
g_nail2
|
||||
{
|
||||
normalspecular "textures/weapons/g_nail2_norm.tga" "textures/weapons/g_nail2_gloss.tga"
|
||||
diffusemap "textures/weapons/g_nail2.tga"
|
||||
}
|
||||
|
||||
g_rock2
|
||||
{
|
||||
normalspecular "textures/weapons/g_rock2_norm.tga" "textures/weapons/g_rock2_gloss.tga"
|
||||
diffusemap "textures/weapons/g_rock2.tga"
|
||||
}
|
||||
|
||||
g_light
|
||||
{
|
||||
normalspecular "textures/weapons/g_light_norm.tga" "textures/weapons/g_light_gloss.tga"
|
||||
diffusemap "textures/weapons/g_light.tga"
|
||||
}
|
Loading…
Reference in a new issue