home *** CD-ROM | disk | FTP | other *** search
- SDEF
- // -----------------------------------------------------------------------------
- // $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Projectiles/spidermin $
- // $Revision:: 14 $
- // $Author:: Aldie $
- // $Date:: 10/22/98 9:31p $
- //
- // Copyright (C) 1998 by Ritual Entertainment, Inc.
- // All rights reserved.
- //
- // This source may not be distributed and/or modified without
- // expressly written permission by Ritual Entertainment, Inc.
- //
- // This is a model definition file. It is to be used in conjunction with Sin.
- //
- // -----------------------------------------------------------------------------
- // MODEL DESCRIPTION:
- // Weapon: Spider Mines.
- //
- // MODEL AUTHOR:
- // Beau
- //
-
- // -----------------------------------------------------------------------------
- // FILE DECLARATIONS
- //
- // Model Commands
- path models/mines_w
- scale 1.1
-
- // Base Model
- mines.sbm
-
- // Skins
- normal mines.tga
-
- // Normal Animations
- open mine_open.sam
- run mine_run.sam
- stick mine_stick.sam
- idle mine_idle.sam
- explode mine_stick.sam
-
- // Define model group areas
- id 10 group light fullbright
-
- // -----------------------------------------------------------------------------
- // INITIALIZATION SECTION
- //
- !init:
-
- // Class Setup
- server classname SpiderMine
-
- // Server Sound Aliases
- server respawnsound
-
- // Client Sound Aliases
- client aliascache snd_open1 "weapons/spiderm/primer3.wav"
- client aliascache snd_stick1 "weapons/spiderm/latch&arm.wav"
- client aliascache snd_run1 "weapons/spiderm/run3.wav"
- client aliascache snd_run_start1 "weapons/spiderm/runstrt2.wav"
- client aliascache snd_explode1 "impact/explosion/med1.wav"
-
- // Icon and Inventory Name
- server iconname "w_spidermines"
- server itemname "Spider Mines"
-
- // -----------------------------------------------------------------------------
- // MAIN SECTION
- //
- !main:
-
- client open first randomsound snd_open 1 3
- client open 2 randomsound snd_run_start .4 2
-
- client stick first randomsound snd_stick 1 2
-
- client run first randomsound snd_run .4 2
-
- client explode first explosion 1.0
- client explode first randomsound snd_explode 1 1
-
- // -----------------------------------------------------------------------------
- // SOURCESAFE Update Log
- //
- // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Projectiles/spidermine.def $
- //
- // 14 10/22/98 9:31p Aldie
- //
- // 13 10/06/98 9:26p Aldie
- // Changed 1 to a first
- //
- // 12 9/30/98 12:48p Joeske
- // Added in formatting, added in respawn sound ref.
- //
- // -----------------------------------------------------------------------------
-