Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Different MP mission creating questions  (Read 3282 times)

0 Members and 1 Guest are viewing this topic.

Hector_DK

  • Guest
Different MP mission creating questions
« on: 28 Sep 2002, 16:13:08 »
First of all: When loading a mission, there's this black screen, and in some missions the are written some things there like "Back in the village" or "Later that evening". Where do i write these things?

2nd: How do i make messages appear in the top left corner or as a radio message from HQ (Papa Bear)? This would be useful when noticing players that they're about to leave the game area.

And last but not least: How do i make players respawn with the same weapons that they start the mission with?

Rodd

  • Guest
Re:Different MP mission creating questions
« Reply #1 on: 28 Sep 2002, 18:42:48 »
In the description.ext file you can put a line like
onLoadMission="My loading text";
that will make the text show up when loading. You can see details in the tutorial section.

To make a text appear in the upper left corner you can use:
player hint "text that will appear"

To make players respawn with weapons you can use a script to add the desired weapons to them when they respawn.

Hector_DK

  • Guest
Re:Different MP mission creating questions
« Reply #2 on: 28 Sep 2002, 21:16:59 »
do u know where to find the script??? Somewhere here on OFPEC?

Mike

  • Guest
Re:Different MP mission creating questions
« Reply #3 on: 01 Oct 2002, 07:32:48 »
to rearmunits once they have spawned make a rigger for each unit u desire to re-equip with the following:

Condition: alive player

On Activation: player addmagazine "M16"; player addmagazine "M16";


make the loadout of weapons as u want them..

Hector_DK

  • Guest
Re:Different MP mission creating questions
« Reply #4 on: 01 Oct 2002, 18:16:54 »
Just a small question. Is there some command so i can add all the weapons at once instead of writing addmagazine "M16" 3877 times? EG. like the way you do when you add weapons and ammo to a ammo crate

Mike

  • Guest
Re:Different MP mission creating questions
« Reply #5 on: 03 Oct 2002, 06:50:48 »
its basically the same thing..

when a west player spawns he starts with a M16, 1 clip in the gun and second clip.

all you need to do is add what else you want on him.. if your using the same types of units use Ctrl+C to copy the text then Ctrl+V to paste it to save time..

an example for a West LAW Soldier, but I added Binocs:

Condition: alive player

On Activation: player addmagazine "M16"; player addmagazine "M16"; player addmagazine "LAWLauncher"; player addweapon "LAWLauncher"; player addmagazine "LAWLauncher"; player addmagazine "LAWLauncher";  player addweapon "Binocular";

copy paste the trigger for each guy and change the names in the condition and activation..
« Last Edit: 03 Oct 2002, 06:52:31 by Mike »

Hector_DK

  • Guest
Re:Different MP mission creating questions
« Reply #6 on: 03 Oct 2002, 16:34:51 »
ok thx

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Different MP mission creating questions
« Reply #7 on: 03 Oct 2002, 18:20:12 »
If you don't want to type each weapon/magazine for each
unit, just have a look into this thread (especcially to what
Backoff posted)  ;)

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

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted