Home   Help Search Login Register  

Author Topic: aligning civilians to one side or another  (Read 842 times)

0 Members and 1 Guest are viewing this topic.

olliedude

  • Guest
aligning civilians to one side or another
« on: 18 Nov 2003, 21:52:04 »
Hi, I was just wondering if there is a way to align an armed civilian to the East, West, and Resistance, preferably through their INIT. field. Any help is greatly appreciated!

Kaliyuga

  • Guest
Re:aligning civilians to one side or another
« Reply #1 on: 18 Nov 2003, 22:40:12 »
 Make an officer of the side you want the civilian to be on

hit F2 and drag a line grouping the civilian to the officer....

now in the officers init field type this:

deletevehicle this

:cheers:

olliedude

  • Guest
Re:aligning civilians to one side or another
« Reply #2 on: 19 Nov 2003, 01:22:45 »
lol! why didn't I think of that, that's a good idea. I will post again after I try it...

olliedude

  • Guest
Re:aligning civilians to one side or another
« Reply #3 on: 19 Nov 2003, 01:35:46 »
ok... it works well, except for one thing... since the only way to do that is by making the actual soldier of a higher rank, if the player is supposed to be the leader, you appear in the HUD as number 2, it just takes away from the realism, if there is a way around that please tell me, thanks... Oh and one more thing about arming the civillians, when I put their weapon in the init field (by putting for example: this addweapon "revolver"; this addmagazine "revolvermag";) the player always starts with the weapon unloaded, how can I make it so you start with the weapon loaded. Thanks for helping, I just started using the init field.

Kaliyuga

  • Guest
Re:aligning civilians to one side or another
« Reply #4 on: 19 Nov 2003, 01:59:36 »
add one magazine before the weapon and then the weapon will be automatically loaded..

as far as the whole grouping civs to officers deal......  you can edit the mission.sqm in your situation to change the players side.


m21man

  • Guest
Re:aligning civilians to one side or another
« Reply #5 on: 19 Nov 2003, 02:01:44 »
Exactly, just alter the mission.sqm file in order to change a unit's side. Accepted sides are "WEST", "EAST", and "GUER".

olliedude

  • Guest
Re:aligning civilians to one side or another
« Reply #6 on: 19 Nov 2003, 02:14:07 »
I feel like an idiot about the mag thing lol. thanks a lot guys, but what exactly should I put in the mission.sqm to make that work?

Offline Burn

  • Members
  • *
Re:aligning civilians to one side or another
« Reply #7 on: 19 Nov 2003, 02:57:21 »
Quote
what exactly should I put in the mission.sqm to make that work?
This is ripped out of one of my mission.SQM's...
As the player is usually the first thing you place on the map, it should be pretty early in the .sqm and easy to find...
               position[]={312.425140,2.181755,6770.207031};
               azimut=269.967987;
               id=35;
               side="EAST";<--------- THIS is the important part ;)
               vehicle="SoldierESaboteurPipe";
               player="PLAYER COMMANDER";
               leader=1;
               rank="CAPTAIN";
               skill=1.000000;
               text="spetz1";
               init="[this] exec ""Spetz-Natz-Leader.sqs"";SpecNatz=group this;this setBehaviour ""safe"";this setpos [3263.19,6780.27,0]";
            };
Change side value to any of: "WEST", "EAST", or "GUER".

"WEST"= Nato
"EAST"= Soviet
"GUER"= Resistance

Happy editing ;D

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:aligning civilians to one side or another
« Reply #8 on: 19 Nov 2003, 03:12:09 »
Be careful after editing the mission.sqm.   If you edit the unit again in the mission editor he'll change back.
Plenty of reviewed ArmA missions for you to play

Loup-Garou

  • Guest
Re:aligning civilians to one side or another
« Reply #9 on: 20 Nov 2003, 12:57:15 »
You don't need to worry about the magazines : the weapon is unloaded in the "preview" of the mission ; but if you export it as a single mission, and then play it, all weapons will be loaded !  ;D

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:aligning civilians to one side or another
« Reply #10 on: 20 Nov 2003, 13:45:59 »
If you want the civ to shoot ruskies in the game, then just giv em a gun. I wanted a mission where the civilians would carry weapons and not shoot anyone. When previewing it, the civ shot the bloody Ruskies anyway.

So if you want the civs to vs. Ruskies, just giv em guns.
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:aligning civilians to one side or another
« Reply #11 on: 20 Nov 2003, 16:41:17 »
I think - though I'm not sure - that armed civvies will shoot the enemy of the Resistance, although that enemy will not shoot back.

So if you make Resistance friendly to the Russians but not the the Americans, the civvies will shoot at the Americans.
Plenty of reviewed ArmA missions for you to play

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:aligning civilians to one side or another
« Reply #12 on: 20 Nov 2003, 18:54:31 »
Yeah, I think thats it...
I was  trying to think of it out of memory...
Happy Editing...
Tyger
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08