Jump to content
Sign in to follow this  
Danny1412

Need Extreme Help

Recommended Posts

how do you add civilians to the east or resistance side, and how do you arm them with ak's or 9mm,etc..... icon_rolleyes.gif

Share this post


Link to post
Share on other sites

Good question, I always wondered that myself. Unless you have to download an add-on that has a Russian/Resistance model skinned as a civilian.

Share this post


Link to post
Share on other sites

First off, a search or browse in this forum would have helped you.

All weapon names

and simply group the civilian with an west/east/res unit, just make sure that the w/e/r unit is higher ranked, so he is automaticly set as the leader. (You can have only one Civilian and he will be W/E/R)

This is a mission.sqm, with one Civilian soldier on Desert Island

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">version=11;

class Mission

{

randomSeed=13202435;

class Intel

{

};

class Groups

{

items=4;

class Item0

{

side="CIV";

class Vehicles

{

items=1;

class Item0

{

position[]={9854.040039,26.730000,4107.040039};

id=0;

side="CIV";

vehicle="Civilian";

player="PLAYER COMMANDER";

leader=1;

skill=0.600000;

};

};

};

class Intro

{

randomSeed=10140675;

class Intel

{

};

};

class OutroWin

{

randomSeed=8583171;

class Intel

{

};

};

class OutroLoose

{

randomSeed=9010179;

class Intel

{

};

};

In order to make the civi go west, you have to change

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">side="CIV";

to

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">side="WEST";

Side names

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">West: "WEST"

East: "EAST"

Resistance: "GUER"

That should get you trough it.

Share this post


Link to post
Share on other sites

Nice JW. It looks complicated at first glimpse, but I am pretty sure it will become second nature through a couple of tries. It would be best to make a backup of the folder just incase (applies to newbies).

Share this post


Link to post
Share on other sites

It's really easy, as you said, as soon as you try a few times.

Practice makes perfect smile_o.gif

Share this post


Link to post
Share on other sites

but yeah, i have tried to put the weapons to units and it gives me errors why is that, any ways ill need the pbo addon extractor right, so that i can get the configs, ju7st making sure biggrin_o.gif

Share this post


Link to post
Share on other sites

To change the side of the civilians without editing your missions text, simply place a unit of the desired side near the civilians, set the rank of this to "Colonel". Set its probability of presence to 0% and group all the civilians with it.

To arm them with AK74 put the following into their INIT field:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

removeAllWeapons this;this addMagazine "AK74";this addWeapon "AK74"

If you want to give them more than a single ammo clip, repeat the addMagazine instruction as many times as ammo clips you want to give them.

Share this post


Link to post
Share on other sites

Jeez, I can't believe so many people don't know how to do this. Screw editing the .sqm, do what mandoble says - group them to a high-ranking unit on the side you desire, and make his probability of existance 0.

Share this post


Link to post
Share on other sites
Jeez, I can't believe so many people don't know how to do this. Screw editing the .sqm, do what mandoble says - group them to a high-ranking unit on the side you desire, and make his probability of existance 0.

Yes, Thats a much better and easier way to do it.

And I believe you can even just delete the W/E/R squad leader after running the mission once.

Share this post


Link to post
Share on other sites
It is quicker and easier, but it's less professional.  wink_o.gif

There we go. wink_o.gif

Share this post


Link to post
Share on other sites

Editing the .sqm is cleaner, you don't have to have the higher ranking unit with prob. presence 0, and it's actually more proper to do it that way because if you think about it the prob. presence 0 trick is doing the same thing only through a more crude manner. Only disadvantage is you can't edit the unit in the mission editor, but if you have the skills to "hack" the .sqm then you can fix everything in there anyways.

Share this post


Link to post
Share on other sites
It is quicker and easier, but it's less professional.  wink_o.gif

huh.gif  huh.gif  huh.gif Professionals? Who ,,, where???

Yeah, 'professionals' like to be smart asses, and to complicate alot; to things looks more 'professional'.

Btw, it's a mission editing related question ...

Share this post


Link to post
Share on other sites
It is quicker and easier, but it's less professional.  wink_o.gif

huh.gif  huh.gif  huh.gif Professionals? Who ,,, where???

Yeah, 'professionals' like to be smart asses, and to complicate alot; to things looks more 'professional'.

Btw, it's a mission editing related question ...

It's actually less complicated to hack the .sqm, as we call it. In fact the whole idea of doing something professionally is making it LESS complex, cleaning it up, making it less crude. wink_o.gif

For example, when I clean up other peoples' scripts (remove unnecessary garbage and trim it down), that's adding a professional touch.

Share this post


Link to post
Share on other sites

Agree with you KyleSarnik, but also I can't ignore the fact, that (with your very first words) you're also in contradiction with your own quote from my poster. wink_o.gif

Share this post


Link to post
Share on other sites
Agree with you KyleSarnik, but also I can't ignore the fact, that (with your very first words) you're also in contradiction with your own quote from my poster. wink_o.gif

No he doesn't... rock.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]

It is quicker and easier...

Quote[/b] ]

It's actually less complicated...

Share this post


Link to post
Share on other sites
Quote[/b] ]

It is quicker and easier...

Quote[/b] ]

It's actually less complicated...

Complicated=Hard

Less complicated=Less hard/easier

easier=easier

Not rocket science...

Share this post


Link to post
Share on other sites

True, no rocked science, but I can't help you, if you can't see the discrepancy, and in how different contects are those quotes putted, and how opose to each other.

But don't worry kiddo, you have the time.

Share this post


Link to post
Share on other sites
Quote[/b] ]

It is quicker and easier...

Quote[/b] ]

It's actually less complicated...

Cited from www.dictionary.com

complicate: To make or become complex or perplexing

complex: Consisting of interconnected or interwoven parts/Composed of two or more units

easy: Requiring or exhibiting little effort or endeavor

wink_o.gif Learn your english mates.

Share this post


Link to post
Share on other sites

Yea, my english sucks (thou it's not of your concern), but here you're now grabbing for a straw, mate.

The fact is, that the meaning of both those quotes (or how I understand them in english) is the same, but they're putted in a different contexts:

- quicker and easier (less complicated or less complex? ) = less professional

- less complicated or less complex (quicker and easier? ) = more professional

How's my english now? tounge2.gif

I rest my case ...

Share this post


Link to post
Share on other sites
How's my english now? tounge2.gif
Quote[/b] ]putted

Still pretty bad. wink_o.gif

But dictionaries don't lie, and regardless of context I support the meaning of "complicated" with the word complex in the next setence.

Even so, making something complicated means making it more complex, which means it's composed of more parts. It is quicker and easier to place a unit in the editor, group it to another unit and set it's probability of presence to 0. However in the process you're adding more bulk to the map and it gets harder to deal with when you have a lot of units. So hacking the .sqm eliminates that bulk and makes it more streamlined and, because there are LESS components, less complicated.

If you're trying to argue with me about my native language (especially me since I am exceptionally good with words) when you can't even use proper grammer, there's no way you can possibly be correct. confused_o.gif

Share this post


Link to post
Share on other sites

to hell with your english! tounge2.gif

Just a small question: When you're "hacking" the mission .sqm (hacking? I take mission sqm's to school and work on them there ffs! tounge2.gif ) , next time, the computer will be looking for a civillian under the east side, wich obviously idn't there... so wont that either 1: remove the unit icon , 2: crash to desktop , 3: default to a easter soldier, or a civillian civil? huh.gif

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  

×