Home   Help Search Login Register  

Author Topic: Civilians and War  (Read 610 times)

0 Members and 1 Guest are viewing this topic.

Lecit

  • Guest
Civilians and War
« on: 01 Feb 2003, 15:29:03 »
Hi Guys,

i hope one of you can help me out with it, i need West/East Soldiers to attack Civilians on sight. Can i do this by script or something like that or do i have to make an addon for that? ( wouldnt be that fine :( )

Thx for ur help

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Re:Civilians and War
« Reply #1 on: 01 Feb 2003, 18:56:11 »
Let's say that you want some west guys to attack a couple of civilians.

#1
First, insert a civilan man or woman on the map and name him victim (just to make it easy to find him later on).

#2
Insert a west side soldier next to him to work as a test guy to see whether soldiers will fire at the guy or not. Save the mission.

#3
Now alt+tab back to Windows and find the mission folder that you just created (it's in your Users\player_name\missions directory). Inside the folder there should be a file named "mission.sqm", open that one in notepad or wordpad.

#4
Search for "victim" or whatever you named the civil guy and you should find something like this:

         side="CIV";
         class Vehicles
         {
            items=1;
            class Item0
            {
               position[]={7285.838425,5501.824707};
               azimut=-98.498772;
               id=95;
               side="CIV";
               vehicle="Civilian5";
               leader=1;
               skill=0.373322;
               text="victim";

#5
All you have to do now is to change ALL the lines (there are two) that say "side="CIV";" into "side="EAST";" and save the document.

#6
Load the mission in the game and try it out. The civil guy should now look like an ordinary man or woman, but seem like a hostile to all west soldiers. If the civil guy had a gun he or she would also fire back. Do the same thing with more civil people.


Caution!

Do not attempt to edit the civil guy after you have performed this litte operation, or he will turn into a russian soldier.  :gunman:
You could however edit him first if you have to and then change his side in the "mission.sqm" file. If you instead would like to see russian soldiers fire at civilians you simply change the line "side="CIV";" into "side="WEST";" instead of EAST.

Hope this helped, cheers :)
Weeee...

Kaliyuga

  • Guest
Re:Civilians and War
« Reply #2 on: 01 Feb 2003, 19:02:23 »
Make sure those civvies are grouped to a West soldier when the mission starts.. then use deletevehicle or setdammage to get rid of the soldier, and the civvies will still be on the west side, since their commander was when the mission started

That simple

Kaliyuga
:cheers:

Lecit

  • Guest
Re:Civilians and War
« Reply #3 on: 02 Feb 2003, 00:49:16 »
Thanks, you both helped me out.   :)