Home   Help Search Login Register  

Author Topic: Multiplayer 'options'...  (Read 1577 times)

0 Members and 1 Guest are viewing this topic.

Serial Killer

  • Guest
Multiplayer 'options'...
« on: 11 May 2005, 19:07:26 »
I need some help with 'multiplayer options', whatever you call it.. Here's what I found here in OFPEC..

Quote
DESCRIPTION.EXT
titleParam1 = "No of Lives";
valuesParam1[] = {1,2,3,4,5};
defValueParam1 = 4;
textsParam1[] = {"1", "2", "3", "4", "5"};

titleParam2 = "RESPAWN DELAY";
valuesParam2[] = {20,40,60};
defValueParam2 = 20;
textsParam2[] = {"20 secs","40 secs", "60 secs"};



INIT.SQS
tx_respawns = Param1
tx_respawndelay = Param2

You know what I mean? Ok. I need to place there difficulty levels ( Easy, normal, hard ) I know how to do it. Here's the problem: How does the different difficulty levels activates? Do I need to make some script maybe? Or trigger?

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Multiplayer 'options'...
« Reply #1 on: 12 May 2005, 00:24:52 »
Is your question about how to actually get multiplayer 'options', and get values back from them?

Or is your question about how to adjust the difficulty level of a mission?

Those are two very different questions, so you should specify, methinks :)
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Serial Killer

  • Guest
Re:Multiplayer 'options'...
« Reply #2 on: 12 May 2005, 12:21:18 »
Or is your question about how to adjust the difficulty level of a mission?

That... I think ;D

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Multiplayer 'options'...
« Reply #3 on: 12 May 2005, 21:48:29 »
Well... there's about a million different ways you could do that, all depending on how your mission is designed. The simplest one that comes to mind would just be the number of enemies on the map. Harder difficulty=more enemies.

In editing terms, there is an easy way to do this. In the unit's "condition of presence" field, just write something like:

Param1 >= 2

Where "param1" is the difficulty setting, as defined in your description.ext. So param1 == 1 might be "easy", param1 == 2 might be "medium" and param1 == 3 might be "hard". So in the above example, the soldier would only exist when the difficulty was set to "medium" or "hard".

Some other ways you can adjust the difficulty would be to change the skill of the AI (via the "setskill" command); give the players less help (less units in their squad, less arty/air support, less reinforcements, etc); add or remove objectives; give the enemies less help (less units as described above, or less arty or less air support etc); and a million and one other things. It all depends on your mission.


HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Serial Killer

  • Guest
Re:Multiplayer 'options'...
« Reply #4 on: 13 May 2005, 13:20:58 »
That helped. Thanks!

 :)