SFDecos.SFPickBox2

00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
//=============================================================================
// Spatial Fear
// Class: SFPickBox2
// Description: 
//	This is a pickable decoration item.
//	The SF player class has modified grab behaviour. It allows to pickup decoration
//	items up to a mass of 45 in the case that the player is not holding a weapon, or
//	just the SFPrybar.
//	The standard SFPickBox2 has a mass of 40 which gives quite expectable throw curve
//	upon decoration drop. Lowering the mass value allows to throw the box further away.
//	Grab and Throw of the item are triggered by the UseKey.
//	While the box is held by the player it is translucent and does not collide with the 
//	world. The behaviour, that a carried decoration item goes through walls is by design.
// 
// Author: Ivan Tantziura
// Modfied: Markus Nuebel
//=============================================================================
class SFPickBox2 expands SFDecoration;

#exec MESH IMPORT MESH=SFPickBox2m ANIVFILE=MODELS\SFPickBoxm_a.3d DATAFILE=MODELS\SFPickBoxm_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=SFPickBox2m X=70 Y=0 Z=115

#exec MESH SEQUENCE MESH=SFPickBox2m SEQ=All    STARTFRAME=0 NUMFRAMES=23
#exec MESH SEQUENCE MESH=SFPickBox2m SEQ=still  STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=SFPickBox2m SEQ=select STARTFRAME=1 NUMFRAMES=11
#exec MESH SEQUENCE MESH=SFPickBox2m SEQ=down   STARTFRAME=12 NUMFRAMES=11


#exec MESHMAP NEW   MESHMAP=SFPickBox2m MESH=SFPickBox2m
#exec MESHMAP SCALE MESHMAP=SFPickBox2m X=0.1 Y=0.1 Z=0.2

defaultproperties
{
     bPushable=True
     bStatic=False
     Physics=PHYS_Falling
     LODBias=16.000000
     DrawType=DT_Mesh
     Mesh=LodMesh'SFDecos.SFPickBox2m'
     MultiSkins(1)=Texture'SFDecos.Skins.JSFPickBox'
     CollisionRadius=18.000000
     CollisionHeight=13.000000
     Mass=40.000000
}

class file time: 12/7/2003 3:58:26 PM - creation time: 12/7/2003 4:03:45 PM
Created with UnCodeX