mirror of
https://github.com/InfinityLoader/IL-GSC.git
synced 2025-06-07 17:17:50 -05:00
70 lines
2.4 KiB
Plaintext
70 lines
2.4 KiB
Plaintext
/*******************************************************************
|
|
* Decompiled By: Bog
|
|
* Decompiled File: maps/mp/_createfx.gsc
|
|
* Game: Call of Duty: Advanced Warfare
|
|
* Platform: PC
|
|
* Function Count: 4
|
|
* Decompile Time: 54 ms
|
|
* Timestamp: 10/27/2023 2:08:02 AM
|
|
*******************************************************************/
|
|
|
|
//Function Number: 1
|
|
createfx()
|
|
{
|
|
level.func_position_player = ::common_scripts\utility::void;
|
|
level.func_position_player_get = ::func_position_player_get;
|
|
level.func_loopfxthread = ::common_scripts\_fx::loopfxthread;
|
|
level.func_oneshotfxthread = ::common_scripts\_fx::oneshotfxthread;
|
|
level.func_create_loopsound = ::common_scripts\_fx::create_loopsound;
|
|
level.func_updatefx = ::common_scripts\_createfx::restart_fx_looper;
|
|
level.func_process_fx_rotater = ::common_scripts\_createfx::process_fx_rotater;
|
|
level.func_player_speed = ::func_player_speed;
|
|
level.mp_createfx = 1;
|
|
level.callbackstartgametype = ::common_scripts\utility::void;
|
|
level.callbackplayerconnect = ::common_scripts\utility::void;
|
|
level.callbackplayerdisconnect = ::common_scripts\utility::void;
|
|
level.callbackplayerdamage = ::common_scripts\utility::void;
|
|
level.callbackplayerkilled = ::common_scripts\utility::void;
|
|
level.callbackentityoutofworld = ::common_scripts\utility::void;
|
|
level.callbackcodeendgame = ::common_scripts\utility::void;
|
|
level.callbackplayerlaststand = ::common_scripts\utility::void;
|
|
level.callbackplayerconnect = ::callback_playerconnect;
|
|
level.callbackplayermigrated = ::common_scripts\utility::void;
|
|
maps\mp\gametypes\_gameobjects::main([]);
|
|
thread common_scripts\_createfx::func_get_level_fx();
|
|
common_scripts\_createfx::createfx_common();
|
|
level waittill("eternity");
|
|
}
|
|
|
|
//Function Number: 2
|
|
func_position_player_get(param_00)
|
|
{
|
|
return level.player.origin;
|
|
}
|
|
|
|
//Function Number: 3
|
|
callback_playerconnect()
|
|
{
|
|
self waittill("begin");
|
|
if(!isdefined(level.player))
|
|
{
|
|
var_00 = getentarray("mp_global_intermission","classname");
|
|
var_01 = (var_00[0].angles[0],var_00[0].angles[1],0);
|
|
self spawn(var_00[0].origin,var_01);
|
|
maps\mp\_utility::updatesessionstate("playing");
|
|
self.maxhealth = 10000000;
|
|
self.health = 10000000;
|
|
level.player = self;
|
|
thread common_scripts\_createfx::createfxlogic();
|
|
return;
|
|
}
|
|
|
|
kick(self getentitynumber());
|
|
}
|
|
|
|
//Function Number: 4
|
|
func_player_speed()
|
|
{
|
|
var_00 = level._createfx.player_speed / 190;
|
|
level.player setmovespeedscale(var_00);
|
|
} |