SolidSnake-(SNK) 0 Posted November 15, 2003 Hi On the HMS hermes addon they have set up the parts so you can select it under groups and get the whole ship. How is this done, i want my castle walls to come in a group with 5 walls nicely places in a line. PLZ let me know ho this is done. SolidSnake-(SNK) Share this post Link to post Share on other sites
Milkman 1 Posted November 18, 2003 In the config.cpp you must put a class groups. Example: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgGroups { class East { name="East"; class Armored { // type name="Armoured"; class MammothArmored { // name of group name="Mammoth Tank Platoon"; class Unit0 { // this name does nothing name="tank1"; side=0; vehicle="MammothTank"; rank="CAPTAIN"; position[]={0,5,0}; }; class Unit1 { name="tank2"; side=0; vehicle="MammothTank"; rank="CAPTAIN"; position[]={-20,0,0}; }; class Unit3 { name="tank3"; side=0; vehicle="MammothTank"; rank="CAPTAIN"; position[]={40,0,0}; }; }; I hope that helps Share this post Link to post Share on other sites
SolidSnake-(SNK) 0 Posted November 18, 2003 Yes this helps, but what are the directions on these numbers? position[]={0,5,0}; Also could you thel me how to get a picture on the bottom of my posts as you have. Also anyone that wants to help me with a dust script for by collapsing castle walls??? Share this post Link to post Share on other sites
Milkman 1 Posted November 19, 2003 Yes this helps, but what are the directions on these numbers? position[]={0,5,0};Also could you thel me how to get a picture on the bottom of my posts as you have. Also anyone that wants to help me with a dust script for by collapsing castle walls??? Those are the X, Y, and Z coordinates. X and Y will tell you how far apart the unit is from the lead unit (I think). I don't think you should mess with the Z coordinated, that would make it fly or sink under surface so leave it at 0. The image I have here is shown with the Share this post Link to post Share on other sites
SelectThis 0 Posted November 20, 2003 The groups entries just determines how the units are placed in the editor. When you start the game, they will revert to their "formation" distances .. try looking at the formation entries in the cpp. SelectThis Share this post Link to post Share on other sites