about scripts
Moderators: Lone Wolf, Snake Man
-
- 2nd Lt
- Posts: 72
- Joined: 2006-12-09 16:58:19
about scripts
I've look at some nice Arma2 scrtipts around the web...
but I've look at this for the first time in my life...
I can use them only into the demo mission include in the script.rar files (from the own authors) ?
Or...
I can use these scripts into the mission I've in my Arma2 folder ? (like warfare, etc..)
-q
but I've look at this for the first time in my life...
I can use them only into the demo mission include in the script.rar files (from the own authors) ?
Or...
I can use these scripts into the mission I've in my Arma2 folder ? (like warfare, etc..)
-q
-
- FreeFalcon
- Posts: 848
- Joined: 2001-03-04 23:01:01
- Location: here
Re: about scripts
It depends.
Generally, scripts are used most effectively when you are creating a mission and want certain things to happen. Then, you export the mission (from within ArmA) which creates a pbo of it so that others can play it.
Or, you can package the scripts themselves as a pbo (using BI tools) and make them like an addon, which can then be used in any mission. The various AI enhancements are like this, and my ambient traffic mod is like that, too. I think that's the kind you'd need to change Warfare.
Generally, scripts are used most effectively when you are creating a mission and want certain things to happen. Then, you export the mission (from within ArmA) which creates a pbo of it so that others can play it.
Or, you can package the scripts themselves as a pbo (using BI tools) and make them like an addon, which can then be used in any mission. The various AI enhancements are like this, and my ambient traffic mod is like that, too. I think that's the kind you'd need to change Warfare.
Sic Semper tyrannosauro.
-
- Commander-In-Chief
- Posts: 9358
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: about scripts
Yes but its very rare that mission scripts comes in addon. In my mind they stop being "mission scripts" if they are in addon.
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- 2nd Lt
- Posts: 72
- Joined: 2006-12-09 16:58:19
Re: about scripts
in a short...
would like me to know how to use the "us support" scripts from "lucilk"... It's a nice script, that use "Alpha:Radio channel" for to call any kind of troop supports....
but I've completely misunderstood how to use this script (except in mission editor..me and the flag)
it would be nice if this script could be integrated in my arma launcher as an addon... but, I'm a "very beginner" abou all...
would like me to know how to use the "us support" scripts from "lucilk"... It's a nice script, that use "Alpha:Radio channel" for to call any kind of troop supports....
but I've completely misunderstood how to use this script (except in mission editor..me and the flag)
it would be nice if this script could be integrated in my arma launcher as an addon... but, I'm a "very beginner" abou all...
-
- Commander-In-Chief
- Posts: 9358
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: about scripts
Well put the script into the mission dir and call it like:qawa67 wrote:would like me to know how to use the "us support" scripts from "lucilk"...
SQS:
Code: Select all
this exec "script.sqs"
Code: Select all
this = [] execVM "script.sqf"
SQS:
Code: Select all
[parameter] exec "script.sqs"
Code: Select all
this = [parameter] execVM "script.sqf"
Trust me, using it as addon makes it more complicated.it would be nice if this script could be integrated in my arma launcher as an addon... but, I'm a "very beginner" abou all...
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- 2nd Lt
- Posts: 72
- Joined: 2006-12-09 16:58:19
Re: about scripts
thanks SnakMan
one question... I dont understand the difference between these 2 mission folder:
1) C:\Arma 2\Mission
2) C:\documents and settings\Arma 2\Missions
maybe in the "1)" the PBO users mission and the "2)" for the mission made by the Editor ?
because the missions I like to use with, are .PBO... my "editor" mission are very few
one question... I dont understand the difference between these 2 mission folder:
1) C:\Arma 2\Mission
2) C:\documents and settings\Arma 2\Missions
maybe in the "1)" the PBO users mission and the "2)" for the mission made by the Editor ?
because the missions I like to use with, are .PBO... my "editor" mission are very few
-
- 2nd Lt
- Posts: 72
- Joined: 2006-12-09 16:58:19
Re: about scripts
mmmm...
I've made something, but I dont know if I've made a mistake or not...
1) I've DePBO an users Chernarus mission
2) I've copied all into a folder with the same "mission name"
3) I've copied the folder into my c:\documents and settings\Arma 2\mission
4) I've opened the Arma Mission Editor
5) I've opened that mission
6) I've used the "link" function (I dont know if the translate from Italian version is correct)
7) so, I've merged the "US Suport" template mission (or I've assumed so...)
8) I'm back to my c:\documents and settings\folder
9) I've copied the content of both the original missions ("unPBO folder" and "US SUpport") into mine new Mission folder
10) I've copied some parts of the "US support" scripts files, into the main PBO mission files:
init.sqf
description.ext
briefing.sqf
11) I've merged some "item class" into the UnPBO mission mission.sqm....
I've made some attention, because the items are counted, and all items need to be place in the right class with correct Item Number
12) I've launched my new mission from the Arma Editor....
and obviously there are some errors But now I can work on it... if this is the way to do...
It's the correct way to do ?
I've made something, but I dont know if I've made a mistake or not...
1) I've DePBO an users Chernarus mission
2) I've copied all into a folder with the same "mission name"
3) I've copied the folder into my c:\documents and settings\Arma 2\mission
4) I've opened the Arma Mission Editor
5) I've opened that mission
6) I've used the "link" function (I dont know if the translate from Italian version is correct)
7) so, I've merged the "US Suport" template mission (or I've assumed so...)
8) I'm back to my c:\documents and settings\folder
9) I've copied the content of both the original missions ("unPBO folder" and "US SUpport") into mine new Mission folder
10) I've copied some parts of the "US support" scripts files, into the main PBO mission files:
init.sqf
description.ext
briefing.sqf
11) I've merged some "item class" into the UnPBO mission mission.sqm....
I've made some attention, because the items are counted, and all items need to be place in the right class with correct Item Number
12) I've launched my new mission from the Arma Editor....
and obviously there are some errors But now I can work on it... if this is the way to do...
It's the correct way to do ?
-
- Commander-In-Chief
- Posts: 9358
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: about scripts
Number one is official ArmA 2 missions, number two I think is your profile dir for user missions (dunno as I use -profiles=d:\arma2\ parameter which puts my users mission into d:\arma2\users\ and the missions dir is located there.qawa67 wrote:one question... I dont understand the difference between these 2 mission folder:
1) C:\Arma 2\Mission
2) C:\documents and settings\Arma 2\Missions
As for your 12 step example, I don't understand all of it, but it seems very complex thinking about that you are just learning. I'll recommend you start with something smaller scale.
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
Who is online
Users browsing this forum: ClaudeBot [Bot] and 0 guests