• 4 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Bunker Plugin 1.3
#1
Bunker Plugin For MW3


Refer.txt has the sample code of plugins created for saving.Don't delete it and if you don't understand it don't edit it

SV_Config.ini
Code:
[BUNKER]
Save=true
//true saves the bunker false doesn't

Features:
  • Easily create walls,doors,floors and ramps
  • Get co-ordinates and code
  • Save bunkers in form of plugin with mapname


Commands:
  • !door-Create door
  • !wall-Create wall
  • !floor-Create floor
  • !ramp-Create ramp
  • !noclip-Enable noclip
  • !nclip-Disable noclip
  • !fwall-Resest wall vector
  • !fdoor-Reset door vector
  • !ffloor-Reset floor vector
  • !framp-Reset ramp vector

How to use:
  1. Start a map
  2. Goto a place
  3. Type !wall
  4. Goto a higher place
  5. Type !wall again

After doing the above the code to make that wall would be printed on mapchange
Requires MapEdit!Included
Doesn't work with older MapEdit(1.2 required)

Credits:
@archit
@99IRock

Updates:
1.0:Initial release
1.2:Fixed a bug where '.' was displayed as ',' due to unknown reasons by removing decimals
1.3:The bunkers save now(may need restart of server)


Attached Files
.rar   Bunker.rar (Size: 2.83 KB / Downloads: 239)
.rar   Bunker with MapEdit.rar (Size: 31.74 KB / Downloads: 344)
.rar   Bunker 1.2.rar (Size: 2.86 KB / Downloads: 187)
.rar   Bunker 1.3 with MapEdit.rar (Size: 31.63 KB / Downloads: 902)
  Reply
#2
Doesn't work
  Reply
#3
thanks, even though up to now it only says new wall vector and nothing happens?
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

  Reply
#4
It should work I had tested it

You need MapEdit in plugins folder
  Reply
#5
(01-31-2013, 11:51)archit Wrote: It should work I had tested it

You need MapEdit in plugins folder

well i can't get it to work, just get a message, new vector etc etc
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

  Reply
#6
IT WORKS remember you must put the mapedit1.dll file also in plugins
  Reply
#7
It may not work?_? YOU MAD?
This plugin is tha best !!!!
(I tested it already, sooooooo cool)
Made 3 bunkers, in 30 mins, amazing.
Just omne problemo

I get the error if I paste code with that I have too much ","
123,123f, 321,3214f, 345,32122f
It should be
123f,321f,345f

you understand it ?
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
  Reply
#8
Should not happen see this
CSHARP Code
  1. "CreateWall(" + GetString(wall.Vec1) + "," + GetString(wall.vec2) + ");"
  2. static string GetString(Vector vec1)
  3. {
  4. return "new Vector(" + vec1.X + "f," + vec1.Y + "f," + vec1.Z + "f)";
  5. }
  Reply
#9
(01-31-2013, 14:34)archit Wrote: Should not happen see this
CSHARP Code
  1. "CreateWall(" + GetString(wall.Vec1) + "," + GetString(wall.vec2) + ");"
  2. static string GetString(Vector vec1)
  3. {
  4. return "new Vector(" + vec1.X + "f," + vec1.Y + "f," + vec1.Z + "f)";
  5. }

This code could fix it although it's working fine for me with your code.
Code:
String pos = "new Vector("+ vec1.X + "f/" + vec1.Y + "f/" + vec1.Z + "f";
                pos = pos.Replace(",", ".");
                pos = pos.Replace("/", ",");

also a sv_config option for the entity would be nice
example:
ramp=com_plasticcase_friendly
floor=com_plasticcase_trap_friendly etc.

very nice release though
  Reply
#10
(01-31-2013, 11:14)hillbilly Wrote: thanks, even though up to now it only says new wall vector and nothing happens?

i have the same problem it tells m new wall vector and nothing spawns and everyone gets the editing tool i did get some stuff to spawn after typing it over and over i had 2 others on the server with me and after typing !ramp 2 time everyone got stuck and couldn't move. Does this only work with the newest addon.dll cause i use v1.3 not the newest one
[Image: b_560_95_1.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Bunker Z00mby aground [HARD] Tony. 5 4,076 12-09-2013, 23:24
Last Post: surtek
Wink Plugin with !ban !kick and !tampban clemi555 3 3,884 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,337 11-08-2013, 19:13
Last Post: clemi555
  Help Modifying plugin maverigh 5 5,245 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 4,604 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 57,434 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 17,341 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,524 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 30,298 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 2,839 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread: 2 Guest(s)