Home   Help Search Login Register  

Author Topic: Mass invincibility / debugging in game  (Read 1310 times)

0 Members and 1 Guest are viewing this topic.

Rocko Bonaparte

  • Guest
Mass invincibility / debugging in game
« 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.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Mass invincibility / debugging in game
« Reply #1 on: 04 Mar 2005, 01:28:24 »
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

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

Rocko Bonaparte

  • Guest
Re:Mass invincibility / debugging in game
« Reply #2 on: 05 Mar 2005, 07:31:32 »
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?

Merc

  • Guest
Re:Mass invincibility / debugging in game
« Reply #3 on: 05 Mar 2005, 18:19:23 »
I think i have a solution.

Put:

Code: [Select]
name_of_person addeventhandler ["hit",{name_of_person setdammage 0}]
In the init. field of the guys you want to be invincible.

Rocko Bonaparte

  • Guest
Re:Mass invincibility / debugging in game
« Reply #4 on: 06 Mar 2005, 09:18:59 »
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.
« Last Edit: 06 Mar 2005, 09:19:30 by Rocko Bonaparte »