bombajack
-
Posts
90 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by bombajack
-
-
Hello.
Im total noob in scripting.This is my first try of script...where have i mistake?
In init i have this : [] execVM "scripts\tired.sqf";
Can anyone help with this?
getFatigue player; if (getFatigue player > 25) Then { playSound "sounds\heartBeat.ogg"; player sideChat "I'm very tired,need break!" };
-
while {_num < 5} do { _coords = [_pos,5,150,5,0,50,0] call BIS_fnc_findSafePos; _num = _num + 1;
Thx !
But..where implement this code?
-
//Esseker
[
[[40.4181,2761.59,0.1],[],74,15],
[[11522.3,4623.46,0.1],[],274,15],
[[94.3671, 1484.37,0.1],[],99,15]
]
Thanks..
-
Hello,
i have some questions..
1)is possible do zombies attacked vehicle if player is inside? (ofcourse with vehicle damage)
2)is possible increase zombies HP? (Because they goes down on one shot)
Thanks all for answer. ;)
-
Hi all.
Can anyone post mission.sqm file?
Thank you
-
How size for logo image?
-
i would try to change for a spawn type like this :)
but need reduce distance from player and maybe damage...
Nice W4lly! Gogo..cant wait..:)
-
Hello.
How to eliminate zombies in Safezones? They can damage player but player cant kill him..
Best will be delete or black listed in this area.
Thanks for answer
Nobody does not solve this problem?
-
I have the idea for a great script that would allow drone be in this game, that would be ideal example for spying on enemy bases.Lot of people had here on the forum this idea, but yet there was none good script ...I can not write scripts, but I have a good ideas. :)Someone who can write a script to fully control these drone?
-
Looking for coordinates for Esseker?Have it anyone?
Thanks! ;)
-
Yeah..try this:
while { true } do { _damage = damage player; if(EPOCH_playerHunger < 200) then{ _damage = _damage + 0.1; systemchat("YOU ARE HUNGRY!EAT OR YOU DIE SOON"); if(_damage >= 1 )exitWith { player setDamage 1; }; player setDamage _damage; }else{ EPOCH_playerHunger = EPOCH_playerHunger - 50; }; if(EPOCH_playerThirst < 200) then{ _damage = _damage + 0.1; systemchat("YOU ARE THIRSTY!DRINK SOMETHING OR YOU DIE SOON!"); if(_damage >= 1 )exitWith { player setDamage 1; }; player setDamage _damage; }else{ EPOCH_playerThirst = EPOCH_playerThirst - 25; }; sleep 180; };
-
Hello.
How to eliminate zombies in Safezones? They can damage player but player cant kill him..
Best will be delete or black listed in this area.
Thanks for answer
-
Nice.Thank you! ;)
-
Worked this script for all maps?
-
ITS WORKED! :)
With permission i released it for other server admins.
Thanks! ;)
-
I put before the recent query script that can do it, so that the players get harmed when he was thirsty or hungry.Thanks to the community, one member advised me and wrote skript.I test it and it works!Original script by user @W4lly- in init.sqf put a line with [] execVM "myName.sqf";- create file with name u want example myName.sqf and put in mission folder....- need to be filtered for BE script.txt line 48 setDamage add !="player setDamage _damage;" !="player setDamage 1;"myName.sqf
while { true } do { _damage = damage player; if(EPOCH_playerHunger < 100) then{ _damage = _damage + 0.1; if(_damage >= 1 )exitWith { player setDamage 1;}; player setDamage _damage; }else{ EPOCH_playerHunger = EPOCH_playerHunger - 50; }; if(EPOCH_playerThirst < 100) then{ _damage = _damage + 0.1; if(_damage >= 1 )exitWith { player setDamage 1;}; player setDamage _damage; }else{ EPOCH_playerThirst = EPOCH_playerThirst - 25; }; sleep 300; };
if u want increase speed reduce sleep....
if you want increase damage reduce _damage + 0.1; //10% damage
if you want modify from what values need you start damage, reduce - if(EPOCH_playerHunger < 100) then{
@W4lly thanks for help again. ;)
-
writed this but i have not tested ... try...
while { true } do { _damage = damage player; if(EPOCH_playerHunger < 100) then{ _damage = _damage + 0.1; if(_damage >= 1 )exitWith { player setDamage 1;}; player setDamage _damage; }else{ EPOCH_playerHunger = EPOCH_playerHunger - 50; }; if(EPOCH_playerThirst < 100) then{ _damage = _damage + 0.1; if(_damage >= 1 )exitWith { player setDamage 1;}; player setDamage _damage; }else{ EPOCH_playerThirst = EPOCH_playerThirst - 25; }; sleep 300; };
create file with name u want example myName.sqf put in mission folder....
in init.sqf put a line with [] execVM "myName.sqf";
need to be filtered for BE script.txt line 48 setDamage add !="player setDamage _damage;" !="player setDamage 1;"
if u want increase speed reduce sleep....
Thx so much mate! I try it and give Feedback..
-
And here are the new description.ext entries to use the Soundfiles from BombaJack
class CfgSounds { sounds[] = {zomb1,zomb2,zomb3,zomb4,zomb5,zomb6,zomb7,zomb8,zomb9,zomb10,zomb11,zomb12}; class zomb1 { name = "zomb1"; sound[] = {"\sounds\zomb1.ogg", 1, 1}; titles[] = {}; }; class zomb2 { name = "zomb2"; sound[] = {"\sounds\zomb2.ogg", 1, 1}; titles[] = {}; }; class zomb3 { name = "zomb3"; sound[] = {"\sounds\zomb3.ogg", 1, 1}; titles[] = {}; }; class zomb4 { name = "zomb4"; sound[] = {"\sounds\zomb4.ogg", 1, 1}; titles[] = {}; }; class zomb5 { name = "zomb5"; sound[] = {"\sounds\zomb5.ogg", 1, 1}; titles[] = {}; }; class zomb6 { name = "zomb6"; sound[] = {"\sounds\zomb6.ogg", 1, 1}; titles[] = {}; }; class zomb7 { name = "zomb7"; sound[] = {"\sounds\zomb7.ogg", 1, 1}; titles[] = {}; }; class zomb8 { name = "zomb8"; sound[] = {"\sounds\zomb8.ogg", 1, 1}; titles[] = {}; }; class zomb9 { name = "zomb9"; sound[] = {"\sounds\zomb9.ogg", 1, 1}; titles[] = {}; }; class zomb10 { name = "zomb10"; sound[] = {"\sounds\zomb10.ogg", 1, 1}; titles[] = {}; }; class zomb11 { name = "zomb11"; sound[] = {"\sounds\zomb11.ogg", 1, 1}; titles[] = {}; }; class zomb12 { name = "zomb12"; sound[] = {"\sounds\zomb12.ogg", 1, 1}; titles[] = {}; }; };;
and you must change in the fnc_ZProximity file at line 8:
_suoni = ["zomb1","zomb2","zomb3"];
to
_suoni = ["zomb1","zomb2","zomb3","zomb4","zomb5","zomb6","zomb7","zomb8","zomb9","zomb10","zomb11","zomb12"];
Now you can use the new Zombie Sounds from BombaJack ! HAVE FUN !
Yeah,thanks for the complement..;)
-
Hello.
I made some nice zombies sounds for this script.
Here is it: http://uloz.to/xWuvEmZu/sounds-zip
Enjoy! ;)
EDIT:Damn..password is : prdel
-
But i find this:
hunger_fnc_handle = {if(hunger == 100) then {damage = damage + 10;hint "I need food!";call hunger_fnc_handle;} else {hunger = hunger - 5;sleep 600;call hunger_fnc_handle;};};thirst_fnc_handle = {if(thirst == 100) then {damage = damage + 10;hint "I need drink!";call thirst_fnc_handle;} else {thirst = thirst - 5;sleep 300;call thirst_fnc_handle;};};Can worked it? -
if u know little bit code can make one .....
need to work with
damage playerEPOCH_playerHungerEPOCH_playerThirstEPOCH_playerStaminaEPOCH_playerToxicityEPOCH_playerEnergyexamplewhile { true } do { waitUntil { myCondition }; _damage = damage player; if(_damage > 0) then{ _damage = _damage - 0.1; player setDamage _damage; }; if(_damage <= 0)exitWith {player setDamage 0;}; sleep 30; };
every 30 sec remove 10% of damage ..
EPOCH_playerHunger and the others ned only to set EPOCH_playerHunger= value;
Thank you for answer but im not coder..:/
I understand what is in code,but i can not write code..:) (if know what i say,my english is not good too) :D
-
for change values ? or for detect? what to do this script?
for detect watch statusbar script is a example... for change by condition is not difficoult... :)
For change condition.For example: If you Hungry ,damage is -5 % per sec,for thirst same or more ..If you do not eat or thirst you'll die soon (like A2 DayZ style)
-
Wow... now THAT was a long scroll on my phone... so much swiping i think i wore a hole in the screen!
That said... your problem seems to be right at the start (i didnt even look any further when i saw the issue.... notice that aia_chernarus_config.... tsk tsk tsk....
version = 12; class Mission { addOns[] = { "A3_Soft_F_Car", "A3_Soft_F_Quadbike", "a3_soft_f_beta_quadbike", "A3_Boat_F_Civilian_Boat", "A3_Boat_F_Boat_Transport_01", "A3_Air_F_Heli_Light_01", "A3_Air_F_Heli_Heli_Transport_04", "A3_Air_F_Heli_Heli_Transport_03", "esseker", "a3_characters_f_gamma", "A3_Characters_F_OPFOR", "A3_Characters_F_INDEP", "A3_Characters_F_Civil", "A3_epoch_config", "a3_characters_f", "A3_Data_F_Curator_Virtual", }; addOnsAuto[] = {"a3_epoch_config", "esseker"}; randomSeed = 12032465;
Server running...thank you mate. ;)
-
Exist any script for it?
Thanks for answer.
Fatigue script+sound
in Scripting
Posted
Thanks so much..i try it.thx! ;)