Posts: 284
Threads: 21
Joined: Jun 2012
Reputation:
13
09-23-2012, 20:35
(This post was last modified: 09-24-2012, 14:14 by Ich1994.)
This is a plugin to spawn a highly customizable MysterBox!
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":
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:
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:
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:
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:
MysterBox.rar (Size: 7.78 KB / Downloads: 227)
Posts: 338
Threads: 19
Joined: Jan 2012
Reputation:
32
very nice release Ich. nice. Epic! +1
Posts: 284
Threads: 21
Joined: Jun 2012
Reputation:
13
(09-23-2012, 20:45)OzonE Wrote: very nice release Ich. nice. Epic! +1
thanks, but its useless since GetWeaponClipSize() is not working :/
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
09-23-2012, 22:58
(This post was last modified: 09-23-2012, 23:58 by hillbilly.)
example how to set allies and axis? Also didn't see any messages
Posts: 284
Threads: 21
Joined: Jun 2012
Reputation:
13
(09-23-2012, 22:58)hillbilly Wrote: example how to set allies and axis? Also didn't see any messages
Ummm.. you saw the Spoiler?
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
(09-24-2012, 00:19)Ich1994 Wrote: (09-23-2012, 22:58)hillbilly Wrote: example how to set allies and axis? Also didn't see any messages
Ummm.. you saw the Spoiler?
rechecked with only serveradmin, speed and Mysterybox.
issues found...
No messages at all when you approach the box in dome, also infected and survivors can use box in dome, i couldn't for the life of me find any boxes in hardhat.
As the co-ordinates seem set for dome and hardhat, how do you set positions for the boxes for other maps?
Posts: 3,535
Threads: 420
Joined: Dec 2010
Reputation:
106
video video video
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
Good job
Also it spells "custom"
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 284
Threads: 21
Joined: Jun 2012
Reputation:
13
09-24-2012, 12:45
(This post was last modified: 09-24-2012, 13:17 by Ich1994.)
(09-24-2012, 01:03)hillbilly Wrote: (09-24-2012, 00:19)Ich1994 Wrote: (09-23-2012, 22:58)hillbilly Wrote: example how to set allies and axis? Also didn't see any messages
Ummm.. you saw the Spoiler?
rechecked with only serveradmin, speed and Mysterybox.
issues found...
No messages at all when you approach the box in dome, also infected and survivors can use box in dome, i couldn't for the life of me find any boxes in hardhat.
As the co-ordinates seem set for dome and hardhat, how do you set positions for the boxes for other maps?
Umm, there is a reason why i wrote EXAMPLE I only know that the box called "box1" have good coordinates. The other coordinates are just random numbers.
if you want another map, just add it into maps=
and add boxes like i did in the example.
(09-24-2012, 08:50)Yamato Wrote: video video video
Me playing MW3, with lowest details possible and only running MW3, with ~20 FPS
Posts: 836
Threads: 48
Joined: Feb 2012
Reputation:
11
ok but there still is the issue of allies and axis in infected being able to use the box in dome?
|