.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 1 SDK (http://forums.bots-united.com/forumdisplay.php?f=33)
-   -   what means the file : h_cine.cpp (http://forums.bots-united.com/showthread.php?t=10100)

sixcentgeorgefr 09-12-2020 18:48

what means the file : h_cine.cpp
 
this file has a lot of references to models files that are not in the valve models folders..
more than that it has no reference to the Gman ... that is the "cinematic model" of the game

does it must be compiled and what kind of change it can support ? :shuriken:
i mean beside adding gman.. :tooth:

tschumann 10-12-2020 22:29

Re: what means the file : h_cine.cpp
 
From memory it's just a generic entity that was probably used in demos of the game.

sixcentgeorgefr 11-12-2020 12:44

Re: what means the file : h_cine.cpp
 
===== h_cine.cpp ================================================== ======

The Halflife hard coded "scripted sequence".

I'm pretty sure all this code is obsolete

*/

#include "extdll.h"
#include "util.h"
#include "cbase.h"
#include "monsters.h"
#include "decals.h"

class CLegacyCineMonster : public CBaseMonster
{
public:
void CineSpawn( const char *szModel );
void Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value );
void EXPORT CineThink( void );
void Pain( void );
void Die( void );
};

class CCineScientist : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine-scientist.mdl"); }
};

class CCine2Scientist : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine2-scientist.mdl"); }
};

class CCinePanther : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine-panther.mdl"); }
};

class CCineBarney : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine-barney.mdl"); }
};

class CCine2HeavyWeapons : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine2_hvyweapons.mdl"); }
};

class CCine2Slave : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine2_slave.mdl"); }
};

class CCine3Scientist : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine3-scientist.mdl"); }
};

class CCine3Barney : public CLegacyCineMonster
{
public:
void Spawn( void ) { CineSpawn("models/cine3-barney.mdl"); }
};


you mean some very old "video" coded in the hl valve dll without map ?

tschumann 12-12-2020 07:57

Re: what means the file : h_cine.cpp
 
Yes it was probably used for some videos in 1997.


All times are GMT +2. The time now is 19:57.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.