overheating: hard code path to parent script_components

This commit is contained in:
Nicolás Badano 2015-01-13 00:37:53 -03:00
parent a53a265117
commit 2a2eb38de7
7 changed files with 7 additions and 9 deletions

View File

@ -1,5 +1,5 @@
// by commy2 and CAA-Picard // by commy2 and CAA-Picard
#include "script_component.hpp" #include "\z\ace\addons\overheating\script_component.hpp"
_this spawn { _this spawn {
_player = _this select 0; _player = _this select 0;

View File

@ -1,5 +1,5 @@
// by commy2 // by commy2
#include "script_component.hpp" #include "\z\ace\addons\overheating\script_component.hpp"
private ["_unit", "_weapon", "_skipAnim", "_jammedWeapons"]; private ["_unit", "_weapon", "_skipAnim", "_jammedWeapons"];

View File

@ -11,7 +11,7 @@
* Return value: * Return value:
* New temperature (number) * New temperature (number)
*/ */
#include "script_component.hpp" #include "\z\ace\addons\overheating\script_component.hpp"
private ["_temperature", "_barrelMass", "_totalTime", "_barrelSurface", "_time", "_deltaTime"]; private ["_temperature", "_barrelMass", "_totalTime", "_barrelSurface", "_time", "_deltaTime"];

View File

@ -1,5 +1,5 @@
// based on KK_fnc_playerWeaponMulfunction from KillzoneKid // based on KK_fnc_playerWeaponMulfunction from KillzoneKid
#include "script_component.hpp" #include "\z\ace\addons\overheating\script_component.hpp"
private ["_unit", "_weapon", "_jammedWeapons"]; private ["_unit", "_weapon", "_jammedWeapons"];

View File

@ -1,5 +1,5 @@
// by commy2 and CAA-Picard // by commy2 and CAA-Picard
#include "script_component.hpp" #include "\z\ace\addons\overheating\script_component.hpp"
private ["_unit", "_weapon", "_ammo", "_projectile", "_velocity", "_variableName", "_overheat", "_temperature", "_time", "_energyIncrement", "_barrelMass", "_scaledTemperature"]; private ["_unit", "_weapon", "_ammo", "_projectile", "_velocity", "_variableName", "_overheat", "_temperature", "_time", "_energyIncrement", "_barrelMass", "_scaledTemperature"];

View File

@ -1,5 +1,5 @@
// by commy2 // by commy2
#include "script_component.hpp" #include "\z\ace\addons\overheating\script_component.hpp"
private ["_player", "_weapon"]; private ["_player", "_weapon"];

View File

@ -1,5 +1,5 @@
// by commy2 // by commy2
#include "script_component.hpp" #include "\z\ace\addons\overheating\script_component.hpp"
private ["_player", "_weapon"]; private ["_player", "_weapon"];
@ -7,8 +7,6 @@ _player = _this select 0;
_weapon = _this select 1; _weapon = _this select 1;
// don't consume the barrel, but rotate through them. // don't consume the barrel, but rotate through them.
//player removeItem "ACE_SpareBarrel";
[localize "STR_ACE_Overheating_SwappedBarrel", QUOTE(PATHOF(UI\spare_barrel_ca.paa))] call EFUNC(common,displayTextPicture); [localize "STR_ACE_Overheating_SwappedBarrel", QUOTE(PATHOF(UI\spare_barrel_ca.paa))] call EFUNC(common,displayTextPicture);
_player setVariable [format [QGVAR(%1), _weapon], [0, 0], false]; _player setVariable [format [QGVAR(%1), _weapon], [0, 0], false];