DIR Return Create A Forum - Home
---------------------------------------------------------
Haxball Club Divisionals
HTML https://hcd.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: General Discussion
*****************************************************
#Post#: 2959--------------------------------------------------
*NEW* Modified Map
DIR By: LimitedWard
Date: January 19, 2013, 5:19 pm
---------------------------------------------------------
Hey guys, I made a modified version of the HCD standard map
(Big). It has all the same features as a normal "Big" map,
except I added some text in the middle. I didn't want to cause
any unnecessary lag by adding vast amounts of text, so I only
added "HCD" for now. If you guys like it, feel free to make it
an official map for the league.
Here's an screenshot of the center of the field:
HTML http://i.imgur.com/IEZwiA8.png
To get this map, create a new .hbs file using a text editor and
the following code:
--- Code ---
{
"name" : "Haxball Club Divisionals Big",
"width" : 600,
"height" : 270,
"spawnDistance" : 350,
"bg" : { "type" : "grass", "width" : 550, "height" : 240,
"kickOffRadius" : 80, "cornerRadius" : 0 },
"vertexes" : [
/* 0 */ { "x" : -550, "y" : 240, "trait" : "ballArea" },
/* 1 */ { "x" : -550, "y" : 80, "trait" : "ballArea" },
/* 2 */ { "x" : -550, "y" : -80, "trait" : "ballArea" },
/* 3 */ { "x" : -550, "y" : -240, "trait" : "ballArea" },
/* 4 */ { "x" : 550, "y" : 240, "trait" : "ballArea" },
/* 5 */ { "x" : 550, "y" : 80, "trait" : "ballArea" },
/* 6 */ { "x" : 550, "y" : -80, "trait" : "ballArea" },
/* 7 */ { "x" : 550, "y" : -240, "trait" : "ballArea" },
/* 8 */ { "x" : 0, "y" : 270, "trait" : "kickOffBarrier" },
/* 9 */ { "x" : 0, "y" : 80, "trait" : "kickOffBarrier" },
/* 10 */ { "x" : 0, "y" : -80, "trait" : "kickOffBarrier" },
/* 11 */ { "x" : 0, "y" : -270, "trait" : "kickOffBarrier"
},
/* 12 */ { "x" : -560, "y" : -80, "trait" : "goalNet" },
/* 13 */ { "x" : -580, "y" : -60, "trait" : "goalNet" },
/* 14 */ { "x" : -580, "y" : 60, "trait" : "goalNet" },
/* 15 */ { "x" : -560, "y" : 80, "trait" : "goalNet" },
/* 16 */ { "x" : 560, "y" : -80, "trait" : "goalNet" },
/* 17 */ { "x" : 580, "y" : -60, "trait" : "goalNet" },
/* 18 */ { "x" : 580, "y" : 60, "trait" : "goalNet" },
/* 19 */ { "x" : 560, "y" : 80, "trait" : "goalNet" },
/* 20 */ { "x" : -60, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 21 */ { "x" : -60, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 22 */ { "x" : -55, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 23 */ { "x" : -55, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 24 */ { "x" : -35, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 25 */ { "x" : -35, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 26 */ { "x" : -30, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 27 */ { "x" : -30, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 28 */ { "x" : 15, "y" : -25, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -220, "trait" : "text" },
/* 29 */ { "x" : 15, "y" : 25, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -220, "trait" : "text" },
/* 30 */ { "x" : 13, "y" : -20, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -220, "trait" : "text" },
/* 31 */ { "x" : 13, "y" : 20, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -220, "trait" : "text" },
/* 32 */ { "x" : -35, "y" : -2, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 33 */ { "x" : -55, "y" : -2, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 34 */ { "x" : -35, "y" : 3, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 35 */ { "x" : -55, "y" : 3, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 36 */ { "x" : -35, "y" : 1, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 37 */ { "x" : -55, "y" : 1, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 38 */ { "x" : -35, "y" : 0, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 39 */ { "x" : -55, "y" : 0, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 40 */ { "x" : 25, "y" : -25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 41 */ { "x" : 25, "y" : 25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 42 */ { "x" : 30, "y" : -25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 43 */ { "x" : 30, "y" : 25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 44 */ { "x" : 30, "y" : -25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 200, "trait" : "text" },
/* 45 */ { "x" : 30, "y" : 25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 200, "trait" : "text" },
/* 46 */ { "x" : 30, "y" : -20, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 205, "trait" : "text" },
/* 47 */ { "x" : 30, "y" : 20, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 205, "trait" : "text" },
/* 48 */ { "x" : 27, "y" : -25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 49 */ { "x" : 27, "y" : 25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 50 */ { "x" : 28, "y" : -25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 51 */ { "x" : 28, "y" : 25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
/* 52 */ { "x" : -57, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 53 */ { "x" : -57, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 54 */ { "x" : -58, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 55 */ { "x" : -58, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 56 */ { "x" : -33, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 57 */ { "x" : -33, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 58 */ { "x" : -32, "y" : -25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 59 */ { "x" : -32, "y" : 25, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
/* 60 */ { "x" : 14, "y" : -22, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -222, "trait" : "text" },
/* 61 */ { "x" : 14, "y" : 22, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -222, "trait" : "text" },
/* 62 */ { "x" : 14, "y" : -23, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -223, "trait" : "text" },
/* 63 */ { "x" : 14, "y" : 23, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -223, "trait" : "text" },
/* 64 */ { "x" : 30, "y" : -22, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 207, "trait" : "text" },
/* 65 */ { "x" : 30, "y" : 22, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 207, "trait" : "text" },
/* 66 */ { "x" : 30, "y" : -23, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 208, "trait" : "text" },
/* 67 */ { "x" : 30, "y" : 23, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 208, "trait" : "text" }
],
"segments" : [
{ "v0" : 0, "v1" : 1, "trait" : "ballArea" },
{ "v0" : 2, "v1" : 3, "trait" : "ballArea" },
{ "v0" : 4, "v1" : 5, "trait" : "ballArea" },
{ "v0" : 6, "v1" : 7, "trait" : "ballArea" },
{ "v0" : 12, "v1" : 13, "trait" : "goalNet", "curve" : -90
},
{ "v0" : 13, "v1" : 14, "trait" : "goalNet" },
{ "v0" : 14, "v1" : 15, "trait" : "goalNet", "curve" : -90
},
{ "v0" : 16, "v1" : 17, "trait" : "goalNet", "curve" : 90 },
{ "v0" : 17, "v1" : 18, "trait" : "goalNet" },
{ "v0" : 18, "v1" : 19, "trait" : "goalNet", "curve" : 90 },
{ "v0" : 8, "v1" : 9, "trait" : "kickOffBarrier" },
{ "v0" : 9, "v1" : 10, "trait" : "kickOffBarrier", "curve" :
180, "cGroup" : ["blueKO" ] },
{ "v0" : 9, "v1" : 10, "trait" : "kickOffBarrier", "curve" :
-180, "cGroup" : ["redKO" ] },
{ "v0" : 10, "v1" : 11, "trait" : "kickOffBarrier" },
{ "v0" : 20, "v1" : 21, "x" : -60, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 22, "v1" : 23, "x" : -55, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 24, "v1" : 25, "x" : -35, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 26, "v1" : 27, "x" : -30, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 28, "v1" : 29, "x" : 15, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -220, "trait" : "text" },
{ "v0" : 30, "v1" : 31, "x" : 13, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -220, "trait" : "text" },
{ "v0" : 32, "v1" : 33, "x" : -35, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 34, "v1" : 35, "x" : -35, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "y" : 3, "trait" : "text" },
{ "v0" : 36, "v1" : 37, "x" : -35, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "y" : 1, "trait" : "text" },
{ "v0" : 38, "v1" : 39, "x" : -35, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "y" : 0, "trait" : "text" },
{ "v0" : 40, "v1" : 41, "x" : 25, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
{ "v0" : 42, "v1" : 43, "x" : 30, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
{ "v0" : 44, "v1" : 45, "x" : 30, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 200, "trait" : "text" },
{ "v0" : 46, "v1" : 47, "x" : 30, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 205, "trait" : "text" },
{ "v0" : 48, "v1" : 49, "x" : 27, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
{ "v0" : 50, "v1" : 51, "x" : 28, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "trait" : "text" },
{ "v0" : 52, "v1" : 53, "x" : -57, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 54, "v1" : 55, "x" : -58, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 56, "v1" : 57, "x" : -33, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 58, "v1" : 59, "x" : -32, "bCoef" : 0, "color" :
"FF0000", "vis" : true, "trait" : "text" },
{ "v0" : 60, "v1" : 61, "x" : 13, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -222, "trait" : "text" },
{ "v0" : 62, "v1" : 63, "x" : 13, "bCoef" : 0, "color" :
"FFFFFF", "vis" : true, "curve" : -223, "trait" : "text" },
{ "v0" : 64, "v1" : 65, "x" : 30, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 207, "trait" : "text" },
{ "v0" : 66, "v1" : 67, "x" : 30, "bCoef" : 0, "color" :
"0000FF", "vis" : true, "curve" : 208, "trait" : "text" }
],
"goals" : [
{ "p0" : [-550,-80 ], "p1" : [-550,80 ], "team" : "red" },
{ "p0" : [550,80 ], "p1" : [550,-80 ], "team" : "blue" }
],
"discs" : [
{ "pos" : [-550,80 ], "trait" : "goalPost", "color" :
"FFCCCC" },
{ "pos" : [-550,-80 ], "trait" : "goalPost", "color" :
"FFCCCC" },
{ "pos" : [550,80 ], "trait" : "goalPost", "color" :
"CCCCFF" },
{ "pos" : [550,-80 ], "trait" : "goalPost", "color" :
"CCCCFF" }
],
"planes" : [
{ "normal" : [0,1 ], "dist" : -240, "trait" : "ballArea" },
{ "normal" : [0,-1 ], "dist" : -240, "trait" : "ballArea" },
{ "normal" : [0,1 ], "dist" : -270, "bCoef" : 0.1 },
{ "normal" : [0,-1 ], "dist" : -270, "bCoef" : 0.1 },
{ "normal" : [1,0 ], "dist" : -600, "bCoef" : 0.1 },
{ "normal" : [-1,0 ], "dist" : -600, "bCoef" : 0.1 }
],
"traits" : {
"ballArea" : { "vis" : false, "bCoef" : 1, "cMask" : ["ball"
] },
"goalPost" : { "radius" : 8, "invMass" : 0, "bCoef" : 0.5 },
"goalNet" : { "vis" : true, "bCoef" : 0.1, "cMask" : ["ball"
] },
"kickOffBarrier" : { "vis" : false, "bCoef" : 0.1, "cGroup"
: ["redKO","blueKO" ], "cMask" : ["red","blue" ] },
"text" : { "cMask" : [] }
}
}
--- End Code ---
#Post#: 2960--------------------------------------------------
Re: *NEW* Modified Map
DIR By: alexa
Date: January 19, 2013, 5:21 pm
---------------------------------------------------------
ur crazy
#Post#: 2961--------------------------------------------------
Re: *NEW* Modified Map
DIR By: Barca-Kes
Date: January 19, 2013, 5:31 pm
---------------------------------------------------------
WHY
#Post#: 2962--------------------------------------------------
Re: *NEW* Modified Map
DIR By: LimitedWard
Date: January 19, 2013, 5:43 pm
---------------------------------------------------------
--- Quote from: Barca-Kes link ---
>
> WHY
>
--- End Quote ---
What do you mean why? So that way there's a cool custom map for
the league, that's why! :P
In case you're confused, the text isn't solid, so it's just in
the background.
#Post#: 2963--------------------------------------------------
Re: *NEW* Modified Map
DIR By: BubbleGum
Date: January 19, 2013, 5:48 pm
---------------------------------------------------------
ss
*****************************************************
Page 1 of 1