Jump to content
Suppe

[Release] Sector Addon 0.5.0 - Framework for StaticMission (Millitarize area, Taviana Sector B) rewiten august 2015

Recommended Posts

hey,

looks like arma or epoch change something with the configclasses... i will update in the next days to fix all the errors and to prevent it in future arma or epoch updates.

but i need a couple of days, no time at the moment...

 

Share this post


Link to post
Share on other sites

hi, new error in the rpt.log by the new epoch mod version

 

_staticMG call E>
22:34:02   Error Undefined variable in expression: epoch_server_setvtoken
22:34:02 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 168
22:34:02 Error in expression <MG] joinsilent _groupAI;
_staticMG call EPOCH_server_setVToken;
_staticMG call E>
22:34:02   Error position: <EPOCH_server_setVToken;
_staticMG call E>
22:34:02   Error Undefined variable in expression: epoch_server_setvtoken
22:34:02 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 168
22:34:02 Error in expression <MG] joinsilent _groupAI;
_staticMG call EPOCH_server_setVToken;
_staticMG call E>
22:34:02   Error position: <EPOCH_server_setVToken;
_staticMG call E>
22:34:02   Error Undefined variable in expression: epoch_server_setvtoken
22:34:02 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 168
22:34:02 Error in expression <MG] joinsilent _groupAI;
_staticMG call EPOCH_server_setVToken;
_staticMG call E>
22:34:02   Error position: <EPOCH_server_setVToken;
_staticMG call E>

Share this post


Link to post
Share on other sites

Hey Suppe, no pressure i know your busy irl but is this project still being worked on? i wasnt able to get it work on my 0.3.3.1 server though it may have been due to my fault. Read some comments and have been seeing people having errors so i gave up for now, but id still love to implement this script into my server.

Share this post


Link to post
Share on other sites

hi, script is wrong !!! it spawn not all AI forces after a server restart..

for example: there are 40 AI spawn but it comes very often that not even half of the AI forces spawns

the AI heli disappear when you come near Sector

 rpt log error are well known

it's a nice script but unfortunately it is not working

Please fix these errors

 

 

Share this post


Link to post
Share on other sites

Hello,

Interesting thing happens, after player died and is revived. He become immortal and AI can not kill him. Have you the same experience?

Edit: On other missions have the same issue (Fums,WAI...) but AI called by UAV can kill player after revive, so i don't know where is problem.. any idea?

Edited by Kenobi

Share this post


Link to post
Share on other sites

hey sup,

your sector position tells me "_Sector_position =     [X, Z, Y];"

really X Z Y ??

not X Y Z ??

 

btw: need help on an error:

12:27:49 Warning Message: Script \x\addons\a3_epoch_sector\init\fn_init.sqf not found

why?

Share this post


Link to post
Share on other sites

