Battles of Gondor, the War in the South ![]() Converts BfME2 RotWK to the war in the south, bettween the armys of Gondor and Mordor. 4.0 released. |
Welcome Guest ( Log In / Register ) |
![]() |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Proper Fire Arrow… Creating an asset.… Simple Structure B… Making a simple Ma… Quick and easy sno… Making patrols nea… Mods The Dwarf Holds The Peloponnesian… RJ - RotWK The Elven Alliance… Helm's Deep Last H… The Elven Alliance Special Extended E… Kings of the West… RC Mod The Wars of Arda Downloads BFME1 1.06 Widescr… Enhanced W3D Impor… Fudge's Map Pack LotR/BfME HD Logos Osgiliath Shellmap Crystals Of Ancien… 2v1 Wold The forests of Dru… Converted BFME2 an… ROTWK animations f… |
||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Register and log in to move these advertisements down Notes on Building Geometry
Notes about random geometry issues: -Buildings that are spawned will not have any geometry no matter what you do (actually I never tried using a walkable plane so I suppose that could work, but no code will turn on the geometry). The best solution I found to this is to spawn a foundation that can only build the building you want. Then make the building free and have no build time and give the foundation's CommandButton the following option: SINGLE_USE_COMMAND and put a lifetime timer on the foundation so that it will disappear after a few seconds. This is a decent work around to having buildings summonable. I use it in my Kings of the West mod if you want to see how it works (the GondorFort is a great example). And if you are asking why this matters: infantry cannot attack a building that doesn't have any geometry. Archers and Siege Equipment can, but not infantry... not a very good balance issue. The basics:
The above is what you can expect to see for just about any building's geometry. Here's what they all mean:
These next two settings are optional and most often used when you have more than one piece of geometry
These last three items only need to be listed once in the building or unit's code:
How to upgrade, activate, or deactivate Geometry:
This is from the Gondor Farm and is how the geometry is upgraded. The first behavior hides all the additional geometry pieces. Then the second two upgrades show different pieces for different levels. Fairly straight forward. Here is the rest of the Gondor Farm Geometry code so you can see what it is calling:
Finally there is also the GeometryContactPoint code, which I am not familiar with. My understanding is that it has something to do with where the units will attack the building but I could be wrong. I've never had to mess with it, I've just used the most similar pre-existing structure's code or have gotten rid of it completely. Well that's all I got. Hopefully that will help any future modders who attempt to create brand new bases with walkable and unique walls :) -GothmogtheOrc CommentsDisplay order: Newest first GothmogtheOrc (Team Chamber Member) - Tuesday July 21, 2009 - 13:26 Well I went ahead and redid the last page, should be much more helpful for the basics of geometry now. Rob38 (Team Chamber Member) - Monday July 20, 2009 - 19:39 You should probably explain the differences between GeometryMajorRadius, GeometryMinorRadius, and GeometryHeight. ;) |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||
![]() "One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |