dark_spectre 2 Posted February 18, 2014 (edited) I have been pulling my hair put for days now. What I need is an example COOP MP mission for a 10 slot dedicated server that utilizes =BTC=Revive,=BTC=Logistic and VAS. SIMPLE, right?! Three very common scripts.. All I need is to just place one player down, anywhere, and somehow have these three scripts cohabitate. The init file is only two lines! so i dont think my problem lies there. clearly my inability to get these three scripts to play nice lies in the description file. I've wasted 3, going on 4 days on this already and really need some help. I can get any "one" of them to work, but if I start combining all of a sudden ArmA doesn't know the game type, difficulty or number of players anymore (like the decription file is suddenly unreadable) when highlighting it in the mission selection screen and naturally only one script if any will work. 7 lines of code! Taunting me. Any help would be greatly appreciated. Thank you for taking the time to read. I couldn't even perform a simple merge of the revive and logistics example missions and their by the same Dev on the same map! Forget adding VAS! I'm out of my syntax depths Help please! Edited February 18, 2014 by Dark_Spectre I is dumb Share this post Link to post Share on other sites
Harzach 2518 Posted February 18, 2014 This really belongs up in Mission Editing & Scripting. In your init.sqf: call compile preprocessFile "=BTC=_revive\=BTC=_revive_init.sqf"; _logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf"; In your description.ext: #include "=BTC=_revive\=BTC=_respawn.h" #include "VAS\menu.hpp" class CfgFunctions { #include "VAS\cfgfunctions.hpp" }; class RscPicture { type = CT_STATIC; idc = -1; style = 48; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1}; font = "PuristaMedium"; //Typeface sizeEx = 0; }; class RscTitles { #include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h" }; All of this information (and more) can be found in the readme files and forum topics for these scripts. Share this post Link to post Share on other sites
dark_spectre 2 Posted February 18, 2014 THANK YOU! I've posted this to every conceivably related forum and website imaginable. The one you mentioned included. I just could not waste another single day with this absurdly annoying issue. Genuinely, I have no problem following the documentation and zero problem getting any of them to function, but only maybe two of them at most at once. At the end of the day, the problem ultimately is my own lack of knowledge. But nowhere in the =btc= documentation does it state how to combine logistics and revive. If you simply paste the lines as stated in the documentation from each respective script you end up with a broken mission. (No matter which one comes first or last) Looking at your description.ext above, its now clear that quite the opposite of what you state regarding the documentation is true as it appears following the instructions verbatim is the cause of my failure. Nowhere does it state how to integrate them as you did. And without a thorough understanding of the scripting language and all the tribal knowledge of its syntax, which I clearly don't have at this point, all I'm doing is cutting and pasting. Not understanding, and interpreting. Again, THANK YOU! more than you can imagine. Can't wait to get home and try Share this post Link to post Share on other sites
dark_spectre 2 Posted February 18, 2014 Does not work... Makes me feel better about my efforts though! same exact result. : ( In this case VAS and Revive work, but no Logistics. Respawn = "BASE"; RespawnDelay = 4; RespawnDialog = 0; disabledAI = true loadScreen = "texture.jpg"; author = SPECTRE; onLoadName = JOINT-OPS; onLoadMission = the4thcag.com; class Header { gameType = COOP; minPlayers = 1; maxPlayers = 10; }; #include "=BTC=_revive\=BTC=_respawn.h" #include "VAS\menu.hpp" class CfgFunctions { #include "VAS\cfgfunctions.hpp" }; class RscPicture { type = CT_STATIC; idc = -1; style = 48; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1}; font = "PuristaMedium"; //Typeface sizeEx = 0; }; class RscTitles { #include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h" }; Share this post Link to post Share on other sites
Harzach 2518 Posted February 18, 2014 Does not work... Makes me feel better about my efforts though!same exact result. : ( In this case VAS and Revive work, but no Logistics. I copied the relevant lines from my init and description files exactly, so there's something else going on with your mission. Is BTC Logistics being called in init.sqf as above? A few small things (lines 4,6,7,8): Respawn = "BASE"; RespawnDelay = 4; RespawnDialog = 0; disabledAI = true; //you forgot the semi-colon loadScreen = "texture.jpg"; author = "SPECTRE"; //must be in quotes onLoadName = "JOINT-OPS"; //must be in quotes onLoadMission = "the4thcag.com"; //must be in quotes class Header { gameType = COOP; minPlayers = 1; maxPlayers = 10; }; #include "=BTC=_revive\=BTC=_respawn.h" #include "VAS\menu.hpp" class CfgFunctions { #include "VAS\cfgfunctions.hpp" }; class RscPicture { type = CT_STATIC; idc = -1; style = 48; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1}; font = "PuristaMedium"; //Typeface sizeEx = 0; }; class RscTitles { #include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h" }; Share this post Link to post Share on other sites
dark_spectre 2 Posted February 19, 2014 Well it definitely made a difference cleaning up my sloppy errors, but it still doesn't work 100%. I think it explains many a previous headache though. I still cant get it to work completely cutting and pasting the exact code you have above. I have Revive and VAS working 100%, but Logistics only shows the green "status" option for a helo, no HUD, CAM or LIFT. (They are enabled in the logistics .ini file) the mission only consists of 5 objects. A player, a VAS box, a ghosthawk, and a CH-49. http://www.filedropper.com/synchronystratis Ive eliminated as many vectors as possible.. I (still) don't know what the source of the interference is. Share this post Link to post Share on other sites
Harzach 2518 Posted February 19, 2014 It's working perfectly. You can tell because you can move the crate around and check your vehicles. The reason you aren't getting the HUD/Cam/lift is line 22 of your =BTC=_logistic_init.sqf: BTC_lift_pilot = ["B_Helipilot_F"]; The unit you placed in the editor is "B_Pilot_F". Share this post Link to post Share on other sites
dark_spectre 2 Posted February 19, 2014 Ahhh, I see! I didn't realize there was a "unit type"dependency on logistics menu availability! If I leave it blank ( "") will all player types have access to the full menu, or would I have to define every class I want having access? (And if so, Commas, commas with spaces after? Syntax..) Share this post Link to post Share on other sites
Harzach 2518 Posted February 19, 2014 If you leave it blank, any unit will be able to use the lift function: BTC_lift_pilot = []; Note that the brackets are completely empty - no quotation marks. For multiple classes, format would be each unit in quotation marks, separated by a comma. BTC_lift_pilot = ["B_Helipilot_F","B_Pilot_F"]; In the =BTC=_logistic folder in your mission folder, you will find a "Hint&Tips.sqf", which describes most of the editable variable/arrays in the system. Share this post Link to post Share on other sites