Jump to content

hydrobull3t

Member
  • Content Count

    167
  • Joined

  • Last visited

  • Medals

Everything posted by hydrobull3t

  1. Hello guys! Not long ago I had posted a topic with a problem in my loadout. I have tried long ago to fix it, but I forgot all of the scripting I have learned so there wasn't much to do... Unit today I had tried again as I am currently in a vacation from my military services (got injured). Well, I figured out that the loadout script and everything is ok, but the problem is much more small than I thought it is. I am using Mission Parameters to choose between Night or Day loadout, Add or Remove NVG according to mission time, as well as Silencer and Map Nav Aids. As the updates started to come the code was outdated, But I have tried couple of time to fix it with no luck.. If someone done it or Know how to fix it, Please reply here, As I want to regroup my old friends to start play again in this awesome MilSim. Loadout Description RPT Log fn_processParamsArray Huge Thanks Guys!!!
  2. Hey Guys, First of all, Thank you for wasting time to read this issue, Im really appreciate your effort for trying to help me and to others. I am trying to create a template with a costume loadout, and I have encountered in issue. The loadout won't start, I have tried to fix it by myself, but I can't find the issue somewhy. I will Add to here the links for the Class define, Loadout Script, And RPT Log. (I know I can make it simple through EDEN. But I want to add some functions like Parameters to the Loadout.) RPT LogClass Define / Clients Loadout Script Thank You!
  3. hydrobull3t

    Can't make the loadout to start

    Bump, The issue hasn't resolved..
  4. hydrobull3t

    Can't make the loadout to start

    Hello again, I have tried your suggestion without luck :(
  5. hydrobull3t

    Can't make the loadout to start

    Thanks again for the help, So as I understand, 1. Edit the client.sqf with the script you have added 2. the loadout_bluefor.sqf is ok, so no need to touch 3. rename in game the var name of each character to something else but that will include the name after FNC_X.. for example. Loadout_bluefor.sqf has FNC_SL So i rename in game the character to Command_SL_1?
  6. hydrobull3t

    Can't make the loadout to start

    Thank you for your reply, Sorry for my mistakes.. So as I understand. 1. need to create initPlayerLocal.sqf in root mission file, and put [] call compile preprocessFileLineNumbers "f\gear_setup\loadouts_bluefor.sqf"; [] call compile preprocessFileLineNumbers "f\gear_setup\client.sqf"; in it. 2. loadout_bluefor.sqf, rename each role to something like Command_SL_1 3. Fix the client.sqf with switch (faction player) do { case "OPF_F": { }; case "BLUF_F": { switch (str player) do { case "Command_SL_1": { [player] call fnc_sl }; case "Alpha_SL_1": { [player] call fnc_sl }; case "Bravo_SL_1": { [player] call fnc_sl }; default { [player] call fnc_op }; }; }; default {}; }; and continue to add the names of the Roles and The variables names.
  7. hydrobull3t

    Can't make the loadout to start

    So something Like that? /*scripts\client.sqf*/ if !(isDedicated) then { diag_log format ["client :1"]; waitUntil { !IsNull Player }; if (local player) then { waitUntil { time > 1 }; // Factions diag_log format ["client :%1 %2", faction player, time]; switch (faction player) do { case "OPF_F": { }; case "BLUF_F": { switch (str player) do { case "MHQ_Commander": { [player] call fnc_sl }; case "MHQ_Medic": { [player] call fnc_med }; case "MHQ_UAVO": { [player] call fnc_uavo }; default { [player] call fnc_op }; }; [] call compile preprocessFileLineNumbers "f\gear_setup\loadouts_bluefor.sqf"; [] call compile preprocessFileLineNumbers "f\gear_setup\client.sqf"; }; default {}; };
  8. hydrobull3t

    Can't make the loadout to start

    Thanks for the reply, ohhh, I see.. If I may ask, How is your script will know what to call? I need some sort of function that will order to get the loadout from like this: [] call compile preprocessFile "f\gear_setup\loadouts_bluefor.sqf";}; // Bluefor Set ?? Or Im not getting it 0-0
  9. hydrobull3t

    Can't make the loadout to start

    If I choose this (looks easier) Than how for example, the "case "MHQ_Commander": { [player] call fnc_sl };" will know what loadout to call? I need some sort of function that will order to get the loadout from like this: [] call compile preprocessFile "f\gear_setup\loadouts_bluefor.sqf";}; // Bluefor Set ?? switch (faction player) do { case "OPF_F": { }; case "BLUF_F": { switch (str player) do { case "MHQ_Commander": { [player] call fnc_sl }; case "MHQ_Medic": { [player] call fnc_med }; case "MHQ_UAVO": { [player] call fnc_uavo }; default { [player] call fnc_op }; }; }; default {}; };
  10. hydrobull3t

    Can't make the loadout to start

    Thanks for the reply, I left it while it worked (year ago) and didn't touched it... Can you show me please example of (str player) As im trying to figure things on the go (I don't remember lot of stuff)
  11. hydrobull3t

    Can't make the loadout to start

    Its my old Script, somehow it worked till now 0-0
  12. hydrobull3t

    Can't make the loadout to start

    Changed the script to this: /*scripts\client.sqf*/ if !(isDedicated) then { diag_log format ["client :1"]; waitUntil { !IsNull Player }; if (local player) then { waitUntil { time > 1 }; // Factions diag_log format ["client :%1 %2", faction player, time]; _name = vehicleVarName player; _arr = _name splitString "_"; _arr params ["_group","_class","_num"]; [player] call (missionNamespace getVariable [format["FNC_%1",_class],{ diag_log format ["%1 - %2 : Loadout not found", player, vehicleVarName player]; }]); case MHQ_Commander: {[MHQ_Commander] call FNC_SL;}; case MHQ_Medic: {[MHQ_Medic] call FNC_MED;}; case MHQ_UAVO: {[MHQ_UAVO] call FNC_UAVO;}; case MHQ_Engineer: {[MHQ_Engineer] call FNC_EOD;}; case Alpha_SL: {[Alpha_SL] call FNC_SL;}; case Alpha_TL: {[Alpha_TL] call FNC_TL;}; case Alpha_Marksman: {[Alpha_Marksman] call FNC_MARK;}; case Alpha_EOD: {[Alpha_EOD] call FNC_EOD;}; case Alpha_Medic: {[Alpha_Medic] call FNC_MED;}; case Alpha_AT: {[Alpha_AT] call FNC_AT;}; case Alpha_AR: {[Alpha_AR] call FNC_AR;}; case Alpha_Operator: {[Alpha_Operator] call FNC_OP;}; case Bravo_SL: {[Bravo_SL] call FNC_SL;}; case Bravo_TL: {[Bravo_TL] call FNC_TL;}; case Bravo_Marksman: {[Bravo_Marksman] call FNC_MARK;}; case Bravo_EOD: {[Bravo_EOD] call FNC_EOD;}; case Bravo_Medic: {[Bravo_Medic] call FNC_MED;}; case Bravo_AT: {[Bravo_AT] call FNC_AT;}; case Bravo_AR: {[Bravo_AR] call FNC_AR;}; case Bravo_Operator: {[Bravo_Operator] call FNC_OP;}; case Charlie_Sniper: {[Charlie_Sniper] call FNC_SNIP;}; case Charlie_Spotter: {[Charlie_Spotter] call FNC_SPOT;}; case Charlie_Operator: {[Charlie_Operator] call FNC_OP;}; case Charlie_Sniper1: {[Charlie_Sniper1] call FNC_SNIP;}; case Charlie_Spotter1: {[Charlie_Spotter1] call FNC_SPOT;}; case Charlie_Operator1: {[Charlie_Operator1] call FNC_OP;}; case AF_Pilot: {[AF_Pilot] call FNC_AFP;}; case AF_Pilot1: {[AF_Pilot1] call FNC_AFP;}; case AF_Pilot2: {[AF_Pilot2] call FNC_AFP;}; case AF_TL: {[AF_TL] call FNC_AFTL;}; case AF_JTAC: {[AF_JTAC] call FNC_AFJ;}; case AF_Medic: {[AF_Medic] call FNC_AFMED;}; }; }; }; Thank you for your reply! And to check for example the MHQ Commander: I have assigned him the FNC_SL and as in the loadout file. Also named him in game as MHQ_Commander.. Still not working..
  13. hydrobull3t

    Can't make the loadout to start

    Thank you for your reply. Its really funny and true, if you didn't practice in something for long time, you forget it although you really like it. Unfortunately I don't remember how to do all of that stuff.. Perhaps Ill wait to BI Wiki to come back, and try to google your suggestion.
  14. hydrobull3t

    Can't make the loadout to start

    First of all, Thank you very much for the help. Unfortunately, The suggestion with (vehicleVarName player) Didn't Worked. Maybe its because the original code is outdated? (I haven't scripted for about Year). Also, I don't remember how the array setup needed to be done, And the BI Wiki is down for Maintenance :( :(. Do you have a suggestion?
  15. hydrobull3t

    Sorry, Wrong Forum

    Sorry, Wrong Forum
  16. hydrobull3t

    Tier 1 Gear Pack

    Hello, First of all you did an incredible job! We all are using it in every mission. I am sorry if it was already while ago, but do you plan on releasing aor1 and aor2 variants?
  17. Hello, Recently i have rented a server from Havoc Host company.. Seems I cannot manage to get stuff done with that repo :(.. Can some one explain me step by step how to do it? if to upload the mods somewhere.. Thanks.
  18. Hello There, Im trying to create Load out Template for my unit for the missions. 1. Different Camo for Different Map 2. Different Camo For Different Mission Time (For example: 01:00AM - Black Camo) 3. Clean and understandable 4. TF-Radio, RHS, , Alive, ACE are obviously Used. 5. also include > Uniforms, Rifles, Items and accessories, ACE items and so on. *** I remember that the ^ *2nd* sentence ^ can be used with defined parameters, **example: choose yes to deploy with night load out (in the param dialog).** Can someone explain me how it is could be done? Sincerely, HydroBull3T.
  19. hydrobull3t

    Arma 3 Sync repo setup help

    Ohh so in conclusion:1. Upload desired mods and userconfig to public ftp folder with read only. 2. Connect the arma3sync with that folder 3. Build the repo 4. Paste the autoconfig among my guys. Thats right or i need to do something more?
  20. hydrobull3t

    Arma 3 Sync repo setup help

    Do i need to install arma3sync on the server?
  21. hydrobull3t

    Arma 3 Sync repo setup help

    1 question, Should I do all the stuff on my website host or server host? both unlimited space (don't ask, got really lucky).. And do I need to upload the mods where my repo will be?
  22. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> Oops Quote (the problem still exist) © 2013 Bohemia Interactive. All Rights Reserved.
  23. Just to mention a problem, Each time i am respawning, im loosing only the laser/flashlight, other things are staying (Respawn Module enabled + save gear is true)
  24. Hello, Iv kinda have a question/problem? I am running RHS ESCALATION + ACE 3 + ASR AI + SWT MARKERS Do I have to: 1. Delete ACE AI and ACE Markers? 2. Move the optional ACE RHS pbo's to the addons folder? 3. What is the tracers pbo and server pbo? what do they do and are they important? Thanks!!
×