Forum Jump :

Author Message


Posts: 410
Rank:


Country: ca
Location: Ottawa
Occupation: Fighting with Exchange
Age: 41
In-game name: =VG= SavageCDN

 
#31 Posted at 2012-05-23 15:39        
     
^ you could create a trigger activated by BLUFOR being present in the trigger area.. then in onActivation something like:

pilot1 moveinCargo chopper1; pilot2 moveinCargo chopper1

where pilot1 and pilot2 are the names of the units in the editor you are rescuing and chopper1 is the name of the rescue chopper.

Note that this will 'transport' the pilot into the chopper, not order him to get in.


If you need to keep the pilots in your squad you can prevent them from running to you by adding:

doStop this;

in the pilot's init line


Author Message


Posts: 23
Rank:


Level: Member

Country: ve
Location:
Occupation:
Age:
In-game name:

 
#32 Posted at 2012-05-23 15:54        
     
Ok thanks SavageCDN... I'll try this out.


Advertisement


Author Message

mootaz  

I am using a cracked game version


Posts: 6
Rank:


Level: Hidden

Country: tn
Location:
Occupation:
Age: 21
In-game name: Mootaz khelifi

 
#33 Posted at 2012-05-27 15:29        
     
i got a mission i want it to be scripted and i don't know how to script a mission if there some one can script and have experience help me


Author Message

DarkXess  

Modsaholic Founder


Posts: 2714
Rank:


Country: cn
Location: Changchun
Occupation: Engineer
Age: 33
In-game name: DarkXess

 
#34 Posted at 2012-05-27 15:59        
     
# mootaz : i got a mission i want it to be scripted and i don't know how to script a mission if there some one can script and have experience help me

It helps if you let us know what kind of script your wanting to have in your mission?

1st - Check The Rules! 2nd - Use The Search!


Author Message

W0lle  

call me evil


Posts: 1793
Rank:


Country: de
Location:
Occupation: CWR² Developer
Age: 98
In-game name: CWR2 PR

 
#35 Posted at 2012-05-27 16:16        
     
Obviously not interested in giving details about the mission, or by providing the details he would be end up banned here. :-)


Author Message

mootaz  

I am using a cracked game version


Posts: 6
Rank:


Level: Hidden

Country: tn
Location:
Occupation:
Age: 21
In-game name: Mootaz khelifi

 
#36 Posted at 2012-05-27 20:03        
     
# DarkXess : It helps if you let us know what kind of script your wanting to have in your mission?
sorry i forget to post my mission on net
and i will post it here and u test it and you will know me i want it to be like in campaign stuff ( briefing and objectives and radio communication with other unites stuff like that
my mission ( 1st one )


Author Message

W0lle  

call me evil


Posts: 1793
Rank:


Country: de
Location:
Occupation: CWR² Developer
Age: 98
In-game name: CWR2 PR

 
#37 Posted at 2012-05-28 00:19        
     
There are I don't know how many threads here and the BI Forums about how to create a briefing. And also as much about radio communications.

All you have to do is looking for them, then read how it's done and play with them in your mission until it works.

Yes, it needs some work and it's not as easy as placing a few units on a map. But no one said creating missions is as easy as 1-2-3. :-)


Author Message


Posts: 23
Rank:


Level: Member

Country: ve
Location:
Occupation:
Age:
In-game name:

 
#38 Posted at 2012-05-28 14:09        
     
Morning guys, need help on something that for you pro scripters might be easy but I really can't find the solution in fact it's 2 things... this is it:

1) I want to limit the amount of respawn a player gets... I know respawns take away the realism in game but for me and my friends who are big noobies it is needed. But I don't want anyone rushing the map and getting killed trizillion times. I will like to set it up for 2 maybe 3 respawns.

This is what I have in my description.ext folder:

OnLoadMission="Name of the mission";
OnLoadMissionTime=TRUE;

disabledAI=FALSE;
ShowGPS=1;
showCompass=1;
showWatch=1;
showMap=1;
showNotePad=1;
briefing=0;
debriefing=0;



class Header
{
gameType=coop;
minPlayers=2;
maxPlayers=6;
};

respawn=2;
respawnDelay=30;



2-Another thing that is really noobie and some may laugh but i can't find the way to play missions done by someone else. This is what I do:
A-Obviously I download the mission
B-I copy and paste in the following string: Arma2otherprofiles/My profile (it has my name)/mpmissions

But when I enter the game I dont see it, I go in multiplayer/NEW/then I get a list with the missions I have created but I don't see the one I just copied and paste. Help please.

Well guys hope someone can help me with this 2 problems....Thanks in advance


Author Message


Posts: 386
Rank:


Level: Member

Country: us
Location:
Occupation: Gamer
Age: 18
In-game name: Hunter

 
#39 Posted at 2012-05-28 21:03        
     
