developmenteras:bhlegacy
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| developmenteras:bhlegacy [2025/11/11 16:53] – unreleased features description blamedenny | developmenteras:bhlegacy [2026/02/02 07:43] (current) – blamedenny | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~NOTOC~~ | ||
| + | ===== Brick Hill Legacy ===== | ||
| + | ---- | ||
| {{infobox> | {{infobox> | ||
| name = Brick Hill Legacy | name = Brick Hill Legacy | ||
| Line 29: | Line 32: | ||
| === Scripts === | === Scripts === | ||
| * (GML((GameMaker Language.)) compatibility has been removed with the release of [[hosting: | * (GML((GameMaker Language.)) compatibility has been removed with the release of [[hosting: | ||
| - | Scripting as a feature became a part of Brick Hill ever since [[bhbeta|Brick Hill Legacy Beta]]. Scripting support for GML has been abandoned (and got changed with JavaScript) due to technical difficulties supporting it on [[hosting: | + | Scripting as a feature became a part of Brick Hill ever since [[roleblock|Role Block]]. Scripting support for GML has been abandoned (and got changed with JavaScript) due to technical difficulties supporting it on [[hosting: |
| - | === Brick Stickers === | + | === Brick Stickers === |
| * (?, found in [[: | * (?, found in [[: | ||
| Like in Roblox, Brick Stickers(('' | Like in Roblox, Brick Stickers(('' | ||
| + | === Set Images === | ||
| + | < | ||
| + | |||
| + | * (Appeared on October 2017 build of Legacy Workshop) | ||
| + | |||
| + | Before this feature removal, you could be able to upload your set screenshot via Legacy Workshop through " | ||
| + | |||
| + | < | ||
| + | |||
| + | ==== Set structure changes ==== | ||
| + | === Before Brick Hill Legacy === | ||
| + | Before the October 2017 Release, Brick Hill has used the pre-legacy format of defining sets, for example: | ||
| + | < | ||
| + | [environment] | ||
| + | ambient=ffffff | ||
| + | baseplate=100 | ||
| + | ground=19d900 | ||
| + | [bricks] | ||
| + | " brick1=" | ||
| + | " brick2=" | ||
| + | " brick3=" | ||
| + | </ | ||
| + | |||
| + | Explaining on the first brick, '' | ||
| + | |||
| + | ''" | ||
| + | '' | ||
| + | '' | ||
| + | '' | ||
| + | '' | ||
| + | You may also add the Brick Model as an additional parameter which can be read by '' | ||
| + | |||
| + | === After the rewrite === | ||
| + | As it has been said earlier, clients, hosts and workshops (Legacy workshop still accepts the pre-legacy format in a form of convertation) made after October 2017 are accepting a new Set structure, for example (double slash comments must be removed): | ||
| + | |||
| + | < | ||
| + | B R I C K W O R K S H O P V0.2.0.0 // Workshop version | ||
| + | // Environment // | ||
| + | 0 0 0 // Ambient color | ||
| + | 0.14 0.51 0.20 1 // first three numbers are for Ground Color, the " | ||
| + | 0.49 0.70 0.90 // Sky color | ||
| + | 100 // Baseplate size | ||
| + | 400 // Sun intensity | ||
| + | // Bricks // | ||
| + | -12 3 -6 4 4 4 0.87 0 0.05 1 //X,Y,Z position; X,Y,Z scale; R,G,B color; Brick transparency | ||
| + | +NAME brick0 // Brick Attributes | ||
| + | +SCRIPT obj_item.Model = ' | ||
| + | +SCRIPT | ||
| + | +SCRIPT s = define(" | ||
| + | +SCRIPT s.script = ' | ||
| + | +SCRIPT var user, | ||
| + | +SCRIPT user = arg[0]; | ||
| + | +SCRIPT if user.Arm == user.tool[0] { | ||
| + | +SCRIPT sword_length = 4; | ||
| + | +SCRIPT sword_damage = 10; | ||
| + | +SCRIPT with obj_client { | ||
| + | +SCRIPT if(id != user) { | ||
| + | +SCRIPT if(alive) { | ||
| + | +SCRIPT if power(xPos-user.xPos, | ||
| + | +SCRIPT playerAddDamage(id, | ||
| + | +SCRIPT if playerGetHealth(id) <= 0 { | ||
| + | +SCRIPT playerKill(id); | ||
| + | +SCRIPT playerSetHealth(id, | ||
| + | +SCRIPT messageAll(user.name+" | ||
| + | +SCRIPT } | ||
| + | +SCRIPT } | ||
| + | +SCRIPT } | ||
| + | +SCRIPT } | ||
| + | +SCRIPT } | ||
| + | +SCRIPT } | ||
| + | +SCRIPT '; | ||
| + | +ROT 25 // Z rotation (SandPile accepts 3-axis rotation and Legacy Z rotation) | ||
| + | +SHAPE slope //Brick Shapes: slope, plate, wedge, spawnpoint, arch, corner, corner_inv, dome, bars, flag, pole, round, cylinder, round_slope, | ||
| + | +NSTICKER 1 // - | ||
| + | +ESTICKER 2 // |_ refer to Removed Features | ||
| + | +SSTICKER 3 // | | ||
| + | +WSTICKER 4 // - | ||
| + | +MODEL 412332 // Requires connection to Brick Hill API to work | ||
| + | +LIGHT 100 100 100 25 // Light: 100 100 100 - R,G,B Colors; 25 - Range | ||
| + | +COLOR 100 100 100 // Self-explanatory: | ||
| + | +NOCOLLISION // Disables brick collision | ||
| + | |||
| + | >TEAM brickrot // Creates a new team " | ||
| + | +COLOR 0.37 0.51 0.40 // Gives the dark green color to the team | ||
| + | >SLOT Sword // Creates a new item slot | ||
| + | |||
| + | </ | ||
| === Notes === | === Notes === | ||
developmenteras/bhlegacy.1762876390.txt.gz · Last modified: by blamedenny
