IL-GSC/IW/PC/ALL/1238.gsc
2023-10-27 03:49:01 -04:00

53 lines
1.6 KiB
Plaintext

/*******************************************************************
* Decompiled By: Bog
* Decompiled File: 1238.gsc
* Game: Call of Duty: Infinite Warfare
* Platform: PC
* Function Count: 2
* Decompile Time: 1 ms
* Timestamp: 10/27/2023 12:23:15 AM
*******************************************************************/
//Function Number: 1
main()
{
self setmodel("body_sdf_army_ftl_1");
scripts\code\character::func_2483("alias_heads_sdf_army_bloody",lib_09C2::main());
self.var_8C43 = "head_sdf_army_ftl_1";
self attach(self.var_8C43);
self.var_1FEC = "generic_human";
self.var_1FA8 = "soldier";
self.var_13525 = "setdef";
self method_82C6("vestlight");
if(issentient(self))
{
self method_8492("locdmgtable/ai_lochit_dmgtable");
}
self.var_8E1A = level.var_7649["iw7/prop/vfx_sdf_army_ftl_helmet_split"];
if(issentient(self))
{
self method_849A();
var_00 = [];
var_00["helmet"] = spawnstruct();
var_00["helmet"].var_B4B8 = 9999;
var_00["helmet"].var_C92D = [];
var_00["helmet"].var_C92D["helmet"] = spawnstruct();
var_00["helmet"].var_C92D["helmet"].maxhealth = 50;
var_00["helmet"].var_C92D["helmet"].var_9038 = "helmet";
var_00["helmet"].var_C92D["helmet"].var_4D6F = "j_helmet";
self method_849B("helmet",9999,"helmet",50,"helmet","j_helmet");
self.var_4D5D = var_00;
}
self method_83D0(#animtree);
}
//Function Number: 2
precache()
{
precachemodel("body_sdf_army_ftl_1");
scripts\code\character::func_D811(lib_09C2::main());
precachemodel("head_sdf_army_ftl_1");
level.var_7649["iw7/prop/vfx_sdf_army_ftl_helmet_split"] = loadfx("vfx/iw7/prop/vfx_sdf_army_ftl_helmet_split.vfx");
}