Announcement

Collapse
No announcement yet.

Sandbags for russian troops...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sandbags for russian troops...

    Anyone know a script to deploy sandbags from Russian truck? Like the Supply truck(warfare)?
    I already tried using the Lq.Snake's script, but it doesn't works on Russian trucks.

    I also would like to know how to make a helicopter extraction that the chopper only take-off the LZ after some time... like this:

    *On ground(engines off)>wait 40 minutes>take off>fly to the LZ>land(engines on)>wait 50 seconds>take off>fly to waypoint.*

    I already have some basic knowledge on this, but I don't know how to do in this way...

    Thanks...

    Sapientiam Autem Non Vincit Malitia

  • #2
    Re: Sandbags for russian troops...

    You could use the same script just change the classname and target line for the action:
    For showAction.sqf:
    Code:
    private ["_deploySand", "_hasAction"];
    
    _hasAction = false;
    
    	while {true} do
    	{
    		if ((count nearestObjects [player, ["--INSERT CLASSNAME HERE--"], 30]) >= 1  && !(_hasAction)) then
    		{	
    			_deploySand = player addAction ["Deploy Sandbag", "--INSERT TARGET LINE--", [], 0, true, true, "", "_target == player"];
    			_hasAction = true;
    		};
    	
    		if ((count nearestObjects [player, ["--INSERT CLASSNAME HERE--"], 30]) <= 0 && (_hasAction)) then
    		{
    			player removeAction _deploySand;
    			_hasAction = false;
    		};
    		sleep 1;
    	};


    IN GAME ARMA: |TG-Irr| Lq.Snake

    Comment


    • #3
      Re: Sandbags for russian troops...

      Thx, but now it saying that the game can not found the init_Sand.sqf

      I already put this .sqf in the mission folder...

      Sapientiam Autem Non Vincit Malitia

      Comment


      • #4
        Re: Sandbags for russian troops...

        i don't remember what init_Sand.sqf was but just have this in your init.sqf file:
        Code:
        [] execVM "showAction.sqf";


        IN GAME ARMA: |TG-Irr| Lq.Snake

        Comment


        • #5
          Re: Sandbags for russian troops...

          Originally posted by nthamma View Post
          i don't remember what init_Sand.sqf was but just have this in your init.sqf file:
          Code:
          [] execVM "showAction.sqf";
          perhaps this is the problem, because there is no mention of this SQF in the readMe.txt


          edit: nope, it still giving me that problem...
          but now I have the "deploy sandbag" action
          here is my mission folder:
          Ambush.aiaktalik_.rar
          whats wrong?!
          Last edited by W-Cephei; 12-21-2009, 06:36 PM.

          Sapientiam Autem Non Vincit Malitia

          Comment


          • #6
            Re: Sandbags for russian troops...

            Here you go, follow the exact instructions in the readme.txt:

            SANDBAG SCRIPT UPDATED

            Remember to add a new directory named "Scripts" and then put the "DeploySand" directory inside it. Happy editing!


            IN GAME ARMA: |TG-Irr| Lq.Snake

            Comment


            • #7
              Re: Sandbags for russian troops...

              omg! it works!!!
              Thank you!!!

              Now I need help with the Extraction thing...


              EDIT: Extraction is fixed now...
              Last edited by W-Cephei; 12-22-2009, 11:27 AM.

              Sapientiam Autem Non Vincit Malitia

              Comment


              • #8
                Re: Sandbags for russian troops...

                There's a new update again (same link). Use that one if you have multiple trucks in your missions. Follow the new instructions for explanation in installation. Happy editing!


                IN GAME ARMA: |TG-Irr| Lq.Snake

                Comment

                Connect

                Collapse

                TeamSpeak 3 Server

                Collapse

                Advertisement

                Collapse

                Twitter Feed

                Collapse

                Working...
                X