09-23-2012, 20:35
This is a plugin to spawn a highly customizable MysterBox!
This Plugin features:
What can you costumize?
KNOWN BUGS:
Feature Improvements:
"Little Tutorial":
Weaponsnames you can use:
sv_config.ini EXAMPLE:
Feel free to thank and rep me :p
Also feel free to leave a comment and what i should improve.
CHANGELOG:
[attachment=2277]
This Plugin features:
- Every Map (including every DLC)
- Every Weapon(except Barrett .50cal ; missing the model name of it)
- Highly Customizable
What can you costumize?
- Coordinates
- Team-Specific
- Lot's of Messages
- Weapons
- MysterBox-Specific Timers
- MysterBox-Specific Datas
KNOWN BUGS:
- The Ammo in Clip get's "fucked up" (GetWeaponClipSize() does not work so i have to wait till the new ServerAddon)
- Picking up while having a Akimbo-Weapon gives you the Weapon in Akimbo but weird things happen(Just don't do that )
Feature Improvements:
- Getting the right StockAmmo
"Little Tutorial":
Spoiler (Click to View)
Sometimes too many Options can be confusing.
Soo, what you have to do:
First you write on which maps you want to use this Plugin:
Then you write which boxes it should have:
Then you can define for each Box you set a configuration:
For more variation please look at the Example.
Soo, what you have to do:
First you write on which maps you want to use this Plugin:
Quote:Maps=mp_hardhat,mp_paris
Then you write which boxes it should have:
Quote:mp_hardhat:MyHardhatBoxForAllies,MyHardhatBoxForAxis
mp_paris=SomeBoxName
Then you can define for each Box you set a configuration:
Quote:MyHardhatBoxForAllies_Coordinates=345345,2543,23542
MyHardhatBoxForAllies_Weapons=AK47,MP9,ACR
MyHardhatBoxForAllies_Teams=Allies
MyHardhatBoxForAxis_Coordinates=-34535,34532532,345345
MyHardhatBoxForAxis_Weapons=USP .45,.44 Magnum
MyHardhatBoxForAxis_Teams=Axis
SomeBoxName_Coordinates=43543543,3536534,34535436
For more variation please look at the Example.
Weaponsnames you can use:
Spoiler (Click to View)
Quote:public string[] weaponNames = { ".44 Magnum",
"USP .45",
"Desert Eagle",
"MP412",
"P99",
"Five Seven",
"FMG9",
"Skorpion",
"MP9",
"G18",
"MP5",
"PM-9",
"P90",
"PP90M1",
"UMP45",
"MP7",
"AK-47",
"M16A4",
"M4A1",
"FAD",
"ACR6.8",
"Type95",
"MK14",
"Scar-L",
"G36C",
"CM901",
"M320 GLM",
"RPG-7",
"SMAW",
"Stinger",
"Javelin",
"XM25",
"Dragunov",
"MSR",
"RSASS",
"AS50",
"L118A",
"KSG 12",
"Model 1887",
"Striker",
"AA-12",
"USAS 12",
"SPAS-12",
"M60E4",
"MK46",
"PKP PECHENEG",
"L86 LSW",
"MG36",
"Riotshield"};
sv_config.ini EXAMPLE:
Spoiler (Click to View)
Code:
[MysteryBox]
Radius=100,100,50
//When will the Player be near enough to use the MysterBox
Maps=mp_dome,mp_hardhat
//On which Maps this Plugin should be active
mp_dome=box1,box3
//box1 and box3 will be used in mp_dome
mp_hardhat=box2,MyLauncherBox,box3
//box2,MyLauncherBox and box3 will be used in mp_hardhat
box1_Coordinates=67,-347,-372
box1_Weapons=AK-47,KSG 12
box3_Coordinates=67,-347,-3725
box3_Weapons=COPY box1
box2_Coordinates=463,345,43654
box2_Weapons=ALL
box2_ScrambleAfter=100
MyLauncherBox_Coordinates=-234,453,23453
//The Coordinates of the MysterBox (NO DEFAULT VALUE)
MyLauncherBox_Weapons=RPG7,M320 GLM,SMAW,XM25
//Which Weapons should be spawned out of this Box
MyLauncherBox_Teams=Allies
// You can use Allies , Axis or ALL
MyLauncherBox_PressButton=Press F to get a Random Weapon!
//This Message will pop up if the user is in range of the MysterBox
MyLauncherBox_UserWait=Please wait till your Weapon raises
//This Message will pop up if the weapon is raising up, only visible to the player who activated the MysterBox
MyLauncherBox_OthersWait=This MysterBox is currently in use
//This Message will pop up if the weapon is raising up, only visible to the other players
MyLauncherBox_PickUp=Press F to pick up your awsome WEAPONNAME
//This Message will pop up if the weapon is up and ready to be picked up, WEAPONNAME is a Makro
MyLauncherBox_WrongTeam=You are in the wrong Team to use this
//This Message will pop up if the user is in the wrong Team to use the MysterBox
MyLauncherBox_StayTime=12000
//How long the Weapon should stay in the air, time will begin to run after the whole scramble, in Milliseconds
MyLauncherBox_RaiseTime=3500
//How long the Weapon should raise, in Milliseconds
MyLauncherBox_RaiseHeight=30
//How far the Weapon should raise, in Milliseconds
MyLauncherBox_ScrambleAfter=COPY box2
//To ScrambleAfter: Set's the next Model after the given time, in Milliseconds
//To COPY: It is a Makro which Copys the given Option from another Box. Copy can be used everywhere except _Coordinates
Feel free to thank and rep me :p
Also feel free to leave a comment and what i should improve.
CHANGELOG:
Spoiler (Click to View)
Quote:V1.0:
- Initial Release