Jump to content

aircode

Member
  • Posts

    15
  • Joined

  • Last visited

Reputation Activity

  1. Like
    aircode reacted to Halvhjearne in Painshop ... paint/set custom textures on Backpack, Uniforms and vehicles.   
    Ok so last night someone came to my ts just to ask me if he could donate to use my paintshop...
     
    obviusly i could not just allow this, but he insisted that i should take his donation and i told him that i would not promise anything but i was already planning on posting it soonish on the forum.
    he was so happy about this, that he decided to donate to me anyway and since i was so flattered by this "move of generosity", i decided that today would be the day to "reveal" it for everyone.
     
    so here it is ... PaintShop by Halv:
     
    [screenshots below, maybe video comming soon].
     
    this all started with me fiddling with the sliders in the gui editor wanting to use these for something, so i started making this gui to allow me to set a custom colour on vehicles ... later it kinda "grew a bit" and became what it is today where you can use it to set textures on basicly any "vehicle" in arma 3.
     
    for now, only uniforms and backpacks are persistant, but im hoping this will change in the future.
     
    backpacks and uniforms are saved into profilenamespace so it will be persistant over restarts (even over deaths) the player will HAVE to go and set the default colours on their clothing in order to actually remove this again, if not you will be able to relog (if you somehow loose it) and it will be back as it was choosen in the paintshop.
     
    you can use the sliders to set a custom colour of choice or you can easily add or remove custom textures in the settings.sqf file
     
    to install this you will need to download these files:
    https://github.com/Halvhjearne/paintshop
     
    to install add to your init.sqf something like:
    [] execVM "addons\paintshop\paintshop.sqf"; within a:
    if(hasInterface) then{ now in description.ext add the very top:   if you already have a Halv_defines.hpp, then you can skip the step below, as you do not need another, infact your server will fail to load if you have more than one in description.ext!. (but perhaps check when it was last edited and see if you perhaps need to update it).   if you do not have a Halv_defines.hpp, then you need to add this line: #include "addons\halv_spawn\Halv_defines.hpp" once you have the above line, add directly below it:
    #include "addons\paintshop\paintshop.hpp" if you have infistar antihack, you will need to add this:
    6666 in _allowedDialogs like this:
    _allowedDialogs = [-1,602,6666]; and set _CAP  and _OAP to false, like this:
    /*  Check Actions Plr    */ _CAP = false; /* Remove Actions Plr */ _OAP = false; if you dont care about customization, you can skip the next two steps, but READ THE RED TEXT BELOW!!
     
     
    to add custom pictures/preset colours just open settings.sqf and change the array, look at how its already done:
    //custom textures ["Linux","trader\trader.jpg"], ["DK Flag","custom\dkflag.jpg"], first is text, this is the text shown in the menu, next is the path to where your picture is located.
    you can also use this to set preset colours like this:
    //preset colors ["Red","#(argb,8,8,3)color(1,0,0,1)"], ["Green","#(argb,8,8,3)color(0,1,0,1)"], VERY IMPORTANT:
    remeber to change / remove my custom images from settings.sqf or you will get an error about them missing when you open the paintshop!
     
    Known bug/limitations:
    when adding textures by double clicking them, it changes the colour on the next side aswell.
    the side painted is not actually painted, its just the "test colouring" that activates cause it switches side and if you press accept the colours selected is painted correctly.
    to avoid this just use "add to list" option instead or learn to live with it (untill i feel like fixing it  :lol:  ).
    some objects cannot be painted, this includes tempest based vehicles, parachute bags and some other, im hoping i prevented the paintshop from opening if no sides are availible to paint on.
    sometimes players uniform/bag is not painted on login, just relog and its usually back.
    profilenamespace can become corrupt and in extreemly rare cases it is possible that it will crash your game on load, in such cases try delete your profile and creating a new one and it should fix it.
    player texture/colours are not seen by ai like players see it, so bright colours will have no effect on how ai reacts towards the player ... idk if this can be called a bug or a feature, its not something i can change (or even want to if i could).
    special thanks to mr. Garcia for donating, only hoping i would release this ... you will not be dissapointed now ;)
     
    have fun
     
    Regards
    Halv
  2. Like
    aircode reacted to Halvhjearne in Custom Spawn Dialog with Gear & HALO Selection, moving Map, Credits, Custom spawns and more ...   
    Please bear with me if this spawn dialog is not perfect, as it is my first time creating one ...
     
    The Short intro:
     
    This is an easy 2 line install, "complete" Spawn system with everything described in the headline and more ...
     
     
    The Long Intro:
     
    This is an easy 2 line install, "complete" spawn system (3lines if you want dead body check, 4 if you do not have my killfeed installed already)
     
    you can:
     
    Select gear screen (can be switched off) Add random gear (if above is switched off or not all items are selected) 2 levels of Custom gear for donors setup custom spawns setup 2 levels of donor spawns set a custom name to any custom location (if none is added it will just use nearest city name if one is avalible) add pictures to your spawn room (one for each wall, no pictures included) replace default teleporters with custom ones (to disable the default teleport option) or just add an extra scroll option to the default teleporters spawn near group leader (can be switched off) spawn near jammer (can be switched off completly now so nobody gets any errors) disable spawns near players dead body, with configurable distance (requires my killfeed installed) run credits or other script on spawn (simple credits file is included) User can select to spawn with halo jump or ground spawn (or can be set to forced in any way you want) will work on any map that spawns a "Debug_static_F" (even unsupported maps, alltho you might need to add spawn locations)  
    i have already added spawn locations for altis, stratis, bornholm and chernarus any other map will ned custom locations added.
     
    NOTE: a player that has already spawned or did not spawn in near the clone room, will NOT have the option to spawn, if you teleport there to test it, pls relog before clicking the scroll action on the console, or it will NOT show anything.
     
    to install this you will need to download the attached files and add them to your mission, then add this line in your init.sqf (outside any if statements):
    [] execVM "addons\halv_spawn\init.sqf"; now in description.ext add the very top:
     
    if you already have a Halv_defines.hpp, then you can skip the step below, as you do not need another, infact your server will fail to load if you have more than one in description.ext!.
    (but perhaps check when it was last edited and see if you perhaps need to update it).
     
    if you do not have a Halv_defines.hpp, then you need to add this line:
    #include "addons\halv_spawn\Halv_defines.hpp" once you have the above line, add directly below it:
    #include "addons\halv_spawn\spawndialog.hpp" VERY IMPORTANT:
     
    most text is translated to multiple languges, so put this file in the root folder of your mission.pbo along side with your init.sqf, mission.sqm and description.ext or NO text will be shown in ANY dialog EVEN ENGLISH!!!
     
    http://pastebin.com/t3gYneqE <<== Stringtable.xml  
    you are now done, the rest is extra ...
     
     
     
    if you want dead body check to work, you will need to install (or update) this:
     

     
    if/when you have installed that, open up halv_fnc_playerdied.sqf and right after this:
     
    if you want donor spawns to work, you will have to add your or whoever you want on the lists uid in spawn_settings.sqf like this:
    //UID's for lvl 1 spawn's _level1UIDs = ["12312453","12312453","12312453"]; //UID's for lvl 2 spawn's _level2UIDs = ["12312453","12312453","12312453"]; //this is to allow any lvl 2 to spawn on lvl 1, comment out to seperate the two _level1UIDs = _level1UIDs + _level2UIDs; same goes for spawn_gear_settings.sqf, you will need to add your uid in both or only the one where you added yours will work.
     
    besides that, please check ALL the settings files or for more info you can ask me here ... (but please refrain from stupid questins already answered in the settings files)
     
     
    if you have infistar antihack, you will need to in run.sqf add this number here, like this:
    _allowedDialogs = [-1,602]; to this:
    _allowedDialogs = [-1,602,7777];   i do not currently have a good picture of the dialog, so if someone could share could pls one i can use?   I will not support changing this so players cannot get all items (including donor items) or locations on random spawns.
    If you have problems with players killing themself to get better weapons/spawns, it means you have too good options for donors or only shit options for non donors, level it out instead of giving donors OP spawns!
      have fun
     
    regards
    Halv
     
    Link:
    https://github.com/Halvhjearne/halv_spawn
  3. Like
    aircode reacted to StarfleetCommand in Game crash After arma update   
    I have found that the black weapon cases causes the most problems, even approaching a building with a weapon case may cause the game to crash so keep that in mind, the Epoch crew are working on a fix so be patient, it will come. In the mean time avoid using any of the memory start-up parameters, i found them to cause a lot more CTD's.
     
    Best of luck.  
  4. Like
    aircode reacted to OtterNas3 in [OLD] JAEM - Just another Evac-Chopper Mod v1.4 (Updated 06/14/2014) ** OUT OF DATE **   
    Hey Survivors,
     
    time for my next release!
     
    JAEM - Just another Evac-Chopper Mod!
     
     
    If you ever wanted to have your own Evac-Chopper you can place anywhere you want, that picks you up where and when you want.
    This is the Mod you would like to have!
     
    This Mod allows you to make a Evac-Chopper Field next to your Base or another place you like and use it with any Chopper on it as a Evac-Chopper.
    If you start fresh all you need is a Chopper with a Key, which you should have in your Inventory, and for the Evac-Field marking a full Briefcase as payment.
     
    This will make a Evac-Chopper field under your Chopper.
    If this Chopper gets destroyed or stolen or just lost, no problem just place any other Chopper you like on it and it will act as your Evac-Chopper!
     
    The "Call Evac-Chopper" action menu entry is just shown if you have a Evac-Chopper field, it checks on activation for:
    Chopper is on the field Enough fuel Damage status The Evac-Chopper locks itself on start so no passenger can hop in.
    It will stay locked when reaching the Evac-Zone until the player who called it gets close to the Evac-Chopper.
    This way no thief could get it before the player is in it.
     
    If the player dies, before or after the Evac-Chopper has reached the Evac-Zone, the Evac-Chopper will be reset to Evac-Field!
     
    JAEM 1.4 changelog:
     
    "evac_AllowedChoppers = ["x","y","z"]"
    A new configuration entry is in the EvacChopper_init.sqf
    With that configuration entry you can decide which Choppers are allowed as Evac-Choppers!
    With many thanks to ebayn0.0b for the Chopper-List in his post, the default config should now implement all available Choppers from Arma2 and Epoch.
    I'm really not sure and never tested it if you can use the MV-22 aka Osprey as a Evac-Chopper i just leaved it in the list.
     
    "BE Filters"
    Again thanks to ebayn0.0b for solving that, never got very familiar with these BE filters anyway ^^
    Changed the files as you suggested!
     
    "Join lag"
    The lag was due to the fact that every player had to search for all Evac-Chopper-Fields on Server themself.
    To support all kinda Maps, also the hughe ones like Sauerland, i had to put in a very high number to the "nearestObjects" call, that caused the join lag
     
    I decided to put the Evac-Chopper-Fields in a Array now.
    A function in the scripts send a PublicVariableServer call to the server to add/rem a field from that array and send that array again via publicVariable to all players.
     
    On Serverstart the Array gets filled with all available Evac-Chopper-Fields on Server and is then send via publicVariable to connecting players.
    This should remove the join lag!
     
     
    "PlayerUID with Characters"
    A new check is implemented for these Players with the Arma2 anniversary edition.
    Like RimBlock wrote me in a PM these Players have characters in their PlayerUID and cause the Database entry just hold numeric it doesnt worked good for them.
     
    I tooked the function from RimBlock his "A Plot for life v1.1" and implemented it in the JAEM scripts so that should not be a problem anymore
    As i took this function from RimBlock his scripts i gave Credits to him here! Dont know who wrote it first if it not was RimBlock himself!
    "Cant call after Die / Call is always available even if no Evac-Field / and other cal/set/clear related errors"
    Clear Evac-Chopper so Field gets delted - CHECK
    Set new Evac-Chopper so old field gets deleted - CHECK
    Call-Evac-Chopper on login - CHECK
    Call-Evac-Chopper on relog - CHECK
    Call-Evac-Chopper after die - CHECK
     
    Sorry that the update took such a long time now but this mod was now completely running on my Headless-Client and the port to a working Missionfile system was not that easy!
     
    JAEM 1.4 changelog END
     
     
     
    Demo Video:
    http://www.youtube.com/watch?v=ui5lm70ii8I
     
    Download:
    https://www.dropbox.com/s/k19pqd6k77rp4d7/JAEM_v1.4.zip
     
    Install instructions:
     
    1. Download JAEM_v1.4.zip and extract it
    2. unpbo MPMissions\YOURMISSIONNAME.pbo
    3. copy the custom folder from the extracted JAEM_v1.4.zip to MPMissions\YOURMISSIONNAME\
    4. Edit MPMissions\YOURMISSIONNAME\init.sqf
     
    Find this block:
    if (!isDedicated) then { 0 fadeSound 0; waitUntil {!isNil "dayz_loadScreenMsg"}; dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; }; And insert this line above the closing bracket };
    _nil = [] execVM "custom\JAEM\EvacChopper_init.sqf"; If you dont have already a custom variables.sqf do step 4a) else do step 4b)
     
    4a)
    Find this line:
    call compile preprocessFileLineNumbers "z\addons\dayz_code\init\variables.sqf"; and ADD BELOW
    call compile preprocessFileLineNumbers "custom\JAEM\variables.sqf"; 4b)
    Copy this line to the very bottom of your custom variables.sqf
     
    dayz_allowedObjects = dayz_allowedObjects + ["HeliHRescue"]; Whoever says that this line not works, i do it like this for almost a year now on my Server!
     
    5.
    Copy these 3 files from the downloaded JAEM_v1.4 to your Servers BattlEye filters folder:
    If you already have edited ones you need to compare my changes!
    remoteexec.txt
    waypointcondition.txt
    waypointstatement.txt
     
    6.
    Configuration:
    Edit custom\JAEM\EvacChopper_init.sqf
     
    Edit this block to your likings!
    ///////////////////////////////////////////////// ///////////////////////////////////////////////// // Edit these settings to fit your needs/likes // ///////////////////////////////////////////////// ///////////////////////////////////////////////// /// Amount of Briefcases a Evac-Chopper costs /// /////////// Any amount between 1-12 ///////////// evac_chopperPrice = 3; ///////////////////////////////////////////////// ////// Need a Radio to call Evac-Chopper? /////// ////// 1 = Need Radio | 0 = No need Radio /////// evac_needRadio = 0; ///////////////////////////////////////////////// // Evac-Zone marker type Smoke or Landingpad? /// ////////// 0 = Landingpad | 1 = Smoke /////////// evac_zoneMarker = 0; ///////////////////////////////////////////////// /// Minimum Distance to call for Evac-Chopper /// ///////// Dont set this lower then 500! ///////// evac_minDistance = 500; ///////////////////////////////////////////////// ///  Allowed Choppers to use as Evac-Chopper  /// evac_AllowedChoppers = [     "AH1Z","AH64D_EP1","AH64D","AH64D_Sidewinders","AH6X_DZ",     "AH6X_EP1","AH6J_EP1","AW159_Lynx_BAF","BAF_Apache_AH1_D","BAF_Merlin_HC3_D",     "CH_47F_BAF","CH_47F_EP1","CH_47F_EP1_DZ","CH_47F_EP1_DZE","CSJ_GyroC",     "CSJ_GyroCover","CSJ_GyroP","Ka137_MG_PMC","Ka137_PMC","Ka52",     "Ka52Black","Ka60_GL_PMC","Ka60_PMC","Mi17_CDF","Mi17_Civilian",     "Mi17_Civilian_DZ","Mi17_DZ","Mi17_Ins","Mi17_medevac_CDF","Mi17_medevac_INS",     "Mi17_medevac_RU","Mi17_rockets_RU","Mi17_TK_EP1","Mi17_UN_CDF_EP1","Mi171Sh_CZ_EP1",     "Mi171Sh_rockets_CZ_EP1","Mi24_D","Mi24_D_TK_EP1","Mi24_P","Mi24_V",     "MH60S","MH6J_DZ","MH6J_EP1","MV22","MV22_DZ",     "pook_H13_medevac","pook_H13_medevac_CDF","pook_H13_medevac_TAK","pook_H13_medevac_INS","pook_H13_medevac_UNO",     "pook_H13_medevac_PMC","pook_H13_medevac_GUE","pook_H13_medevac_CIV","pook_H13_medevac_CIV_RU","pook_H13_gunship",     "pook_H13_gunship_CDF","pook_H13_gunship_UNO","pook_H13_gunship_PMC","pook_H13_gunship_GUE","pook_H13_gunship_TAK",     "pook_H13_gunship_INS","pook_H13_transport","pook_H13_transport_CDF","pook_H13_transport_UNO","pook_H13_transport_PMC",     "pook_H13_transport_GUE","pook_H13_transport_TAK","pook_H13_transport_INS","pook_H13_civ","pook_H13_civ_white",     "pook_H13_civ_slate","pook_H13_civ_black","pook_H13_civ_yellow","pook_H13_civ_ru","pook_H13_civ_ru_white",     "pook_H13_civ_ru_slate","pook_H13_civ_ru_black","pook_H13_civ_ru_yellow","UH1H_DZ","UH1H_DZE",     "UH1H_TK_EP1","UH1H_TK_GUE_EP1","UH1Y_DZ","UH1Y_DZE","UH60M_EP1",     "UH60M_EP1_DZ","UH60M_EP1_DZE","UH60M_MEV_EP1" ]; ///////////////////////////////////////////////// /////////////// DONT EDIT BELOW ! /////////////// ///////////////////////////////////////////////// - Config notes -
    If you set evac_needRadio to 1 and you dont have Radios in your respawn loadout, this breaks the call Evac-Chopper for respawners!
    If you set evac_zoneMarker to 1 the Smoke in the evac-zone will not last until the Chopper arrives if the distance is very far!
    In "evac_AllowedChoppers" the LAST entry in the list DOES NOT HAVE A COMMA ON THE END!
     
    7. repbo MPMissions\YOURMISSIONNAME - upload -
    8. unpbo @DayZ_Epoch_Server\addons\dayz_server.pbo
     
    9. Edit @DayZ_Epoch_server\addons\dayz_server\system\server_monitor.sqf
    Find this line:
     
    _totalvehicles = 0; and ADD BELOW:
    PVDZE_EvacChopperFields = []; Find this line:
    if ((typeOf _object) in dayz_allowedObjects) then { and ADD ABOVE:
    if ((typeOf _object) == "HeliHRescue") then { PVDZE_EvacChopperFields set [count PVDZE_EvacChopperFields, _object]; }; Copy this to the VERY BOTTOM of the file
    if (isServer && (isNil "EvacServerPreload")) then {     publicVariable "PVDZE_EvacChopperFields";          ON_fnc_evacChopperFieldsUpdate = {         private ["_action","_targetField"];         _action = _this select 0;         _targetField = _this select 1;                  if (_action == "add") then {             PVDZE_EvacChopperFields = PVDZE_EvacChopperFields + [_targetField];         };                  if (_action == "rem") then {             PVDZE_EvacChopperFields = PVDZE_EvacChopperFields - [_targetField];         };                  publicVariable "PVDZE_EvacChopperFields";     };     "PVDZE_EvacChopperFieldsUpdate" addPublicVariableEventHandler {(_this select 1) spawn ON_fnc_evacChopperFieldsUpdate};     EvacServerPreload = true; }; 10. repbo @DayZ_Epoch_Server\addons\dayz_server - upload - restart - smile -
     
    11. EVAC ME RIGHT NOW!
     
     
    - Addition Information for all Infistar users:
    in publicvariable.txt:
    5 "PVDZE_" !"PVDZE_player" !"PVDZE_send" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_obj_setlocalVars" !="PVDZE_plr_TradeMenu" !="PVDZE_obj_getlocalVars" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" replace with: 5 "PVDZE_" !"PVDZE_player" !"PVDZE_send" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_obj_setlocalVars" !="PVDZE_plr_TradeMenu" !="PVDZE_obj_getlocalVars" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_EvacChopperFieldsUpdate"  
    Have fun with it!
     
    - If you like it - Like it - So I can count Downloads - I like that
     
    #####################################
    #                      Support my work                      #
    #                                    &                                #
    #                                Donate                           #
    #####################################

     
×
×
  • Create New...