Jump to content

Dexious

Member
  • Content Count

    59
  • Joined

  • Last visited

  • Medals

Everything posted by Dexious

  1. Dexious

    [R3F] Logistics

    I know the character moves slow on purpose. I want to undo the part of code where it slows down the player movement.
  2. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Have you even searched a bit on this thread? Or even look like 2 posts above?
  3. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Open the "classnames.sqf" file located inside "scripts\shared\" Lines 22-142 you see categories like "infantry_units, light_vehicles etc". Each category has it's own classnames that are getting displayed. Let's say i want to add an Officer in category "light_units" i would add this line: code...code...code ["B_helipilot_F",1,0,0], ["B_officer_F",1,0,0] ]; Notice that when i add a new object in the array you have to use " , " character to seperate it from the previous one. The last item in the array doesn't need to end with " , " else it will give you errors and mission won't run. So what you need to do is ["unit_classname",green_resource,red_resource,yellow_resource] By resource i mean the Population, Ammo, Fuel that the unit will require to be build. You can get the unit's classname from inside the Eden Editor by placing the unit/object and hover your mouse over it OR you can right click and copy classname to clipboard. That can be used by selecting multiple units/objects to save time. If you want to DELETE / REMOVE just don't forget to delete " , " from the last item in the array. The units/objects are listed in-game by the order you have them inside the code. Hope it helped, Bye! :)
  4. Dexious

    [R3F] Logistics

    How do you make the player run while moving objects? I saw this question asked 2 times but with no answer. Can anyone help or point me to the right direction? Kinda hard for me since the code is in French.
  5. Dexious

    [MP] =BTC= Hearts and Minds

    Hello i'm trying to make VVS (Virtual Vehicle Spawner) script work with object persistency. On the "fn_spawnVehicle.sqf" file inside VVS\functions\ /* File: fn_spawnVehicle.sqf Author: Bryan "Tonic" Boardwine Description: Spawns the selected vehicle, if a vehicle is already on the spawn point then it deletes the vehicle from the spawn point. */ disableSerialization; private["_position","_direction","_className","_displayName","_spCheck","_cfgInfo"]; if(lnbCurSelRow 38101 == -1) exitWith {hint "You did not select a vehicle to spawn!"}; _className = lnbData[38101,[(lnbCurSelRow 38101),0]]; _displayName = lnbData[38101,[(lnbCurSelRow 38101),1]]; _position = getMarkerPos VVS_SP; _direction = markerDir VVS_SP; //Make sure the marker exists in a way. if(isNil "_position") exitWith {hint "The spawn point marker doesn't exist?";}; //Check to make sure the spawn point doesn't have a vehicle on it, if it does then delete it. _spCheck = nearestObjects[_position,["landVehicle","Air","Ship"],12] select 0; if(!isNil "_spCheck") then {deleteVehicle _spCheck;}; _cfgInfo = [_className] call VVS_fnc_cfgInfo; _vehicle = _className createVehicle _position; _vehicle allowDamage false; _vehicle setPos _position; //Make sure it gets set onto the position. _vehicle setDir _direction; //Set the vehicles direction the same as the marker. if((_cfgInfo select 4) == "Autonomous") then { createVehicleCrew _vehicle; }; if(VVS_Checkbox) then { clearWeaponCargoGlobal _vehicle; clearMagazineCargoGlobal _vehicle; clearItemCargoGlobal _vehicle; }; _vehicle allowDamage true; hint format["You have spawned a %1",_displayName]; closeDialog 0; i add at the end: btc_log_obj_created = btc_log_obj_created + [_vehicle]; I get no errors while running the mission. Vehicles spawn, but when i save and load they are not getting saved. Am i missing something here?
  6. Dexious

    [MP] =BTC= Hearts and Minds

    From the object spawning crate, spawn a "Supply Crate" from the "Supply" menu and deliver it to the marked area.
  7. Dexious

    [R3F] Logistics

    I'm interested in this aswell. Anyone with a solution on where we can define a marker to spawn objects?
  8. Dexious

    USP Patches & Insignias

    Hello Siege, Would you consider adding Greek patches? They can all be found here: http://www.army.gr/default.php?pname=Emblems&la=1
  9. Dexious

    Insurgency - Tanoa

    A good start would be from these: 1) Saves / Loads all objects in map https://forums.bistudio.com/topic/195115-zeus-persistent-zeus/ 2) Liberation - Save Load near an Object http://pastebin.com/NFraaRKe 3) DCG - Save near Object / Location that belong to a Curator (Zeus placed) http://pastebin.com/xpd4YugE Of course you can dig them up in their projects in github. All of the above are saving in player / server profile without a database.
  10. Dexious

    Insurgency - Tanoa

    Hello, I started playing this for a while and i would like to leave some ideas. I'm playing this using Dynamic Combat Generator (https://forums.bistudio.com/topic/188156-dynamic-combat-generator/) and it's working very nice. Will there ever be a save option to save the progress of cleared areas? Or maybe save Objects that could be spawned with R3F and build FOBs etc. If so can it be integrated into DCG's save mechanism that saves in the user profile? I read in EOS manual that you can trigger the zones to deactivate, so the above was just a thought :) Keep up the good work man!
  11. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Can you upload your mission to check it out? Have you added any other scripts on the mission? The procedure is very straight forward, you can't go wrong with it..
  12. Dexious

    Dynamic Combat Generator

    Hello Sensei, I tried DCG and i like it :) I'd like to leave some feedback on this since it has great potential. Can the support calls, Deploy FOB and other actions be used from radio call like 0-0-8 or something instead of having them in the scroll menu? I think they are too many to have them on the menu. Can the action that gives you the ability to talk to a Civilian be active only while you are near one? Again to save space on action menu. Any plans to be able to build more than one FOB? Any plans to change what it gets saved inside FOB, so that we can build something with R3F Logistics instead of saving only Curator Objects? Maybe have an option for the Zeus Curator costs? Like unlimited or limited (defined in parameters) Can Zeus Curator be disabled in the settings? For example playing in MP only admins to have that option or people in a specific role/slot that might be whitelisted with PUID. Maybe an option to autosave after x amount of time? Sorry for the long post. Keep up the good work!
  13. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Yes you can have multiple Zeus modules for each player you want to have the ability to use Zeus as the example i gave you. Go with that option since i don't think having multiple PUIDs in the Owner field of Zeus module would work. https://community.bistudio.com/wiki/Arma_3_Module:_Game_Master#Owner
  14. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Download this: https://github.com/Dexious/Tanoa_Lib0924_Dex/raw/master/Tanoa_Lib0924_Dex_r5.Tanoa.pbo It is on Tanoa (DLC map). If you don't have it upload your mission and i could have a look at it, Inside editor find the Game Master module that has in it's Owner field my PUID. Either replace it with your PUID or enter the value #adminLogged. Tell me if it worked. Also take in consideration what people told you in previous comments about LAN and Server. In server you have to type #login adminpassword to gain admin rights.
  15. Dexious

    [MP][CTI-COOP] Liberation (beta)

    You don't have to delete .pbo's from ACE. Read this http://ace3mod.com/wiki/framework/settings-framework.html
  16. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Are you trying to access #adminLogged Zeus on Commander slot? If you are, i'm sure it conflicts.
  17. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Tajin thanks for the Save Manager contribution. I tried it and so far i didn't notice anything wrong. It didn't delete anything for me. It shouldn't delete anything anyway :)
  18. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Ok here it goes: For Zeus: 1. Open the mission and add one Game Master module. 2. In the Variable Name name it whatever (e.x Zeus1) 3. In the Owner either type your PUID or just #adminLogged if you want anyone who logins with admin right to use it. 4. On the Commander module add in the Variable Name something (e.x z_commander) 5. Go to scripts\server\game\zeus_synchro.sqf file 6. Edit line 39 "z_gm = x;" to "z_gm = z_commader;" [use the name you placed in Commander module Variable Name field] 7. Near the end change "foreach allCurators;" to "foreach [z_commander];" 8. Done. With the above only Commander has limited actions in Zeus mode. If you add any other Zeus modules they have full access. For Loadouts i use the Loadouts Transfer script from here: https://forums.bistudio.com/topic/193984-loadout-transfer-2/ You can download the script version from here: https://github.com/stcrowe/LoadoutTransfer[Click the button to Download] 1. After downloading place file "LT" in mission directory. 2. Inside "description.ext" place #include "LT\LTmenu.hpp" class CfgFunctions { #include "LT\cfgfunctions.hpp" }; 3. Go to "scripts\client\actions\action_manager.sqf" file. 4. Add the line "_idact_LT = -1;" above "_idact_build = -1;" 5. Above "sleep 1;" type if ( (_fobdistance < _distredeploy || count _neararsenal != 0 || count _nearspawn != 0 || (player distance lhd) < 200) && alive player && vehicle player == player ) then { if (_idact_LT == -1) then { _idact_LT = [player] call LT_fnc_addAction; }; } else { if ( _idact_LT != -1 ) then { player removeAction _idact_LT; _idact_LT = -1; }; }; 6. Done. Now whenever you near FOB/Respawn Point etc you'll have a menu where you can transfer loadout to units with 2 clicks [Whatever Loadout you have saved in the Arsenal] If you want to configure it's functionality read this documentation. You can also use Tajin's version above if it suits you. Lastly for stamina do what Applejakerie wrote above. Although a minor correction the file you need to edit is located here: "ui\mission_params.hpp". Don't look for an "sqf" file. Hope it helped you. P.S In order to be able to see/edit all units that spawn etc with Zeus you need to add another script. If you need it post here.
  19. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Have you read this one? Hope it helps. http://greuh-liberation.wikia.com/wiki/How_to_port_liberation_to_a_new_map
  20. Dexious

    [MP][CTI-COOP] Liberation (beta)

    Nice to hear that you are going to release another one! By the way i have added some extras in my Tanoa version like Ambient Combat AI (It really gave us a challenge + epic base defence combats) and the ability to transfer loadout to AI. If you are interested to add something like that you can have a look on my Github (Tanoa version only at the moment) or you can PM me :)
  21. Dexious

    Loadout Transfer 2

    Hello Crowe, Congratulations on the new release! I would like some help with the script version. I have a block of code that adds some Actions to players while near certain objects and then remove that actions when they get far away from that objects. See below. _idact_arsenal = -1; if ( (_fobdistance < _distredeploy || count _neararsenal != 0 || count _nearspawn != 0 || (player distance lhd) < 200) && alive player && vehicle player == player ) then { if (_idact_arsenal == -1) then { _idact_arsenal = player addAction ["<t color='#FFFF00'>" + localize "STR_ARSENAL_ACTION" + "</t> <img size='2' image='res\ui_arsenal.paa'/>","scripts\client\actions\open_arsenal.sqf","",-980,true,true,"","build_confirmed == 0"]; }; } else { if ( _idact_arsenal != -1 ) then { player removeAction _idact_arsenal; _idact_arsenal = -1; }; }; How can i make the script version work the same way? Will this work? _idact_LT = -1; if ( (_fobdistance < _distredeploy || count _neararsenal != 0 || count _nearspawn != 0 || (player distance lhd) < 200) && alive player && vehicle player == player ) then { if (_idact_LT == -1) then { _idact_LT = [player] call LT_fnc_addAction; }; } else { if ( _idact_LT != -1 ) then { player removeAction _idact_LT; _idact_LT = -1; }; }; Edit: The above did work.
  22. Dexious

    [SP/CO8] A 3 - Antistasi Altis.

    Thanks for clarifying barbolani. Also how about the "Autosave" feature? Can i replace the server name in the variable you have in the script and use it?
  23. Dexious

    [SP/CO8] A 3 - Antistasi Altis.

    Ok so if i saved let's say in position A when i restart the server if i'm not online and someone joins, if he select Y to load the save, he will load the save with position A i saved or something else? I think you are right about this one. Ok so that means that the save is stored in the server. But then again i think they won't be on the "Member List" to be able to be Commanders and use the save function. Also while looking at the mission files i see there is an option to Autosave / Autoload the mission but it is used only for the official server. I wonder if i could add my server on that variable next to the official one to be able to use that feature.
  24. Dexious

    [SP/CO8] A 3 - Antistasi Altis.

    So that means that if i restart the server and someone joins, he will load HIS personal version of the save? Like the HQ position etc? (Assuming he was Commander?) Is the save stored in the server or in client profile? I mean if random people join the server what version will they be able to LOAD? It needs to be clarified i think because i'm kind of confused.
  25. Dexious

    [SP/CO8] A 3 - Antistasi Altis.

    Hello, First of all congratulations on the mission. We recently started playing it and we enjoy it very much! As some people asking above about the "Autosave" feature, we are also playing in a dedicated server and it would be nice to have a feature like that. (Maybe use it as a parameter?) Also as stated in the above post of Carl Eric, when we use the persitent save, is it saved on the server profile or is it saved on each players profile? If i have the server to autostart the mission after a restart will the recent save be loaded or do someone have to join and load it? Last note, we are having a problem with the revive feature. Sometimes it works but sometimes you instantly die and repawn back at HQ. Any idea on what it might be wrong? Do you use any script that if you get shot in the head or something to not be able to be revived?
×