Jump to content
Sign in to follow this  
-10th- Rezza

Some Briefing Help

Recommended Posts

// created basic notes in diary

player createDiaryRecord ["Diary", ["Info", "Ammo and Weapon Crates are at the landing zone<br />This is a Combined Arms operation always check for enemy infantry and armor aswell"]];

player createDiaryRecord ["Diary", ["Recon", "Here is an image from early morning. It was captured by our UAV.<br /><img image="targetZone.paa"" width=""512"" height=""512"" /&gt]];

player createDiaryRecord ["Diary", ["Enemy forces", "US 6th Armor stationed in south west of Chak Chak , US Mechanized East of Chak Chak and US 2. Infantry North of the village."]];

player createDiaryRecord ["Diary", ["Friendly forces", "1st Takistani Armor Division.<br />Call signs Mohammed and Abraham.<br />1st Infantry and 3rd Mechanized Brigades will also support the battle."]];

player createDiaryRecord ["Diary", ["Mission", "Your squad will get transport to the Area of Operations the attack will commence at 5:35 and the Takistani Army will be the backbone of the assault.<br />Get to the village of Chak Chak and assault it."]];

// secondary objective - first

obj2 = player createSimpleTask ["Defend Against The Counter Attack"];

obj2 setSimpleTaskDescription ["As second objective for your squad is to hold and defend North of Chak Chak village.<br />Hold and Defend this Area.", "Enemy Counter attack must be stopped!", "Defend"];

// primary objective

obj1 = player createSimpleTask ["Advance and Secure Chak Chak Village"];

obj1 setSimpleTaskDescription ["Together with your Special Purpose Squad seize the <marker name="markerUs"">Us</marker>.<br />Squads Shafaq and 2. Infantry platoon will attack together with your squad Zulfikar from <marker name=""Mec"">covered position</marker>.", "Us", "Attack and seize];

obj1 setSimpleTaskDestination (getMarkerPos "Us");

// assigned active task for player

player setCurrentTask obj1;

// 08-23-2009//

obj1 setTaskState "Succeeded";

this is my briefing i wrote it but have no idea where to put it and how these objectives are going to get enabled in game

This is the mission

http://www.mediafire.com/file/6nul9j7fh5oyodq/Takistani%20Strike.Takistan.rar

would appreciate any help :):)

Share this post


Link to post
Share on other sites

Create a new file called "init.sqf" in that file put:

execVM "briefing.sqf";

in briefing.sqf comment out the last line about succeeded, you'll put that in a SEIZED BY OPFOR trigger that surrounds all of Chak Chak (350m radius seemed to work).

Btw did a quick run through of the mission, brutal! The helo never landed, got 500m from the landing spot, then turned and started doing gun runs across the town, in an open air Huey... That's the first time I died. Then we crash landed, second time I died (teamswitch). At this point three of us were still dead on the helo and the squad leader spent the rest of the game telling them to disembark every few seconds.

This was of course after tell me, a guy with no AT, to attack an M1A1! :)

Share this post


Link to post
Share on other sites

Ammo and Weapon Crates are at the landing zone

I thought the landing bug was fixed i did the mission 100 times it always landed perfectly

and yes the armor is supposed to take it out our friendly armor.Yep

Ok i ll try to do that thanks for the further help i ll report back

C:\Users\Sergey\Documents\ArmA 2 Other Profiles\Rezza\missions\Takistani%20Strike.Takistan\init.sqf

It didnt work and the mission sqm is with the init.sqf folder

The briefing is in the init folder and its like this execVm ''briefing.sqf'';

Did i do anything wrong?

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites

