mirror of
https://github.com/InfinityLoader/IL-GSC.git
synced 2025-07-08 22:57:51 -05:00
Full AW Dump
This commit is contained in:
48
AW/PC/vehicle_scripts/_sidewinder_scripted.gsc
Normal file
48
AW/PC/vehicle_scripts/_sidewinder_scripted.gsc
Normal file
@ -0,0 +1,48 @@
|
||||
/*******************************************************************
|
||||
* Decompiled By: Bog
|
||||
* Decompiled File: _sidewinder_scripted.gsc
|
||||
* Game: Call of Duty: Advanced Warfare
|
||||
* Platform: PC
|
||||
* Function Count: 4
|
||||
* Decompile Time: 68 ms
|
||||
* Timestamp: 4/22/2024 2:05:33 AM
|
||||
*******************************************************************/
|
||||
|
||||
//Function Number: 1
|
||||
main(param_00,param_01,param_02)
|
||||
{
|
||||
maps\_vehicle::build_template("sidewinder_scripted",param_00,param_01,param_02);
|
||||
maps\_vehicle::build_localinit(::init_local);
|
||||
maps\_vehicle::build_deathmodel("vehicle_sidewinder_scripted");
|
||||
maps\_vehicle::build_treadfx();
|
||||
level._effect["engineeffect"] = loadfx("vfx/trail/jet_thruster_far");
|
||||
level._effect["afterburner"] = loadfx("vfx/fire/jet_afterburner_ignite");
|
||||
level._effect["contrail"] = loadfx("vfx/trail/jet_contrail");
|
||||
level._effect["smoketrail_rocket"] = loadfx("vfx/trail/smoketrail_rocket");
|
||||
maps\_vehicle::build_deathfx("vfx/explosion/vehicle_generic_ai_explo_lrg_runner",undefined,"explo_metal_rand");
|
||||
maps\_vehicle::build_life(999,500,1500);
|
||||
maps\_vehicle::build_team("allies");
|
||||
maps\_vehicle::build_is_airplane();
|
||||
}
|
||||
|
||||
//Function Number: 2
|
||||
init_local()
|
||||
{
|
||||
self.script_cheap = 1;
|
||||
thread playthrustereffects();
|
||||
}
|
||||
|
||||
//Function Number: 3
|
||||
playthrustereffects()
|
||||
{
|
||||
self endon("death");
|
||||
self endon("stop_engineeffects");
|
||||
var_00 = common_scripts\utility::getfx("smoketrail_rocket");
|
||||
playfxontag(var_00,self,"lod0_comb");
|
||||
}
|
||||
|
||||
//Function Number: 4
|
||||
stop_sound(param_00)
|
||||
{
|
||||
self notify("stop sound" + param_00);
|
||||
}
|
Reference in New Issue
Block a user