yes sure ;`D

folder path is correct too

need help on an error:

12:27:49 Warning Message: Script \x\addons\a3_epoch_sector\init\fn_init.sqf not found

 

Unbenannt.jpg

 

Does the mission spawn automaticly on server start or i need something??

Got the Warning Errors away with some Path changings,

but nothing spawned ? And no Loading message in rpt.log

changed all "x\addons\a3_epoch_sector" in simply "a3_epoch_sector\xx"

do y can check my files maybe? dont know wheres the problem omg -.-

link

Share this post


Link to post
Share on other sites

We have this script on server and works well, but with some errors in RPT like:

0:00:55 "***[Sector] Loading Sector_Positions***"
 0:00:55 Error in expression <icV] joinsilent _groupAI;
_staticV call EPOCH_server_setVToken;
_staticV call EP>
 0:00:55   Error position: <EPOCH_server_setVToken;
_staticV call EP>
 0:00:55   Error Undefined variable in expression: epoch_server_setvtoken
 0:00:55 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 195
 0:00:56 Error in expression < joinsilent _groupAI;
_landvehicle call EPOCH_server_setVToken;
_landvehicle cal>
 0:00:56   Error position: <EPOCH_server_setVToken;
_landvehicle cal>
 0:00:56   Error Undefined variable in expression: epoch_server_setvtoken
 0:00:56 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 93
ETC....

But AI are spawned OK. We have only Blckeagls mission system and Sector at present.

Share this post


Link to post
Share on other sites
On ‎12‎/‎24‎/‎2016 at 7:01 PM, Kenobi said:

We have this script on server and works well, but with some errors in RPT like:

0:00:55 "***[Sector] Loading Sector_Positions***"
 0:00:55 Error in expression <icV] joinsilent _groupAI;
_staticV call EPOCH_server_setVToken;
_staticV call EP>
 0:00:55   Error position: <EPOCH_server_setVToken;
_staticV call EP>
 0:00:55   Error Undefined variable in expression: epoch_server_setvtoken
 0:00:55 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 195
 0:00:56 Error in expression < joinsilent _groupAI;
_landvehicle call EPOCH_server_setVToken;
_landvehicle cal>
 0:00:56   Error position: <EPOCH_server_setVToken;
_landvehicle cal>
 0:00:56   Error Undefined variable in expression: epoch_server_setvtoken
 0:00:56 File x\addons\a3_epoch_sector\scripts\SUP_functions.sqf, line 93
ETC....

But AI are spawned OK. We have only Blckeagls mission system and Sector at present.

How did you get sector to work? I have tried everything I can think of.

Share this post


Link to post
Share on other sites
7 hours ago, AncientHawk said:

How did you get sector to work? I have tried everything I can think of.

Are you used default AI spawn coordinates or your own? Are they defined properly?

Share this post


Link to post
Share on other sites
5 hours ago, Kenobi said:

Are you used default AI spawn coordinates or your own? Are they defined properly?

Kenobi, I finally figured out that the coordinates provided in the instructions say that they should be arranged as [X, Z, Y], but I found that the marker had spawned in the ocean at the bottom of the map. After changing the coordinates to [X, Y, Z] I was able to get everything to spawn where I wanted it.  These are my own coordinates that I have entered into the file. Now I am having an issue where the vehicles that spawn in are being removed as soon as I get near the mission.

Share this post


Link to post
Share on other sites

Hi, i want to set this up for tanoa but dont know what needs to change to get this working. Maybe i create a new "case "tanoa":{" for it and it should working after define positions? Author seems not to come back to this project so it would be very nice if someone can help me.

thanks in advance

Share this post


Link to post
Share on other sites

Yea just create a case for tanoa. You can see an example for altis in there already.

You can also define the group sizes. Also dont forget to place the lootbox in the case.

But it seems that only the snipers and normal AIs are working so no vehicles and static hmgs or gmgs spawning in. At least they dont for me.

 

Share this post


Link to post
Share on other sites

Hi Drokz, thanks for your reply! It worked to spawn an offroad with mounted mg and 2 ai´s.

I wish there was a easier way to find positions, if i set a small objekt in editor and save/export it there is unreadable content in the missions.sqf so i done this with the coords in the left bottom corner.

greetz

Share this post


Link to post
Share on other sites

@Drokz no i just created a new case tanoa and add positions and a call SUP function, it looks like that

case "tanoa":{
/*    _Sector_position = [X, Z, Y];    [_Sector_position] call SUP_FunctionYouNeed;   */

    _Sector_position = [0, 0, 0];
    _Sector_position = [0, 0, 0];
    _Sector_position = [11809, 13087, 6.95];             [_Sector_position] call SUP_spawn_StaticVehicle;
    
        };

 

and it worked. the position is at the north airfield in front of the 2 hangers there if you wanna try out ;)

@He-Man thanks for that, this edenaddon is what i needed! if i remember right, this export sfq function was in the editor already in earlier days!?

I did 2015 a lot of map editing without installing such as that...

 

greetz

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By piggd
      WARNING ** THIS REPLACES THE HUMANITY SYSTEM
       
      Mod Features:
      Allows the player to have access to their money all the time.
      Bank is tied to the player via the humanity system and survives character death.
      Auto Deposit bars/brief cases on every sale or purchase
      Player can access balance, deposit and withdraw via player tool menu.
      If a player goes to a negative balance displaying the balance, withdraw or deposit will restore them to zero balance.
      Known Issues:
      First time character creation start the player with 2500 humanity which equates to 25gb.
      Any event that modifies humanity will effect the bank balance (usally in a minor way silve bars in most cases)
       
       

      Thank you too iSaeko for making this video for me.
       
       
      1.   Download the addon from my github by clicking on this link.   (Contains a vanilla epoch chernarus mission.pbo example file).
      2.  On the lower left corner click on the button "Download Zip"
      3   Create a directory called dayz_code and mission_pbo
      4.  Take your mission.pbo file and extract it into the mission_pbo directory
      5.  Unzip the zip file you download from my github and move the custom directory into your mission_pbo directory.
      6.  Copy C:\Program Files (x86)\Steam\SteamApps\common\ARMA 2 Operation Arrowhead\@DayZ_Epoch\addons\dayz_code.pbo into this new direttory (path may vary based on steam installation).
      7.  Extract the dayz_code.pbo into the dayz_code directory you created.
      8.  if you do not already have a fixes directory create one.
      9.  If you do not already have a custom compile then follow these steps other wise you can skip this step.
          copy dayz_code/init/compiles.sqf  mission_pbo/fixes/compules.sqf
      10.  Copy dayz_code/compile/epoch_returnChange.sqf mission_pbo/fixes/epoch_returnChange.sqf
      11.  Edit your init.sqf file and make the following modifications:
       
      from:
      //Load in compiled functions to:
      // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ PDZE_PiggdBankSystem = true; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ //Load in compiled functions from:
      call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions to:
      // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions call compile preprocessFileLineNumbers "fixes\compiles.sqf";                //Compile regular functions // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From:
          //Lights     //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";    }; ** NOTE - If you are using
      this entry will already exist with a different comment.
      to:
          //Lights     //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // Activate Player Menu for Tools     [] execVM "custom\playertools\activate_player_menu.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------      }; 12.  Edit your fixes\compiles.sqf file and make the following modifications:
       
      From:
      epoch_totalCurrency = {         // total currency         _total_currency = 0;         {             _part =  (configFile >> "CfgMagazines" >> _x);             _worth =  (_part >> "worth");             if isNumber (_worth) then {                 _total_currency = _total_currency + getNumber(_worth);             };         } count (magazines player);         _total_currency     };     epoch_itemCost = {         _trade_total = 0;         {             _part_in_configClass =  configFile >> "CfgMagazines" >> (_x select 0);             if (isClass (_part_in_configClass)) then {                 _part_inWorth = (_part_in_configClass >> "worth");                 if isNumber (_part_inWorth) then {                     _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1));                 };             };         } count _this;         //diag_log format["DEBUG TRADER ITEMCOST: %1", _this];         _trade_total     };     epoch_returnChange =            compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf";     // usage [["partinclassname",4]] call epoch_returnChange; to:
      epoch_totalCurrency = {         // total currency         _total_currency = 0;         {             _part =  (configFile >> "CfgMagazines" >> _x);             _worth =  (_part >> "worth");             if isNumber (_worth) then {                 _total_currency = _total_currency + getNumber(_worth);             };         } count (magazines player); // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------         if(PDZE_PiggdBankSystem) then {             _humanity = player getVariable["humanity",0];             _total_currency = _total_currency + _humanity;         }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------         _total_currency     };     epoch_itemCost = {         _trade_total = 0;         {             _part_in_configClass =  configFile >> "CfgMagazines" >> (_x select 0);             if (isClass (_part_in_configClass)) then {                 _part_inWorth = (_part_in_configClass >> "worth");                 if isNumber (_part_inWorth) then {                     _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1));                 };             };         } count _this;         //diag_log format["DEBUG TRADER ITEMCOST: %1", _this];         _trade_total     }; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //    epoch_returnChange =            compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf";     epoch_returnChange =            compile preprocessFileLineNumbers "fixes\epoch_returnChange.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------     // usage [["partinclassname",4]] call epoch_returnChange; 13. Edit fixes/epoch_returnChange.sqf
       
      From:
          //diag_log format["DEBUG TRADER CHANGE: %1", _return_change];     if (_return_change >= 0) then {                  // total currency to:
      // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------     if (_return_change >= 0 and !PDZE_PiggdBankSystem) then { // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From:
          if (_silver_1oz > 0) then {             if (_silver_1oz == 1) then {                 player addMagazine "ItemSilverBar";                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             } else {                 player addMagazine format["ItemSilverBar%1oz",_silver_1oz];                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             };         };         _successful = true; }; }; _successful to:
            if (_silver_1oz > 0) then {             if (_silver_1oz == 1) then {                 player addMagazine "ItemSilverBar";                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             } else {                 player addMagazine format["ItemSilverBar%1oz",_silver_1oz];                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             };         };         _successful = true; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------     } else {         if (PDZE_PiggdBankSystem) then {             _total_currency_dry = player getVariable["humanity",0];             _total_currency_dry = _total_currency_dry + _return_change;             player setVariable["humanity",_total_currency_dry,true];             _successful = true;         }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ }; }; _successful 14. Edit server_traders.sqf
       
      From:
      menu_RU_Functionary1 = [     [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]],     [],     "hero" ]; to:
      menu_RU_Functionary1 = [     [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]],     [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //    "hero"     "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; from:
      menu_GUE_Soldier_MG = [     [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],     [],     "hostile" ]; to:
      menu_GUE_Soldier_MG = [     [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],     [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //    "hostile"     "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; 15.  Repack your mission pbo and upload to your sever.
       
      Optional Additional Configuration:
       
      **  Chameleon Skin Changer
      If you are using
      and have replaced custom/playertools/player_tools_main.sqf you will need to uncomment the following lines.
       
      from:
      playermenustart = [     ["",true], //    ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], //    ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"],     ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"],            //    ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"],                ["", [], "", -5, [["expression", ""]], "1", "0"],     ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"]        ]; to:
      playermenustart = [     ["",true],     ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"],     ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"],     ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"],            //    ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"],                ["", [], "", -5, [["expression", ""]], "1", "0"],     ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"]        ]; 15.  Repack your mission pbo and upload to your sever.
       
       
      Email: [email protected]
      Website: Piggd Dayz Gaming
      Donate to piggd
    • By Porkeld
      A3_vemf_Re_reloaded
      Vemf_reloaded was originally made by IT07 and last commit on vemf_reloaded was in 2017....
      I really like this mission script, but in my opinion it was missing some essential features compared to other mission systems.
      So I decided to add and fix some of the stuff for vemf.
      Check the Changelog for fixes and new stuff.

      All credit goes to IT07 for coding this and also a big THANK YOU to Ghostrider [GRG] for helping and always being helpfull when needed :-)
      Check readme and how to install.txt
       
                                                     Download https://github.com/Porkeld/A3_vemf_re-reloaded
       
      If you have any questions/bug reports or ideas for vemf_re_reloaded then find me on discord Porkeld#1506 
    • By FG_Trap
      Made a quick static ai mission that spawns on restart. 
      12 ai patrol the compound 
      4 Static m2's
      1 Heli Patrolling the compound 
      Crate for who ever clears all the ai.
      Some screenshots of the compound 


       
      https://github.com/Trapxxgods/Wai-Static-Mission 
    • By Tricks
      Hello community,
      I am working on a custom mission that takes place over the waters of Chernarus. Its actually an Aircraft Carrier mission I had on my server in 2014. However I can't seem to get loot to spawn on the ship.
      Has anyone had any success in spawning custom loot boxes over water or on the carrier?
      Thanks!
    • By webbie
      Hi all, Pretty big noob too Epoch.
      Ive done Lots of Arma and Exile but for something new and seeing some good development going on with Epoch, I thought we would give it a try. 
      I want to use lingor, its working fine however i'm really not seeing any loot maybe 1 very sparingly so is their a trick to making this work?
      I do alot of my own research but being in totally foreign turf I thought Id ask some experts,
       
      Thax in Advance
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...