Home   Help Search Login Register  

Author Topic: multiple sided briefings in multiplayer  (Read 2267 times)

0 Members and 1 Guest are viewing this topic.

itchie

  • Guest
multiple sided briefings in multiplayer
« on: 12 Apr 2005, 10:20:14 »
Hello, im working on a mission that contains resistance, civilian and west against east. However, those 3 groups need different briefings. Now i have been using this guide to construct the briefing: http://www.flashpoint1985.com/docs/briefing.html

It works perfectly, except for one thing. The objectives are shown, in this way:

- west sees his own objectives + resistance and civilian objectives.
- resistance sees own objectives + civilian objectives.
- civilian sees own objectives + resistance objectives.

Anyone got an idea how to solve this so they only see their own objectives instead of the other ones ?



Offline Malm

  • Members
  • *
  • I'm a llama!
Re:multiple sided briefings in multiplayer
« Reply #1 on: 12 Apr 2005, 15:34:03 »
I do not think that is possible. A work around could be to place three non-playable units W0,  R0 and C0 and let them sidechat specific briefings together with the map coordinates upon initilization.

Sorry :(


-Malm

Offline Malm

  • Members
  • *
  • I'm a llama!
Re:multiple sided briefings in multiplayer
« Reply #2 on: 12 Apr 2005, 19:07:47 »
Sorry itchie I have now learned that it is possible and will return later tonight with an example.


-Malm

itchie

  • Guest
Re:multiple sided briefings in multiplayer
« Reply #3 on: 12 Apr 2005, 22:32:18 »
gimme the example  ;D

well the notes and plan section are correctly shown only to the side that needs to see it, its just the objectives that keeps being showed to everyone

Offline Speeder

  • Members
  • *
    • OFP.nu
Re:multiple sided briefings in multiplayer
« Reply #4 on: 13 Apr 2005, 12:09:19 »
Here is an example briefing for multiplayer missons, where East & West see different maps and briefings.

If the concept of hiding objectives or markers is foreign to you, please check the 'How to use objectives and init.sqs' code snippet before trying to make a multiplayer briefing.

In briefing.html, there is a separate West & East 'Plan' section and a common 'Notes' section (i.e. seen by both sides).

In order to have separate maps for each team: put all the markers used by either team in your map.

Then in the init.sqs file do a check for which side the player is on and hide the markers for the opposite side. An example sqs file is included too.

http://www.ofpec.com/includes/download2.php?id=15


This is NOT my tut - but is made by Sussmori
Recommended for OFP version 1.46.
There are 10 kinds of people in this world. Those who get it, and those who don't.

Offline Speeder

  • Members
  • *
    • OFP.nu
Re:multiple sided briefings in multiplayer
« Reply #5 on: 13 Apr 2005, 12:10:02 »
you should be able to hide objectives just like hiding markers.
There are 10 kinds of people in this world. Those who get it, and those who don't.

itchie

  • Guest
Re:multiple sided briefings in multiplayer
« Reply #6 on: 13 Apr 2005, 16:04:36 »
true, i know how to hide the objectives, but wont they be visible once the objective is completed ?

Offline Speeder

  • Members
  • *
    • OFP.nu
Re:multiple sided briefings in multiplayer
« Reply #7 on: 13 Apr 2005, 18:27:14 »
I think so, but not sure - try and test it with a friend :)
There are 10 kinds of people in this world. Those who get it, and those who don't.

itchie

  • Guest
Re:multiple sided briefings in multiplayer
« Reply #8 on: 13 Apr 2005, 21:22:14 »
yea i got it working, i decided to just cancel the whole civilian part because it became even impossible to get the right briefing (civil briefing and get east fire at certain civilians).

Only problem im facing now, if resistance completes a objective, west will see it marked completed (i hid the objectives from west but i cannot hide them from west again once they are completed ...)

Offline Speeder

  • Members
  • *
    • OFP.nu
Re:multiple sided briefings in multiplayer
« Reply #9 on: 13 Apr 2005, 22:12:03 »
objective objStatus status
Operand types:
    objective: String
    status: String
Type of returned value:
    Nothing
Description:
    Set briefing objective status. Status may be one of: "ACTIVE", "FAILED", "DONE","HIDDEN".

Example:
    "obj_1" objStatus "FAILED"



Make a loop that checks if the objective is DONE -if done then hide the objective again.

#loop
IF "obj_1" objStatus "DONE" THEN "obj_1" setmarkertype "empty"
~1


or something like that


:) I hope it works, because I'm out of ideas :D
There are 10 kinds of people in this world. Those who get it, and those who don't.

itchie

  • Guest
Re:multiple sided briefings in multiplayer
« Reply #10 on: 14 Apr 2005, 03:11:18 »
lol ofcourse i have thought of that, except then its hidden for resistance too :(

hmm but maybe its an idea, instead of marking the objectives complete for resistance, i just remove them from the plan :)

Offline Malm

  • Members
  • *
  • I'm a llama!
Re:multiple sided briefings in multiplayer
« Reply #11 on: 14 Apr 2005, 10:06:08 »
Thank you Speeder :)


Itchie - flashpoint1985 also got a document about the subject:

http://www.flashpoint1985.com/docs/briefing.html


Best regrds
-Malm
« Last Edit: 14 Apr 2005, 10:06:30 by Malm »

itchie

  • Guest
Re:multiple sided briefings in multiplayer
« Reply #12 on: 14 Apr 2005, 11:32:52 »
yea like i said in my first post that i have used that tutorial, however, if you try it yourself you see that it is not working so good as they describe it. atleast if you use multiple sides together that are allied with eachother

itchie

  • Guest
Re:multiple sided briefings in multiplayer
« Reply #13 on: 21 Apr 2005, 13:13:36 »
well i got the objectives part working atleast. Make a script that checks on what side a player is, (resistance or west) and if he's west just exit the script and if he is resistance u can set the objective to failed or done and then only resistance sees the objective like that while its still hidden for west :)