OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Rocko Bonaparte on 03 Mar 2005, 07:25:24
-
I'm trying to test a multiplayer mission with two computers. Sadly, I'm only one person, and it's hard to juggle the two important slots needed for my mission. Is there a way to entire a multiplayer debug mode? Are there some server-side commands to make everybody invincible? I'm sure there's something for this kind of thing. It's either that or I alter the mission to put in handmade super soldiers or severely simplify the situation -- which might eliminate the problems to begin with.
-
there are hidden bis units that can be created that are invincible, and designed for mission testing
they are called "Cheated" units
their class names are:
"SoldierWSaboteurCheat";
"SoldierESaboteurCheat";
just edit your mission.sqm and replace an east units with SoldierESaboteurCheat
and a west unit with
SoldierWSaboteurCheat
there is also an east officer that has a cheated version
and a uaz that is almost indestructable.
The unit shows up in the player selection screen as
sabatour cheated.
they are great for testing coop missions etc
-
I don't see the units in anything, and I getting a "Loading of mission failed!" error when I try to load the mission.sqm in which I put some SoliderWSaboteurCheat units. Is there a specific addon I may need to include for that?
-
I think i have a solution.
Put:
name_of_person addeventhandler ["hit",{name_of_person setdammage 0}]
In the init. field of the guys you want to be invincible.
-
I was presuming there was a pre-set way of doing it, but an event handler like that also works quite nicely. I just gave it a shot and the soldiers can withstand LGB blasts. But to be fair, I haven't yet tried ejecting from a thousand meters, or running into the ocean.