OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Baphomet on 07 Mar 2003, 04:26:27

Title: Multiplayer friendly scripts, radio functions.
Post by: Baphomet on 07 Mar 2003, 04:26:27
I know I'm something of a bastard for posting this here. This should be in the ideas section, but nobody gives a sod about those really it seems. I was just wondering if anyone has converted Skumball's airstrike script for multiplayer use. Not just camcreate however functionality for one side only, that's important because really it renders the whole thing pointless if east/west/res can wrestle for control over the damn thing. I'm getting better at this whole script business only I'm not sure how to do either of those, since apparently camcreate doesn't work well in MP and there's some process you have to go through to make it compatible.

Oh and does anyone know how to make markers appear for only one side? I'm trying to make ghost dog's awacs script for a multiplayer adversarial mission and I'd be grateful for assistance as I'm in need of some help if anyone is up to it.
Title: Re:Multiplayer friendly scripts, radio functions.
Post by: Terox on 07 Mar 2003, 18:24:50
To have markers appear to only one side

I assume you mean in the map view briefing etc

enter the following code snippet into your Init.sqs



? side player == west : goto "west"
? side player == east : goto "east"
#east
;Hide West markers from East players
"Respawn_West" setmarkertype "empty"
"name of marker" setmarkertype "empty"


goto "end"
 
#west
;Hide East markers from West players
"Respawn_East" setmarkertype "empty"
"name of marker" setmarkertype "empty"

#end
Title: Re:Multiplayer friendly scripts, radio functions.
Post by: Baphomet on 07 Mar 2003, 23:53:35
At first I thought it didn't. The markers are placed on the map and not via a script. Only moved. So that might work.
I'll give it a shot.
Title: Re:Multiplayer friendly scripts, radio functions.
Post by: snYpir on 09 Mar 2003, 07:08:00
Quote
I was just wondering if anyone has converted Skumball's airstrike script for multiplayer use

I have done this, and it is attached to some other post on this board. I'll see if i can find it...

I also created this (http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=6022), which gives you just about everything you could want in multiplayer when it comes to support. It is almost finished, too.
Title: Re:Multiplayer friendly scripts, radio functions.
Post by: snYpir on 09 Mar 2003, 07:11:16
Here is skumball's script converted for MP (last post):

http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=3986;start=0

I can't remember how much detail I went into with regards to define support for different sides, that is why i created the support pack (http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=6022) (so different players on different sides could blast the shite out of each other).