Raised This Month: $51 Target: $400
 12% 

Dod Paratrooper


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Day of Defeat        Category:   Fun Stuff        Approver:   Xanimos (85)
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 08-18-2006 , 04:02   Dod Paratrooper
Reply With Quote #1

Quote:
/*
DOD PARATROOPER
Created by the 29th Infantry Division
www.29th.org
www.dodrealism.branzone.com -- Revolutionizing Day of Defeat Realism

DESCRIPTION
This plugin allows a designated team to parachute down to the ground
as they spawn in a random location on the map. The new spawn locations
are determined in an .ini file for each map this is used on. You can
set which team are the paratroopers and how fast they fall.

This plugin has been modified from my realism version which allows set
sectors each containing several spawn points that rotates sectors -
used for realism rather than public play.

CREDITS
nightscream (borrowed code & model from parachute plugin)
=|[76AD]|= TatsuSaisei (reskinned model for WWII authenticity)

Code has been commented in case you need to make changes.
*/
Quote:
/*
CVARS
dod_paratrooper 0 - Enables or disables paratrooper mode
dod_paratrooper_team 1 - Designates which team are paratroopers (Allies: 1 - Axis: 2)
dod_paratrooper_gravity 0.09 - Sets falling gravity (Regular gravity is 1.0)

CLIENT COMMANDS
getorigin - Prints current user origin to console (for development)
*/
Quote:
/*
DEVELOPMENT
Each map you'd like to have paratroopers enabled on must have its own
.ini file, named whatever the map name is with _para.ini at the end.
For instance, dod_forest_para.ini for the map dod_forest

The ini file should contain several lines of coordinates for the map.
The development is actually extremely easy and takes about 3 minutes
for each map. Simply bind a key to the console command "getorigin" and
walk around the map finding spawn points. I reccomend about 16 points
because day of defeat picks the point from top to bottom and doesn't
use that many.

Once you have selected all the points and pressed the getorigin bind for
each one, copy and paste what was printed in your console to a text file.
It should be about 16 lines of tri-coordinates (origins). These are your
spawn points. Note, steam's "copy" function sometimes cuts off the last
few characters so make sure to check.

To find the "sky" in your map, set sv_gravity to 0 and jump to the highest
point on the map. Hit the getorigin bind and look at the third number in
your console. Roam around the map and make sure the sky is equal in all
areas. Some maps have them different, so make sure you choose the lowest
one to be safe. Subtract about 5 from the lowest sky value to be safe and
make the top line in your .ini file display it. For example if it were 417
it would read:
sky 417
at the top of your ini file (on its own line). This means all of the spawn
points you find do not have to be in the sky. This also means that you can
theoretically use this plugin without parachuting - just to modify spawns.

If this confuses you, look at the example .ini file that comes with this
plugin for dod_forest
*/
Attached inside zip file:
parachute_khaki.mdl - The parachute model
dod_paratrooper.amxx - The compiled plugin
dod_forest_para.ini - An example ini file for dod_forest

Optional:
dod_paratrooper.sma - The source code
Attached Files
File Type: zip dod_paratrooper.zip (66.1 KB, 1673 views)
File Type: sma Get Plugin or Get Source (dod_paratrooper.sma - 2801 views - 8.0 KB)
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode