-
Posts
710 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Articles
Posts posted by Thug
-
-
Thanks to all,
All of you were right the helicopters have to have an ObjectID
Got it to work with the help of @JasonTM
This line is where the heli is created:
_motor = createVehicle [_heli select 0,_spawn,[],50,"FLY"];
Add the following two lines below the above line, so it looks like this
_motor = createVehicle [_heli select 0,_spawn,[],50,"FLY"];
_motor setVariable ["ObjectID", "1", true];
_motor setVariable ["ObjectUID", "1", true];
-
Thanks @salival maybe I will try lowering the price. It makes no sense.
-
Has anyone had this happen on their server?
I go to the hero trader and try to sell a AH6J_EP1
He tells me, You must get into the drivers seat of a vehicle first. Funny I just landed there 20m away.
Try to sell the heli and it says, Trade successful, you received 0 Coins
The heli still there and no money.
You can buy the heli from the trader with no problem.
Here is the class infor for the heli. btw no other heli does this.
class AH6J_EP1 {
type = "trade_any_vehicle";
buy[] = {150000,"worth"};
sell[] = {72500,"worth"};
}; -
1 hour ago, Vladick said:
DZAI bots show up and spoil the fun
what I tell my players is, keep your head on a swivel and stay alive.
-
WAI 2.2.4 in the config.sqf I see a new statment: if (WAI_Overpoch) then {
Does that have to be enabled or will WAI just pick up that I am running overwatch?
-
in the download, Isee afile called fn_halo.sqfDoes it go in the mission file and where to call it from?never mind I found it. :)
-
For anyone looking to have ATMs instead of AI Bankers.
This is what I did. Click here to watch youtube video on How to add ATM's in Epoch 1.0.6.2
-
Have updated for 1.0.6.2
See first post
- Schalldampfer and Cubitron
- 2
-
@kingpapawawa my loot tables were broke. Could not find where, so I replaced with fresh ones. Now I am not getting the errors.
-
in my RPT server side, I keep getting this errors that have to do with the dayz_code loot. The errors below are only part of what is in the rpt server side. I only copied a few. Has anyone seen this before and what to do about it? By the way, they show up in 2 servers I have Sauerland 1.0.6.2 and Taviana 1.0.6.2. The loot system is working.
When I take DZAI out of both server, I do not get these errors. Was doing sector B today, which I use the DZAI. Every time you would shoot your weapon two times, you could see the loot change. I have gone over the loot files on mission side and can not find anything wrong with it. Also, I had someone else look and they could not find anything wrong.
SpoilerError in expression <0) == 1} do
{
_sub = dz_loot_weighted select (_def select 1);
_def = dz_loot_d>
9:18:43 Error position: <select (_def select 1);
_def = dz_loot_d>
9:18:43 Error Zero divisor
9:18:43 File z\addons\dayz_code\loot\select.sqf, line 32
9:18:43 Error in expression <floor random count _weighted);while {(_def select 0) == 1} do
{
_sub = dz_lo>
9:18:43 Error position: <_def select 0) == 1} do
{
_sub = dz_lo>
9:18:43 Error Undefined variable in expression: _def
9:18:43 File z\addons\dayz_code\loot\select.sqf, line 30
9:18:43 Error in expression <andom count _sub);
};_result set [_i, _def];
};_result>
9:18:43 Error position: <_def];
};_result>
9:18:43 Error Undefined variable in expression: _def
9:18:43 File z\addons\dayz_code\loot\select.sqf, line 36
9:18:43 Error in expression <0) == 1} do
{
_sub = dz_loot_weighted select (_def select 1);
_def = dz_loot_d>
9:18:43 Error position: <select (_def select 1);
_def = dz_loot_d>
9:18:43 Error Zero divisor
9:18:43 File z\addons\dayz_code\loot\select.sqf, line 32 -
When I send a group invite, the players join, great. Then you get all this radio chatter and speech text telling you to regroup, heli 1500m out, and BS BS BS . How do I turn off the radio chatter and the speech text?
-
@salival I used this for the base of my Tavi map. In the init.sqf I used whats marked in green to call my ATMs, I use UN sign. The line just below that was your default to add banking agents. My ATMs work fine. Should I comment out your default line or add my path to that line like this?
if (Z_singleCurrency && {Z_globalBanking && Z_globalBankingTraders}) then {execVM "\z\addons\dayz_server\bankATMs\Tavi.sqf";};//Adds ATMs
if (isServer) then {
if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";};
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
execVM "\z\addons\dayz_server\traders\tavi.sqf"; //Add trader agents and this file calls the trader items also
execVM "\z\addons\dayz_server\bankATMs\Tavi.sqf"; //Adds ATMs
if (Z_singleCurrency && {Z_globalBanking && Z_globalBankingTraders}) then {execVM "\z\addons\dayz_server\bankTraders\chernarus.sqf";}; // Add banking agents//Get the server to setup what waterholes are going to be infected and then broadcast to everyone.
//if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
Also, was I correct in commenting out the following?
// Lootable objects from CfgTownGeneratorDefault.hpp
//if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; };
}; -
DZE_DeathMsgChat = "none"; //"none","global","side","system" Display death messages in selected chat channel.
DZE_DeathMsgDynamicText = true; // Display death messages as dynamicText in the top left with weapon icons.
DZE_DeathMsgRolling = false; // Display death messages as rolling messages in bottom center of screen.
DZE_DeathScreen = true; // True=Use Epoch death screen (Trade city obituaries have been amended) False=Use DayZ death screen (You are dead)I have mine set like this: DZE_DeathMsgDynamicText = true; // Display death messages as dynamicText in the top left with weapon icons.
That's the only one I put in.
-
DZE_ZombieSpeed = [2,2]; //Default agro speed is 6 per zombie config, set array elements 0 and 1 the same for non-variable speed, set to 0 to disable. array format = [min, max]; Ex: [2, 6]; results in a range of speed between 2 and 6 (2 is the old DZE_slowZombies hard-coded speed)
-
11 minutes ago, GogoaGo said:
How can I change the zombies to slow
if this is not in your init.sqf add it and take out the DZE_slowZombies = true; this is the old setting. below is the new.
DZE_ZombieSpeed = [2,2]; //Default agro speed is 6 per zombie config, set array elements 0 and 1 the same for non-variable speed, set to 0 to disable. array format = [min, max]; Ex: [2, 6]; results in a range of speed between 2 and 6 (2 is the old DZE_slowZombies hard-coded speed)
-
On 1/29/2018 at 9:16 AM, kingpapawawa said:
fn_selfactions remove this..
Would you need to comment out the following in the fn_selfactions also?
player removeAction s_player_claimVehicle;
s_player_claimVehicle = -1; -
On 7/2/2017 at 6:02 PM, Anhor said:
your money, your server, your rules
I have a solution to the problem. When It's getting dark out, use this formula N=the N key on the keyboard. NVs=Night Vision. So push N and then on comes the NVs, Holy S&#T I can see. That simple, OMG Epoch 1.0.6.2 has Full-Screen NV.
-
What I do is set the price at $150,000 Which is about the cost of a cheap heli. The ones that cost more I do not let spawn. So players do not clam everything they see. There you go, my 2 cents worth.
-
[SOLVED] Installed this pack, on the first run I get this: ErrorMessage: File z\addons\dayz_code\gui\description.hpp, line 16: .RscText: Member already defined.
-
doing a fresh install and when I log in I get this message: z\addons\dayz_server\compile\server_maintainArea.sqf not found. I looked and the file is there. Any thoughts?
No errors in rpts
No mods other then infistar are on the server
-
DZAI_randAreaBlacklist = ["BlacklistArea1"],["BlacklistArea2"],["BlacklistArea3"]; Do I put the cords in there or the name of the TradersDZAI_dynAreaBlacklist = ["BlacklistArea1"],["BlacklistArea2"],["BlacklistArea3"]; Sorry for the dark back ground don't know what did it.
-
@oldmatechoc when I saw what you did, I did the above and it worked. Thank you for your help.
-
//commented out 5 statements and changed a false to true. It works now. private "_trader"; { _trader = createAgent [_x select 0,_x select 1,[],0,"CAN_COLLIDE"]; {_trader removeMagazine _x;} count magazines _trader; removeAllItems _trader; // removeAllWeapons _trader;//this is commented out so traders have weapons removeBackpack _trader; _trader switchMove ""; _trader setDir (_x select 2); _trader setVehicleInit "/*this disableAI 'ANIM';*/ this disableAI 'AUTOTARGET'; this disableAI 'FSM'; /*this disableAI 'MOVE';*/ this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; this allowDamage false;"; _trader setUnitAbility 0.6; // _trader disableAI "ANIM"; //commented out _trader disableAI "AUTOTARGET"; _trader disableAI "FSM"; // _trader disableAI "MOVE"; //commented out _trader disableAI "TARGET"; _trader setBehaviour "CARELESS"; _trader forceSpeed 0; _trader allowDamage false; _trader enableSimulation true; //changed this to true } count _this; processInitCommands;
-
this disableAI 'FSM';/* this disableAI 'MOVE';*/ this disableAI 'TARGET'; this setBehaviour 'CARELESS'; Tried this and still not working.
[SOLVED] Hero Trader problem with AH6J_EP1
in Scripting
Posted
Salival,
JasonTM helped me to get the old version to work, but I still would like to use yours. Let me know when you have the time. I know your lyao at that one.
TBsThug