djcev.com

//

Git Repos / fte_dogmode / qc / func / illusionary.qc

Last update to this file was on 2024-03-24 at 02:40.

Show illusionary.qc

//==============================================================================
// func_illusionary
//==============================================================================

//======================================================================
// forward declarations
//======================================================================

// func_illusionary
void(entity e) func_illusionary_init;
void() func_illusionary;

//------------------------------------------------------------------------------

/*QUAKED func_illusionary (0 .5 .8) ? X X X X X X X X NOT_ON_EASY NOT_ON_NORMAL NOT_ON_HARD_OR_NIGHTMARE NOT_IN_DEATHMATCH NOT_IN_COOP NOT_IN_SINGLEPLAYER X NOT_ON_HARD_ONLY NOT_ON_NIGHTMARE_ONLY
A simple entity that looks solid but lets you walk through it.
*/
//----------------------------------------------------------------------
// class func_illusionary: base_func
// {
//--------------------------------------------------------------
void(entity e) func_illusionary_init =
{
e.classname = "func_illusionary";
e.classtype = CT_FUNC_ILLUSIONARY;
base_func_init (e);

e.angles = '0 0 0';
e.movetype = MOVETYPE_NONE;
e.solid = SOLID_NOT;
setmodel (e, e.model);
makestatic (e);
};

//--------------------------------------------------------------
void() func_illusionary =
{
// new spawnflags for all entities -- iw
if (SUB_Inhibit())
return;

func_illusionary_init (self);
};
// };

Return to the top of this page or return to the overview of this repo.

Log illusionary.qc

Date Commit Message Author + -
2024-03-24 2nd pass refactor, rework QC class structure cev +31 -10
2024-01-09 Continue OO / Class-based refactor cev +13 -9
2023-11-27 Code reorg, minor movement changes, misc cev +19  

Return to the top of this page or return to the overview of this repo.