/*rn DOD PARATROOPERrn Created by the 29th Infantry Divisionrn [url]www.29th.org[/url]rn [url]www.dodrealism.branzone.com[/url] -- Revolutionizing Day of Defeat Realismrn rn DESCRIPTIONrn This plugin allows a designated team to parachute down to the groundrn as they spawn in a random location on the map. The new spawn locationsrn are determined in an .ini file for each map this is used on. You canrn set which team are the paratroopers and how fast they fall.rn rn This plugin has been modified from my realism version which allows setrn sectors each containing several spawn points that rotates sectors - rn used for realism rather than public play.rn rn CREDITSrn nightscream (borrowed code & model from parachute plugin)rn =|[76AD]|= TatsuSaisei (reskinned model for WWII authenticity)rn rn Code has been commented in case you need to make changes.rn*/
rn
rn
/*rn CVARSrn dod_paratrooper 0 - Enables or disables paratrooper modern dod_paratrooper_team 1 - Designates which team are paratroopers (Allies: 1 - Axis: 2)rn dod_paratrooper_gravity 0.09 - Sets falling gravity (Regular gravity is 1.0)rn rn CLIENT COMMANDSrn getorigin - Prints current user origin to console (for development)rn*/
rn
rn
/*rn DEVELOPMENTrn Each map you'd like to have paratroopers enabled on must have its ownrn .ini file, named whatever the map name is with _para.ini at the end.rn For instance, dod_forest_para.ini for the map dod_forestrn rn The ini file should contain several lines of coordinates for the map.rn The development is actually extremely easy and takes about 3 minutesrn for each map. Simply bind a key to the console command "getorigin" andrn walk around the map finding spawn points. I reccomend about 16 pointsrn because day of defeat picks the point from top to bottom and doesn't rn use that many.rn rn Once you have selected all the points and pressed the getorigin bind forrn each one, copy and paste what was printed in your console to a text file.rn It should be about 16 lines of tri-coordinates (origins). These are your rn spawn points. Note, steam's "copy" function sometimes cuts off the lastrn few characters so make sure to check.rn rn To find the "sky" in your map, set sv_gravity to 0 and jump to the highestrn point on the map. Hit the getorigin bind and look at the third number in rn your console. Roam around the map and make sure the sky is equal in all rn areas. Some maps have them different, so make sure you choose the lowestrn one to be safe. Subtract about 5 from the lowest sky value to be safe andrn make the top line in your .ini file display it. For example if it were 417rn it would read: rn sky 417rn at the top of your ini file (on its own line). This means all of the spawnrn points you find do not have to be in the sky. This also means that you canrn theoretically use this plugin without parachuting - just to modify spawns.rn rn If this confuses you, look at the example .ini file that comes with this rn plugin for dod_forestrn*/
rn
rnAttached inside zip file:
rnparachute_khaki.mdl - The parachute model
rndod_paratrooper.amxx - The compiled plugin
rndod_forest_para.ini - An example ini file for dod_forest
rn
rnOptional:
rndod_paratrooper.sma - The source code

