GeneralCamo Posted February 28, 2015 Report Share Posted February 28, 2015 Author: Mauler, Jonwil, Generalcamo Skill level: 4 This tutorial will show how to set up naval yards. It assumes you have properly set up boats/subs/naval transports and the various blockers per https://secure.w3dhub.com/forum/index.php?showtopic=414729#entry606272 It also assumes you have properly set up the sidebar per https://secure.w3dhub.com/forum/index.php?showtopic=414727 It doesn't cover all aspects but gives you an outline to the basics. The tutorial leaves out certain aspects of regular building creation components. It is written for experienced mappers. A few limitations: Amount of different boat types is currently limited to 6 per team. Preparation Ok, so the first thing you will want to know about is the NavalFactoryVehicleLimit keyword in the per-map tt.ini file. This works just like the AirFactoryVehicleLimit and VehicleFactoryVehicleLimit and sets the number of naval vehicles that can be built at once. You need to create an ini file. If your map is named C&C_MyMap, the ini file should be named C&C_MyMap_tt.ini. Alternatively, if you are creating a standalone mod, the ini file should only be named tt.ini. [General] NavalFactoryVehicleLimit=8 Create the naval unit presets1. Creating a naval yard structure is exactly the same process as a regular structure, Proceed to load up a map level in LE containing a naval yard. 2. Create naval unit preset, and once completed goto>settings and select type as "Boat". 3. Add TT's custom collision script to naval unit, Depending on collision type as per graph shown here, this instance requires collision group 20. So using 4.0 scripts and beyond you want to use "SH_CustomCollisionGroup" Create the spawn zones 4. Now that our preset boat is done, let's complete the naval yard components. We will need a controller and a spawn zone. Let's start with the spawn zone for the naval unit. Under the Object>Script Zone tab create a preset for our spawn location. 5. While still editing the spawn preset goto>Settings and make sure zone type is selected to "Naval Spawn" and that your naval unit preset is placed into the "Purchase Preset". (Create one script zone preset for each naval unit type you have.) Next up, place these zones in your level near your naval buildings. The center point of the zone is the center point where the naval vehicle will spawn so if the vehicle is a sub, this needs to be below the water surface, if its a surface ship it needs to be above the water surface. The size of the zone should match the size of the vehicle it spawns. If there is something in the zone it will not spawn the vehicle, and the player will be refunded. Create the Naval Yard controller 6. Next is our controller for the naval yard. Create a new preset under Buildings>Naval Factory for your new controller. 7. Once completed click on the "mod" button and goto the presets settings. Make sure the "Building type" is Naval Factory and set the timer to 7.00 (default renegade build time). The timer value controls the amount of time before the naval vehicle spawns (i.e. it's a construction delay so naval vehicles don't spawn instantly). The Construction Zone settings need to be set to the zone presets you created above (the ones for each unit type). If you have less than 6 boat types for your naval factory, leave the extra ones blank. Add the naval units to the purchase list 8. Now all that left is the actual purchase options! Create a new preset under "Global Settings>Purchase Settings" and add your naval vehicles' purchase settings.. set your parameters normally, making sure that the "Factory Building Type" is set to "Naval Factory". 9. Done! Now get ingame and test that baby out! This is my example level without water 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.