Jump to content

Balgias

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Posts posted by Balgias


  1. ]

    This is a known issue, I will prepare a quick fix for you guys.

    Nice :) Thanks, APSI device should be not available in these missions yet, that's why I am removing it everytime.

    I have already discovered the source of mission 4 problem and it will be fixed soon.

    FAIL. Me and my friend spent a long long time trying to complete this mission just to run into a brick wall with this bullshit issue, incompetence.


  2. Well this coop mission it's being used for is a tough one, and coop campaign "save games" are a bit broken soo most of the time we end up having to replay entire missions because of some weird conditions causing the server to ignore the save games and revert to the start instead, thus deleting our progress.

    http://forums.bistudio.com/showthread.php?118731-Arma-2-Namalsk-Crisis

    It feels somewhat appropriate for there to be a somewhat strong healing mechanic present for coop for this mods campaign because of how often med-kits were frantically spammed in combat in the original STALKER. I know it's not at all in the aesthetic of the ARMA community in general to have a seemingly cheating method like this, but getting nicked by ones own grenade then being stuck moaning out for the rest of the mission is quite annoying :S Which is partially ARMA 2 to blame for the game (seemingly) having very little to no built-in self healing tools to capitalize on for single-player type missions apparently.

    But all that aside if someone knows any better on how to get this working properly for a campaign I would be greatful.


  3. Interesting.

    From the top of my head I'll make an attempt at this, im no scripter, of coder, but i have dabbled in scripts and configs before,

    it may not be right but its a start.

    You would need to create the actual script, so using Armaedit--> http://www.armaholic.com/page.php?id=1455&highlight=ARMAEDIT

    you would create a new SQF, and then basically paste the code into the open space, then save the script as regen_health

    Put the script in the folder of your mission.

    You would then take this code seen at the bottom of the script:

    [player] execVM "regen_health.sqf";

    name your character, (player) and put that name in between the brackets, so lets say your character's name was Dan, you would:

    [Dan] execVM "regen_health.sqf";

    As for calling the script i think you would put something like this in the player's init line

    in the editor of the mission you were to use the script in.

    null = [player] execVM "regen_health.sqf";

    I'm not 100% on that.

    Edit...

    Yep just tested it works like i said.

    Thing is when you do get injured it shows a number in the hint at the top right, and gives you a damage number, it does regenerate your

    health but I think this could be better optimized,a nd more time added to slow the regeneration process, as 5 sec is to fast.

    5 Seconds is what I was going for, I changed sleep 0.05 to 0.10 for a more gamey style of game-play due to not wanting to set up something more complex that uses bandages and whatnot. I'll be setting this up for a co-op campaign, so does that mean I'll have to splice this script into each of the campaigns missions, and my partner will have to do the exact same ? :S


  4. I found this script in another part of the forums and I was wondering how I could get it to easily function in other campaigns, I'm unsure how to get this script started in-game.

    private ["_newDamage","_t"];
    hint "Regen Script Started";
    while {alive player} do 
    {
    _t = time;
    waitUntil {time - _t > 1};
    if (damage player > 0) then 
    	{
    	_newDamage = (damage player) - 0.05;
    	player setdamage _newDamage;
    	hintSilent format["Current Damage %1",_newdamage];
    	};
    sleep 0.10;
    };
    
    waitUntil{alive player};
    sleep 0.5;
    [player] execVM "regen_health.sqf";


  5. I was trying to set up a health regen script for use with the MP Namalsk crisis campaign using this.

    private ["_newDamage","_t"];
    hint "Regen Script Started";
    while {alive player} do 
    {
    _t = time;
    waitUntil {time - _t > 1};
    if (damage player > 0) then 
    	{
    	_newDamage = (damage player) - 0.05;
    	player setdamage _newDamage;
    	hintSilent format["Current Damage %1",_newdamage];
    	};
    sleep 0.10;
    };
    
    waitUntil{alive player};
    sleep 0.5;
    [player] execVM "regen_health.sqf";

    Does anyone here know how I could get this working ?

×