-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by GodZilla
-
-
@trap
yes i see it, you changed the colors....
-
Define the baseclass then this should work!
class RscListBox
{
access = 0;
type = 5;
w = 0.4;
h = 0.4;
rowHeight = 0;
colorText[] = {0.8784,0.8471,0.651,1};
colorScrollbar[] = {0.95,0.95,0.95,1};
colorSelect[] = {0.95,0.95,0.95,1};
colorSelect2[] = {0.95,0.95,0.95,1};
colorSelectBackground[] = {0,0,0,1};
colorSelectBackground2[] = {0.8784,0.8471,0.651,1};
colorBackground[] = {0,0,0,1};
soundSelect[] = {"",0.1,1};
arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
class ScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
shadow = 0;
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
style = 16;
font = "Zeppelin32";
shadow = 2;
sizeEx = 0.03921;
color[] = {1,1,1,1};
period = 1.2;
maxHistoryDelay = 1;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
}; -
-
just change in your clickactions:
"true"
with this:
"(player getVariable['humanity',0] < -5000 || player getVariable['humanity',0] > 5000)"
-
In your Click Actions replace this:
["ItemMap","Find Ore Veins","execVM 'scripts\findOreVeins.sqf';","true"]
with this:
["ItemMap","Find Ore Veins","execVM 'scripts\findOreVeins.sqf';","(player getVariable['humanity',0] < -5000 || player getVariable['humanity',0] > 5000)"]
-
I have the same problem: I have the same problem
Hi all !
When I deploy a HeliPad (for salival's VirtualGarage script) I see a message "This vehicle is permanent and will persist through server restarts!".
But after restart a helipad disappears. I using this line in config:
["ItemToolbox",[0,9,2],5,0.9,false,true,false,true,true,false,true,["HeliHCivil"],[],[],"true"]
-
2 hours ago, JasonTM said:Spoiler
Thanks JasonTM u are Great! This works well
-
Hi Guys,
I hope u can help me pls. I added just for fun cash for zombiekill to the local_eventkill.sqf and to get money for (Z)headshoots to the the fn_damageHandlerZ.sqf Now u can get money for some zombiekills.
This comes with a message (system -or hint)
In my variables is Z_singleCurrency = true;, and to show the value i have a hud.
Spoiler//[unit, selectionName, damage, source, projectile]
//will only run when local to the created object
//record any key hits to the required selection
private["_killer","_Wallet", "_Amount"];_array = _this select 0;
_zed = _array select 0;
_killer = _array select 1;
_type = _this select 1;
_Amount =500;if (local _zed) then {
_kills = _killer getVariable[_type,0];
_killer setVariable[_type,(_kills + 1),true];//increase players humanity when zed killed
_humanity = _killer getVariable["humanity",0];
_humanity = _humanity + 50;
_killer setVariable["humanity",_humanity,true];
_Wallet = _killer getVariable[Z_bankVariable, 0];
_killer setVariable[Z_bankVariable, _Wallet + _Amount, true];
call player_forceSave;
systemChat format["[DE1OO1] %1 ZombieKill +%2 Skill %3 ", name player, _Amount];
};Spoiler//[unit, selectionName, damage, source, projectile]
//will only run when local to the created object
//record any key hits to the required selection
private ["_damage","_headShots","_Wallet","_Amount"];_zed = _this select 0;
_selection = _this select 1;
_damage = _this select 2;
_hitter = _this select 3;
_projectile = _this select 4;
_Amount =100;_starL = "<img image='\ca\ui\data\arrow_right.paa' align='left'/>";
_starL = _starL;
_starR = "<img image='\ca\ui\data\arrow_left_ca.paa' align='right' />";
_starR = _starR;
_title = "<t color='#ff0000' size='2.0' shadow='1' shadowColor='#000000' align='center'>HeadShot</t>";
_text = "+100Skill";if (_projectile in MeleeAmmo) then {
_damage = _damage * 10;
};if (local _zed) then {
if (_damage > 1 and _projectile != "") then {
//Record deliberate critical damages
switch (_selection) do {
case "head_hit": {
if (!(_zed getVariable["hitRegistered",false])) then {
_headShots = _hitter getVariable["headShots",0];
_hitter setVariable["headShots",(_headShots + 1),true];
_zed setVariable["hitRegistered",true];
_Wallet = _killer getVariable[Z_bankVariable, 0];
_killer setVariable[Z_bankVariable, _Wallet + _Amount, true];
call player_forceSave;
hint parseText (_starL + _starR + _title + _text);
};
};
};
//diag_log format["0: %1, 1: %2, 2: %3, 3: %4, 4: %5",_zed,_selection,_damage,_hitter,_projectile];
if (_projectile isKindOf "Bolt") then {
_damageOrg = _hitter getVariable["firedDamage",0]; //_unit getVariable["firedSelection",_selection];
if (_damageOrg < _damage) then {
_hitter setVariable["firedHit",[_zed,_selection],true];
_hitter setVariable["firedDamage",_damage,true];
};
};
};
};// all "HandleDamage event" functions should return the effective damage that the engine will record
_damageIs there a way to add this funktion to kill vehicles like "air, land, ship"?
-
This looks great, thanks for this ;D
-
Thanks, will try.
-
Hello Matey, Is There A Way to Make This NameTag OverHead?
-
Hi, i use this Script:
But i cant see the AI in my group, like this:
can anyone help pls?
And sry for my noobquestion ;D
-
Thanks Jason ;D
-
Thanks Jason, this is great! Can we use this from aidem, because the original download link's are dead? Do we still have the permission of aidem to use that?
[Outdated] Full Server Files/Scripts Release (Cherno and Tavi).
in A2: Custom Bases
Posted
Thanks For Sharing This Files. This smells like hard work. U have my respect. But
The text file "Z ... Planning on taking my content" unsettles me. Can we use your personal use or not?