Its not working :(

---------- Post added at 05:52 AM ---------- Previous post was at 05:16 AM ----------

mission.jpg

Share this post


Link to post
Share on other sites

Notice that your init.sqf is being listed as a Text Document, instead of SQF file. That means it's actually called init.sqf.txt and you have windows hide extensions turned on.

Turn off Hide Windows Extensions OFF then rename it to init.sqf and it should work.

Share this post


Link to post
Share on other sites

It still doesnt work.I did what you said they are all sqf files now.

init has this inside

execVM "briefing.sqf"

Share this post


Link to post
Share on other sites
Rezza;1711191']It still doesnt work.I did what you said they are all sqf files now.

init has this inside

execVM "briefing.sqf"

Try copying your init file over into a new notepad file. When you save it as init.sqf, make sure that "Save As Type" is set to "All Files" and that the encoding is set to UTF-8. Like kylania said it is most likely being seen as a text file and not a script file.

RR

Share this post


Link to post
Share on other sites

I saw another thing on a video did it and worked i typed in to the init file.Begin and stuff.I still dont know how to put picture and an explanation whenever you open the mission like in the official missions a preview image and a little text

and How can i put the 2. Objective active when the first ends can you guys find a script for that the current script for the 1st objective end is like this.

obj1 setTaskState "Succeeded";

Share this post


Link to post
Share on other sites
Rezza;1711224']I saw another thing on a video did it and worked i typed in to the init file.Begin and stuff.I still dont know how to put picture and an explanation whenever you open the mission like in the official missions a preview image and a little text

To do this' date=' you need to create one of these:

http://community.bistudio.com/wiki/Overview.html

Rezza;1711224']and How can i put the 2. Objective active when the first ends can you guys find a script for that the current script for the 1st objective end is like this.

obj1 setTaskState "Succeeded";

In the trigger that completes the first task, you can put something in the activation field like this:

tskExample2 = player createSimpleTask ["Blah 2"];
tskExample2 setSimpleTaskDescription ["Blah 2", "Blah 2", "Blah Blah 2"];
tskExample2 setSimpleTaskDestination (getMarkerPos "Invisible Blah Marker"); 
player setCurrentTask tskExample2

Or, if you want to keep it neat, you could put that in a script and call it from the trigger. I think that is what you are asking for.

RR

Whoops, you are also going to want one of these:

tskExample1 setTaskState "SUCCEEDED";

Edited by Rick Rawlings

Share this post


Link to post
Share on other sites

Thanks mate meanwhile i tried to write a respawn script

This is in a description.ext file

respawn= ''respawn_east''

respawndelay=10;

I have a respawn_east marker but didnt seem to spawn

I will try out the objectives later and report back but somehow i have to be able to respawn

Share this post


Link to post
Share on other sites

It works Preview Image and Text works fine i am switching over to Objective test and respawn test.

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites

Thanks

Any ideas how i can put an image and a text on the loading screen?

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites

Respawning doesnt work

I created a marker respawn_east

put this in to the folder of description.ext

respawn = 3;

respawndelay=10;

it doesnt work

I also want to add a text to the loading screen can someone help i did this and it doesnt work.

OnLoadMission = "Takistani Strike";

OnLoadIntroTime = True;

OnLoadMissionTime = True;

respawn = 4;

respawndelay= 25;

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites

You're testing in multiplayer right, not the editor? Respawn won't work in the editor, you need to save it as multiplayer then run it from a server (even your own Multiplayer -> New).

Also anytime you change the description.ext file you need to save the mission again to reload the changes.

Share this post


Link to post
Share on other sites

I was trying Singleplayer = Scenario.

I ll switch to multiplayer then can you double check my description.ext if its ok and alright?

Share this post


Link to post
Share on other sites

Respawning now does work on Multiplayer but there are 2 issues

I spawn in my team which is not good if people want to play the COOP 05 Takistani Strike

If there are 5 players how will the dead player respawn because it always respawned on AI

The 2. Problem is The Objective Disappeared when i respawned.

Any ideas how i can put the mission time and name on the loading screen still?

OnLoadMission = "Takistani Strike";

OnLoadIntroTime = True;

OnLoadMissionTime = True;

respawn = 4;

respawndelay= 25;

Share this post


Link to post
Share on other sites

I have one main issue

Respawn needs an AI to respawn on you cant spawn on AI.

OnLoadMission = "Takistani Strike";

OnLoadIntroTime = True;

OnLoadMissionTime = True;

respawn = 4;

respawndelay= 25;

ALSO the onload mission doesnt work any ideas i already got a respawn_east and if i use Respawn 3 would it spawn on that marker? Thanks for further help guys

and this is my trigger

taskCompletedobj1 setTaskState "Succeeded"; obj2 setSimpleTaskDestination (getMarkerPos "obj3"); player setCurrentTask obj2

taskCompletedobj2 setTaskState "Succeeded"; ForceEnd

It doesnt say TASK COMPLETE : ASSAULT AND SECURE CHAK CHAK

it switches the objective without telling the player what am i doing wrong??

-----------------------------------------

This is how my briefing looks

// created basic notes in diary

player createDiaryRecord ["Diary", ["Info", "Ammo and Weapon Crates are at the Landing Zone<br />This is a Combined Arms Operationl"]];

player createDiaryRecord ["Diary", ["Recon", "Locals reported that the enemy are is heavily fortified by armor and infantry.<br />"]];

player createDiaryRecord ["Diary", ["Enemy forces", "US 6th Armor stationed in south west of Chak Chak , US Mechanized East of Chak Chak and US 2. Infantry North of the village."]];

player createDiaryRecord ["Diary", ["Friendly forces", "2 Plattons of the Takistani Armor Division.<br />Call signs Mohammed and Ali.<br />1st Infantry and 3rd Mechanized Brigades will also support the battle.<br />The loyalist Militants are in charge of assaulting the <marker name="US Strongpoint"">US Strongpoint</marker&gt]];

player createDiaryRecord ["Diary", ["Mission", "Your squad will get transport to the Area of Operations the attack will commence at 6:30 and the Takistani Army will be the backbone of the assault.<br />Get to the village of Chak Chak and assault it."]];

// secondary objective - first

obj2 = player createSimpleTask ["Defend Against The Counter Attack"];

obj2 setSimpleTaskDescription ["As second objective for your squad is to hold and defend North of Chak Chak village.<br />Hold and Defend this Area.", "Defend Against the US Counterattack", "Defend"];

// primary objective

obj1 = player createSimpleTask ["Advance and Secure Chak Chak Village"];

obj1 setSimpleTaskDescription ["Together with your Special Purpose Squad seize the US Controlled Village.<br />Squads Shafaq and 2. Infantry platoon will attack together with your squad Zulfikar from <marker name="Landing Zone"">Landing Zone</marker>.", "Advance and Secure the Village", "Advance and Secure];

obj1 setSimpleTaskDestination (getMarkerPos "Advance and Secure the Village");

// assigned active task for player

player setCurrentTask obj1;

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites
Rezza;1712840']

and this is my trigger

taskCompletedobj1 setTaskState "Succeeded"; obj2 setSimpleTaskDestination (getMarkerPos "obj3"); player setCurrentTask obj2

taskCompletedobj2 setTaskState "Succeeded"; ForceEnd

It doesnt say TASK COMPLETE : ASSAULT AND SECURE CHAK CHAK

it switches the objective without telling the player what am i doing wrong??

tskExample1 setTaskState "SUCCEEDED";

http://forums.bistudio.com/showthread.php?t=73424

the taskCompleted command seems to be used as a check if the task is completed, not to set it as such.

Also, setting the task state to succeeded does not automatically tell the player, in case you want to have secret tasks for whatever reason. You need to tell them in some way such as:

hint "TASK COMPLETE : ASSAULT AND SECURE CHAK CHAK";

or

taskHint "TASK COMPLETE : ASSAULT AND SECURE CHAK CHAK\n Hooray for you!";

I hope that is what you were asking about...

RR

Share this post


Link to post
Share on other sites

Thanks mate

This is the latest version of the mission thanks for all the support guys!

Version 23 of the mission

http://rapidshare.com/files/412473167/TakistaniStrike.Takistan.pbo

put into mpmissions in arma 2 directory :)

Thanks for all the help anybody who posted here will get credits when the mission is done and released!

Share this post


Link to post
Share on other sites
Rezza;1715788']Thanks mate

This is the latest version of the mission thanks for all the support guys!

Version 23 of the mission

http://rapidshare.com/files/412473167/TakistaniStrike.Takistan.pbo

put into mpmissions in arma 2 directory :)

Thanks for all the help anybody who posted here will get credits when the mission is done and released!

The mission looks pretty cool. You need to set one of your playable units to "player", otherwise you can't try it out single player. Also, you have no intro.sqs, so your intro doesn't do anything right now!

The chopper insertion was pretty cool, although mine had a rather rough landing :)

Keep up the good work!

RR

Share this post


Link to post
Share on other sites

Glad that you enjoyed it :)

Kylania you told me that you might fix my 2 Task Hint issues and the Takistani Strike 06:30 text on the mission load menu after that the mission will be done

Edited by [10th] Rezza

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×