Search the Community
Showing results for tags 'buildings'.
Found 3 results
85 downloadsThis is a pack of 3 seperate 3ds Max 8 files for the Standard Renegade buildings. (Air/weps, power plant, refs, bar/hon, and obby/agt) One is the standard buildings with ground meshes attached One is the standard buildings with flying ramps and ground meshes attached The last one is just the flying ramps and vehicle blockers so you can add them to your pre-existing maps
RenX (Gmax) Buildings By Greg Hjelstrom - Westowood Lead Developer Buildings in Renegade are a collection of terrain meshes and static animated objects that are set up as “Building Aggregates” in the level editor. A logical building controller is created and placed in 3d space in the level editor. This controller collects all meshes near the building controller that have a matching prefix in their name. Building Controller Building controllers are defined and instantiated in the level editor. They can be found in the Presets tree under the top-level “Buildings” folder. The building controller defines the game-logic attributes of the building such as health and shield type. A key setting in the building controller is the MeshPrefix string. All meshes in the vicinity of the building controller whose names contain a prefix that matches this prefix will be tracked by the building controller for damage purposes. All “BuildingAggregates” in the vicinity whose names match this prefix will be animated according to the damage state of the building. Exterior Meshes Meshes that are part of the exterior of a building should be named like this: ^ For example, an exterior mesh for the gdi weapon factory might be named “mgwep^011”. The ‘^’ symbol indicates that it is an exterior mesh. Interior Meshes Meshes that are part of the interior of a building should be named like this: # The ‘#’ symbol is used to indicate that the mesh is part of the interior. Remember that all w3d mesh names must be less than 16 characters long. When a bullet hits either an interior or exterior mesh of the building, damage will be applied to the logical building controller. Building Aggregates A building aggregate is a special type of animated static object (tile) that plays different segments of its animation depending on the damage state of the building controlling it. These are set up in the “Tiles” sub folder of the “Presets” tree in the level editor. The model and preset for a building aggregate should contain the mesh prefix that the building controller expects. To make a tile which is a building aggregate, you create a tile and select “BuildingAggregate” as its physics model type. There are many settings in the building aggregate that can be used to do things that the shipping version of Renegade does not currently do. For example, you can create truly destructable buildings by simply making a huge destruction animation and setting it up as a building aggregate. Have Fun!
RenX / Leveledit Make your own Building: a Step by Step to create a full functional building like the Westwood ones. Important!! Read this tutorial carefully. If something didn`t work as you have expected it, check the coresponding part of the tutorial if you have not miss a thing. First of all, of course you need you building. I used for this tutorial is the Atreides Weapon factory for the Battle for Dune Mod It is important that you move your whole building to the center of RenX. You also should already have setup all collision settings. Now select all the meshes that are part of the EXTERIOR. This should be all parts of the exterior of the bulding, excluding any emitters, animations or doors. Then goto the W3D-Tools --> Assign Node Names: In the following dialog uncheck/check the Options you see on the screen below, enter at the Root Name: entry a short name, e.g. atrwep (atreides weponfactory) followed by a ^. You should write this down. because youll need that later, I`ll refer to this name as the Meshprefix later. The Meshprefix should NOT exceed 6 characters. Congratulation you have now created a buildings exterior. Now goto Group --> Group and enter a name (e.g. wep_ext) Now hide your ExteriorGroup and unhide all parts of the interior, again excluding any emitters, animations or doors. Again select all meshes and open the same dialog as for the interior. Enter the Meshprefix followed by a #. Again Group this and name it for example wep_int: Now we will add the doors, emitters as well as animate them for the later use. If you have already done this, you can just skip this part. For the doors I`ll use the standard Rengade MP ones, but of course you can make your own ones. As you can see, I have unhidden the Ext/Int-Group to better align things. For the doors you need the name of the preset of the door, the standard Rengade doors name is `mpdr_0` create a box 1x1x1 at the topview, and place it at the location where the door should be placed, name the box : mpdr_0~ (or the name your door-preset has in Leveledit + a ~ ) add a 00 after the ~ for the first, a 01 for the second and so on. When you have placed all doors, group the doors e.g. as wep_doors. When you are done with the doors, you need some damage emitters. You can make your own with W3D-Editor or use Renegade ones, extract them with XCC_Mixer you can identify them by the leading e_ (e.g.e_19fire1.w3d). For all Emitters you should extract (or download) the e_master01.tga so you can see the emitter effects: Now create three boxes (1x1x1) named: emitter0, emitter25, emitter50, emitter75. I will refer to this as the `DamageBox`. After that, create 1x1x1 boxes named like the emitter file (without the w3d) that should be displayed later, in this case e_fire1. I will refer to this as `EmitterBox`. IMPORTANT: Never just rename the emitter file!! You must edit the name in w3d-Viewer and re-export it or the file will not be loaded or even crash Renegade!!! Now link the EmitterBox to the DamageBox emitter75 if this emitter should be showed up at the state for when the building is 25% damaged, emitter50 for half damged, emitter25 when the bulding is damaged by 75% and emitter0 when the building is detroyed. For this use the Link tool and klick and drag from your EmitterBox to your DamageBox (The damage box will flash for about 2 sek when this is done succesfull. Then place all around your building emitters or objects that should be displayed at the different states and link them to the coresponding DamageBox. I recommend to save your work now if you have not done this before!! Now we must make an animation, so Renegade later know what parts must be showed at the damage states. For that you should reopen RenX, because the `Trackview` that we will need often conflicts with the RenegadeMaterialEditor for Gmax, restarting RenX solves the problem. Open now the `Trackview`: On the Trackview browse to Objects --> emitter75: Add a visibility track by clicking the eye icon that will add a new option to your Object: Click on the new option and add via the at frame 1, 2 and 3 a new key. Rightklick the first key and change the value to 0 (invisible) Now change this also for key2. The trird key must not be changed and should stay at value 1 (visible) Repeat this process for all other DamageBoxes, but switch the keys to the following: When you have done this, group all DamgeBoxed and the EmitterBoxes e.G wep_emitter emitter50 frame 1,4,5 emitter25 frame 1,6,7 emitter0 frame 1,8,9 Now we will prepare the PT and the MCT (This is optional) Your PT`s and MCT can have also animations like the damage emitters. For the PT`s you might want to add animations for a powerless building like westwood does. for thsi jsut create four more emitter boxes( emitter0p, emitter25p and so on) and count up the last frame by one for each state liek you have seen in Section 6. Select all MCT Meshes and use the naming tool that is described in Section 2, and use as a basename the meshprefix#mct (e.g. atrwep#mct). repeat this for the PT`s also but use meshprefix#pt here (e.g. atrwep#pt) Group all your PT`s and the MCT to a seperate group, e.g. wep_pct and wep_mct Exporting time. Now you must export all parts for the use in Leveledit. Export: * the Interior Group as mesprefix_int (Renegade Terrain) * the Doors Group as meshprefix_doors (Renegade Terrain) * the Damage and Emitter as meshprefix_dam (Hirachy Animated Model) * The MCT Group as meshprefix_mct (Hirachy Animated Model) * The PT Group as meshprefix_pt (Hirachy Animated Model) In my example I`ll get 5 files: atrwep_int.w3d, atrwep_doors.w3d, atrwep_dam.w3d, atrwep_mct.w3d, atrwep_pt.w3d Copy all these files into Your modfolder if you have not done this already, a seperate folder e. g. buildingparts would be a nice idea. Setup your exterior mesh for use in Maps. You might wonder what will happen to the exterior mesh. We must jsut setup some very simple parts to finish this: create a box from the TOPVIEW (1x1x1) in the EXACT center of Gmax/Renx. Name this box meshprefix_int~, then clone the box (or create a new one) and name it meshprefix_doors~ and so on for all w3d`s you have exportet in part 8. then select all these boxes and activate the [x] Hide and [x]Aggregate w3d option. After that select your ExteriorMesh and these Boxes and group them to for example AtreidesWeponfactory and save your work. You can now Merge this Group into your map(s) like the orginal westwood buildings. Setup everything in Leveledit. Now start the Leveleditor and Load your Modpackage. Goto Terrain-->Add and enter a name, e.g. mybuildings Select this new group and press again add. Enter as name meshprefix_doors (e.g. atrwep_doors) and under the settings tab under m_Modelname select your _doors w3d file. Repeat this part also for the mesprefix_int w3d file, you`ll then has 2 new entry`s: Now change to the Tiles Tab and again press add create a new entry named: mybuildingtiles under the Physics Type select BuildingAggregate. Select this new group and once again press add, enter as name: meshprefix_dam, under the Physics Model be sure that the type is Building Aggregate, change the Model Name to your coresponding w3d file, the AnimationMode to Manual Scroll down to the Building Behavior Settings and change the AnimLogicMode to ANIM_LOGIC_SEQUENCE. The Buidling state for 75% to 1, 1 as showed below, for 50% 2,2 for 25% 3,3 for detroyed 4,4. Repeat this also for the State: Power OFF. After that press OK, again use the add, now enter as name: meshprefix_mct (e.g atrwep_mct), select the needed w3d, setup everything like before, but check the checkbox labled [x] IsMCT. If your MCT also has animation sequences, you must set them up coresponding to your animation as described above. Again add another tile, name it meshprefix_pt, set it up as explained for the MCT, but let the [ ] IsMCT uncheked. Now you have three new entrys in your mybuldingstiles group: Congratulations!!! You are finished now. Add your Building Group you have created in part 9 to your map via the MERGE command in RenX/Gmax, export it as Renegade Terrain and enjoy your bulding. One Last Step: To make your building work ingame you have to Clone wia the ADD button one of the Buildingcontrollers, for example mine is a Weponsfactory, so I clone the GDI_Weponsfactory: You can name it whatever you want.... but you must fill in the MESHPREFIX into the coresponding field: Of course you can edit other settings like health in this dialog too,play around abit with these settings Have Fun by detroy all your hard work ingame