Jump to content
Sign in to follow this  
Foxhound74

Killing civilians.

Recommended Posts

Is there a way to set it so a faction. (Like the soviets.) Will attack civilians? I want to make a mission were you have to stop some soldiers attacking a village.

I know the trick of putting civilians in a squad with another factions soldier. But is there any other way?

Also. Is there a way to make a panicked rush? (Like instead of everyone dropping to the ground when they get shot at the all start to run as fast as they can away from the firing.)

Thank you in advance.

Share this post


Link to post
Share on other sites

hi,

Is there a way to set it so a faction. (Like the soviets.) Will attack civilians? I want to make a mission were you have to stop some soldiers attacking a village.

I know the trick of putting civilians in a squad with another factions soldier. But is there any other way?

Yes it's possible to make russian attack civilians. You have to edit the mission.sqm for that. Change all CIV by WEST or GUER.

Open the mission.sqm in the notepad and use replace by function.

i.e replace CIV by WEST and then press replace all. In this example all CIV in the mission will be replaced by WEST.

NOTE1: the mission.sqm MUST NOT be loaded in the editor while you edit it in the notepad or when you will save the file the modifications will be lost.

NOTE2: Edit the init field and name of the units you want to change first. Because after side change, if you open those units again, they will go back automaticly to civilian side.

NOTE3: you can copy and paste the changed units they will keep their side changed.

Example:

//I want to change a M1A1 by Vulcan and a west soldier by east soldier without opening the editor:
//here's a simple mission.sqm file edited in the note pad:

version=11;
class Mission
{
randomSeed=4160515;
class Intel
{
};
class Groups
{
 items=2;
 class Item0
 {
  side="WEST";
  class Vehicles
  {
   items=1;
   class Item0
   {
    position[]={9694.040039,29.834999,3901.866455};
    id=0;
    side="WEST";
    vehicle="SoldierWB";
    player="PLAYER COMMANDER";
    leader=1;
    skill=0.600000;
   };
  };
 };
 class Item1
 {
  side="WEST";
  class Vehicles
  {
   items=1;
   class Item0
   {
    position[]={9726.058594,29.834999,3971.109375};
    id=1;
    side="WEST";
    vehicle="M1Abrams";
    leader=1;
    skill=0.600000;
   };
  };
 };
};
};
class Intro
{
randomSeed=8400899;
class Intel
{
};
};
class OutroWin
{
randomSeed=1078275;
class Intel
{
};
};
class OutroLoose
{
randomSeed=8859651;

//Here's the modified mission.sqm file:

version=11;
class Mission
{
randomSeed=4160515;
class Intel
{
};
class Groups
{
 items=2;
 class Item0
 {
  side="EAST";
  class Vehicles
  {
   items=1;
   class Item0
   {
    position[]={9694.040039,29.834999,3901.866455};
    id=0;
    side="EAST";
    vehicle="SoldierEB";
    player="PLAYER COMMANDER";
    leader=1;
    skill=0.600000;
   };
  };
 };
 class Item1
 {
  side="WEST";
  class Vehicles
  {
   items=1;
   class Item0
   {
    position[]={9726.058594,29.834999,3971.109375};
    id=1;
    side="WEST";
    vehicle="Vulcan";
    leader=1;
    skill=0.600000;
   };
  };
 };
};
};
class Intro
{
randomSeed=8400899;
class Intel
{
};
};
class OutroWin
{
randomSeed=1078275;
class Intel
{
};
};
class OutroLoose
{
randomSeed=8859651;

Also. Is there a way to make a panicked rush? (Like instead of everyone dropping to the ground when they get shot at the all start to run as fast as they can away from the firing.)

Thank you in advance.

Yes. Use allowFleeing command.

cya.

Nikiller.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×