Jump to content
Sign in to follow this  
damonlake1979

How create new formation

Recommended Posts

I want create new formation, but dontknow how? Anybody knows some addon for that or what i must do...?huh.gif

Share this post


Link to post
Share on other sites

search for "FSM" wink_o.gif Find Flea's FSM tool. Then google "FSM" to understand fsm logic and make your own

if i understand you correctly of course

Share this post


Link to post
Share on other sites

This is one of the first google hits, but thought I'd post it here.

FSM Info

Share this post


Link to post
Share on other sites

You make a new formation by using a cfgGroups within a .config.cpp

You could make this by compiling a new pbo with the cpp inside, pretty easy

Clip from commented config from OFP

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

class CfgGroups

{

//access = ReadAndCreate;

// groups templates used in Insert group dialog

/*!

\patch 1.52 Date 4/19/2002 by Viktor

- Fixed: Bad position of last soldier when inserting group

*/

class West

{

name = $STR_WEST;

class Armored

{

name = $STR_CFG_GRP_ARMORED;

class M1Platoon

{

name = $STR_CFG_GRP_M1PLATOON;

class Unit0

{

side = TWest;

vehicle = "M1Abrams";

rank = "CAPTAIN";

position[] = {0, +5, 0};

}

class Unit1

{

side = TWest;

vehicle = "M1Abrams";

rank = "Lieutnant";

position[] = {-20, 0, 0};

}

class Unit2

{

side = TWest;

vehicle = "M1Abrams";

rank = "Lieutnant";

position[] = {20, 0, 0};

}

class Unit3

{

side = TWest;

vehicle = "M1Abrams";

rank = "Corporal";

position[] = {40, 0, 0};

}

};

Am i wrong? You are actually trying to make a new formations like line,V etc...?

Share this post


Link to post
Share on other sites
You make a new formation by using a cfgGroups within a .config.cpp

You could make this by compiling a new pbo with the cpp inside, pretty easy

banghead.gif Shit, i was right....nobody knows the answer....

in this example u use POSITION. And what happend if leader of your Formation say " C'mon guyz, fall back into formation..." Your formation gonna crash like this world....

I'm really talking about editing existing formations..... banghead.gifbanghead.gifbanghead.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  

×