Home   Help Search Login Register  

Author Topic: Multiple description.ext?  (Read 1427 times)

0 Members and 1 Guest are viewing this topic.

lizard

  • Guest
Multiple description.ext?
« on: 08 Oct 2005, 00:02:30 »
Does anybody know if its possible to have more than one description.ext for a mission.

What I want to accomplish is one squad not being able to see the map while another squad (from the same side) is able to view the map. Is this at all possible?

Thanks in advance

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Multiple description.ext?
« Reply #1 on: 08 Oct 2005, 11:48:02 »
only 1 description.ext is possible, not side specific.

Why dont ya want the other side to see the map??


If because of markers, then you can display markers to only 1 side
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

lizard

  • Guest
Re:Multiple description.ext?
« Reply #2 on: 08 Oct 2005, 18:19:31 »
I was thinking something along the lines of a SAR mission or a behind the lines mission.

i.e. one squad (lost) cannot see the map, the other squad is a helicopter unit which has to go and locate then rescue the first squad.

But it would be dead easy for the first squad to cheat by simply switching to the map view and placing their own marker for the helicopter to see.

So by the lost squad not having access to the map it would fix this potential problem.

How would I make it so that the markers are only viewable by one side? Then the first squad could be West and the helicopter Resistance...

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Multiple description.ext?
« Reply #3 on: 09 Oct 2005, 11:05:38 »
to make all markers in an array "Empty" ,eg invisible then place the following in your INIT.sqs.

Make sure there are no pauses before the line is read
eg ~0.5


tx_markers = ["marker1","marker2","marker3","marker4"]

if(side player == WEST)then{{_x setmarkertype "Empty}foreach tx_markers


alternatively, you could have all markers set to "empty" in the mission editor and then do the opposite of the above example.

that is
for a given side change them from empty to whatever marker type you want

tx_markermarkers = ["marker1","marker2"]
tx_flagmarkers = ["marker3","marker4"]
if(side player == west)then{{_x setmarkertype "marker"}foreach tx_markermarkers}
if(side player == west)then{{_x setmarkertype "Flag"}foreach tx_flagmarkers}


Ref your map display
Basically

Option A
Easy simple system

MISSION EDITOR
Create a number of square black markers that cover the entire map
Having done a quick test, it needs 15 for a complete blackout
name them "hide1" to "hide15"

INIT.sqs
tx_blackout = ["hide1,hide2,hide3,hide4,hide5..........."hide15"
then to hide them for West, eg make the map visible
use the line
if(side player == WEST)then{{_x setmarkersize [0,0]}foreach tx_blackout




Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123