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
This is one of the first google hits, but thought I'd post it here.
FSM Info (http://ai-depot.com/FiniteStateMachines/)
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};
}
};
[/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'mon guyz, fall back into formation..." Your formation gonna crash like this world....
I'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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.