If you want your constructor to be able to build anything off the bat, you you may normally go into the ODFs of all the buildings and comment out the lines that have to do with BuildRequire (ie: armory needs ibfact, etc). Another way to do it is to edit your constructor's ODF so that it 'provides' all the things that other buildings might 'require'. Ie: somewhere under [GameObjectClass] you would add something like:
Code: Select all
provideCount = 4
provideName1 = "ibpgen" // power generator
provideName2 = "ibfact" // factory
provideName3 = "ibcbun" // relay bunker
provideName4 = "ibtcen" // tech center
// ...etc
This way, if you want to build a guntower, it would normally require a relay bunker (ibcbun), but since the constructor already 'provides' ibcbun, the game would think that a relay bunker already exists, so you will therefore be able to build a GT.
2) Just edit the Armory's ODF, add the ODF name of the weapon's powerup box you want to add. If your custom weapon doesnt have a powerup box, you will need to create one. The powerup boxes are sometimes called 'ap' files because they are prefixed by 'ap' to show that its a powerup box (ie: apchain.odf for chaingun powerup box), which then points to the 'g' file which is usually the weapon's base ODF that defines what kind of weapon it is, and what type of ordnance (ie: bullet/rocket/beam) it fires, etc.
All you should have to do is point to the weapon's ap file. If the ap file has a label than the armory will use that. A good example to find some of the existing ap files is to open patch13.pak in Pak Explorer and go into /addon/objects/EditedByRedDevil/ . The ap files for nearly every existing weapon is there. You extract one, rename it to something else, and then edit it so that it points at an existing g file you are using for a weapon. And then you have a powerup box that can be dropped from your custom armoury.
3) Higher values = more damage to different armor types. A value of 0 means 'no damage'. N-type armor is what scouts and missile scouts use, L type armor is what turrets and tanks use, and H type armor is what buildings, and 'heavy' units tend to use. S is damage vs Stasis shields, D is deflection shields, and A is absorbtion shields.
Unfortunately there are no websites that I know of for newbies. Do try to learn around on your own. You should be able to learn a lot of things just by looking at existing ODFs and doing a little bit of trial and error in the editor.