PDA

View Full Version : How create new formation



damonlake1979
Jun 2 2007, 08:43
I want create new formation, but dontknow how? Anybody knows some addon for that or what i must do...?http://forums.bistudio.com/oldsmileys/huh.gif

dutchkillar
Jun 3 2007, 13:16
good question

damonlake1979
Jun 3 2007, 13:30
but I think nobody knows the ANSWER .....

RN Malboeuf
Jun 3 2007, 17:36
search for "FSM" http://forums.bistudio.com/oldsmileys/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

Ebud
Jun 4 2007, 12:35
This is one of the first google hits, but thought I'd post it here.

FSM Info (http://ai-depot.com/FiniteStateMachines/)

BraTTy
Jun 9 2007, 02:57
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

/*&#33;
&#92;patch 1.52 Date 4/19/2002 by Viktor
- Fixed&#58; Bad position of last soldier when inserting group
*/

class West
{
name = &#036;STR_WEST;
class Armored
{
name = &#036;STR_CFG_GRP_ARMORED;

class M1Platoon
{
name = &#036;STR_CFG_GRP_M1PLATOON;
class Unit0
{
side = TWest;
vehicle = &#34;M1Abrams&#34;;
rank = &#34;CAPTAIN&#34;;
position&#91;&#93; = {0, +5, 0};
}
class Unit1
{
side = TWest;
vehicle = &#34;M1Abrams&#34;;
rank = &#34;Lieutnant&#34;;
position&#91;&#93; = {-20, 0, 0};
}
class Unit2
{
side = TWest;
vehicle = &#34;M1Abrams&#34;;
rank = &#34;Lieutnant&#34;;
position&#91;&#93; = {20, 0, 0};
}
class Unit3
{
side = TWest;
vehicle = &#34;M1Abrams&#34;;
rank = &#34;Corporal&#34;;
position&#91;&#93; = {40, 0, 0};
}
};
[/QUOTE]

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

damonlake1979
Jun 13 2007, 17:36
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
http://forums.bistudio.com/oldsmileys/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&#39;mon guyz, fall back into formation..." Your formation gonna crash like this world....

I&#39;m really talking about editing existing formations..... http://forums.bistudio.com/oldsmileys/banghead.gif http://forums.bistudio.com/oldsmileys/banghead.gif http://forums.bistudio.com/oldsmileys/banghead.gif