Does anyone know of a script that prevent a unit from crouching? I'm making a mission where a unit is behind cover and can not crouch. I used the this setunitpos "up", but it doesn't work for some reason.


Author Message


Posts: 1220
Rank:


Level: Member PFS

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#40 Posted at 2012-05-28 21:46        
     
this setunitpos "up"

Works fine here when placed in the init box for Soldiers but it won't work for a CIV unless you have it in a loop.


Author Message


Posts: 386
Rank:


Level: Member

Country: us
Location:
Occupation: Gamer
Age: 18
In-game name: Hunter

 
#41 Posted at 2012-05-29 00:50        
     
That's the problem. When the soldiers behind cover (the ones that need to stay standing up) see the enemy units, they fire off a few shots, then crouch behind cover. It completely ends the firefight, as they are all hiding.

I've been using the setunitpos script for quite some time with complete success, but for some reason its not working in this scenario.


Author Message


Posts: 1220
Rank:


Level: Member PFS

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#42 Posted at 2012-05-29 02:41        
     
# RyanHunter24 : That's the problem. When the soldiers behind cover (the ones that need to stay standing up) see the enemy units, they fire off a few shots, then crouch behind cover. It completely ends the firefight, as they are all hiding.

I've been using the setunitpos script for quite some time with complete success, but for some reason its not working in this scenario.

It took a while to see it and it does seem that setunitpos fails when a unit can hide behind an object, out in the open they stay upright.

I did put setposunit "up" into a loop and it seems to fix the problem.
place the execvm line into the units init, it will force the unit to stand every half second or remove the sleep and enable the waituntil, that will check the units height and force him to stand if he tries to crouch.

save the script as "keep_up.sqf"

//nul=[this] execvm "keep_up.sqf"
_who = _this select 0;

while {alive _who} do {
	//waitUntil {(_who selectionPosition "launcher" select 2)<1.2};
	_who setunitpos "up";
	sleep 0.5;
};


Author Message

mootaz  

I am using a cracked game version


Posts: 6
Rank:


Level: Hidden

Country: tn
Location:
Occupation:
Age: 21
In-game name: Mootaz khelifi

 
#43 Posted at 2012-05-29 06:21        
     
# mootaz : sorry i forget to post my mission on net
and i will post it here and u test it and you will know me i want it to be like in campaign stuff ( briefing and objectives and radio communication with other unites stuff like that
my mission ( 1st one )
hey guys for your record my F5 button don't work for me ( dose it the scripting button )


Author Message


Posts: 39
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#44 Posted at 2012-05-29 07:05        
     
Hello Arma 2 Scripters,

I am looking for a script for the Marine Naval Aviator by Meatball0311 that lowers his visor...
I think it is simple animation but I do not know it

Thanks

Barbossa99


Author Message


Posts: 410
Rank:


Country: ca
Location: Ottawa
Occupation: Fighting with Exchange
Age: 41
In-game name: =VG= SavageCDN

 
#45 Posted at 2012-05-29 16:59        
     
# Schmucke13 : Morning guys, need help on something that for you pro scripters might be easy but I really can't find the solution in fact it's 2 things... this is it:

1) I want to limit the amount of respawn a player gets... I know respawns take away the realism in game but for me and my friends who are big noobies it is needed. But I don't want anyone rushing the map and getting killed trizillion times. I will like to set it up for 2 maybe 3 respawns.

This is what I have in my description.ext folder:

OnLoadMission="Name of the mission";
OnLoadMissionTime=TRUE;

disabledAI=FALSE;
ShowGPS=1;
showCompass=1;
showWatch=1;
showMap=1;
showNotePad=1;
briefing=0;
debriefing=0;



class Header
{
gameType=coop;
minPlayers=2;
maxPlayers=6;
};

respawn=2;
respawnDelay=30;



2-Another thing that is really noobie and some may laugh but i can't find the way to play missions done by someone else. This is what I do:
A-Obviously I download the mission
B-I copy and paste in the following string: Arma2otherprofiles/My profile (it has my name)/mpmissions

But when I enter the game I dont see it, I go in multiplayer/NEW/then I get a list with the missions I have created but I don't see the one I just copied and paste. Help please.

Well guys hope someone can help me with this 2 problems....Thanks in advance


For #1 there is no way to set a limit on # of respawns for Human players without A) Using a revive/respawn script like Norrin's revive B) Creating extra playable units on your side and upon death you can take over one of them using respawn=4 (group) or respawn=5 (side)

See here for more info on the description.ext settings:

http://community.bistudio.com/wiki/Description.ext#respawn

For example, in your description.ext you have respawn = 2 - this tells Arma to respawn you instantly right where you died, not give you 2 respawns.


For #2 you need to put mission .pbo files in your Arma directory \ MPMissions folder (or Missions for singleplayer). The stuff in your Documents\Arma Profile directory is for extracted mission .pbo files or for missions you create yourself.





This topic is locked, new posts are not allowed.

Tags: Request, Scipt