Bedwars v1.0 
7 comments I recreated the bedwars mode from the minecraft game.
For those who do not know what mode:
Control:
Space
Set a tile by mouse pointer (radius 1 tile)
Alt
Select a tile (only four types tiles)
G + knife
Open inventory to drop buildings or money
Left Attack + Wrench
Destroy tiles (not instantly)(only built by players)
Map:
The following entity names are used for the map:
Resource Spawners:
br - Bronze spawner
se - Iron spawner
zo - Gold spawner
al - Dimond spawner
iz - Emerald spawner
Shops:
shop - Weapons shop
lvlu - Team upgrade shop
othe - building shop and tiles
Beds:
bed1 - TT bed
bed2 - CT bed
And these are the settings at the beginning inside the lua file:
PS This code is not readable.
For those who do not know what mode:
Control:
Space

Alt

G + knife

Left Attack + Wrench

Map:
The following entity names are used for the map:
Resource Spawners:
br - Bronze spawner
se - Iron spawner
zo - Gold spawner
al - Dimond spawner
iz - Emerald spawner
Shops:
shop - Weapons shop
lvlu - Team upgrade shop
othe - building shop and tiles
Beds:
bed1 - TT bed
bed2 - CT bed
And these are the settings at the beginning inside the lua file:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-------------- Setting
parse('mp_respawndelay 5')
parse('mp_supply_items "HE,Flashbang,Snowball,Mine,Laser Mine,Bandage,Medikit,Armor,M249"')
parse('mp_dispenser_health 5')
parse('mp_building_limit "Turret" 99999')
parse('mp_building_limit "Dispenser" 99999')
parse('mp_building_limit "Supply" 99999')
parse('sv_gamemode 3')
parse('mp_wpndmg UMP45 20')
parse('mp_wpndmg_z2 AWP 200')
local TimeSet = {1, 5, 10, 30, 60} --Time Spawn/ 1 Bronze 2 iron 3 gold 4 Dimond 5 Emerald
local BedsHP = {1000, 1000} --HP/ 1 TT 2 CT
local TileIndex = {119, 110, 28, 104, 0} --Tile/ 1 wood 2 stone 3 Enderniak 4 Obsidian 5 void
parse('mp_respawndelay 5')
parse('mp_supply_items "HE,Flashbang,Snowball,Mine,Laser Mine,Bandage,Medikit,Armor,M249"')
parse('mp_dispenser_health 5')
parse('mp_building_limit "Turret" 99999')
parse('mp_building_limit "Dispenser" 99999')
parse('mp_building_limit "Supply" 99999')
parse('sv_gamemode 3')
parse('mp_wpndmg UMP45 20')
parse('mp_wpndmg_z2 AWP 200')
local TimeSet = {1, 5, 10, 30, 60} --Time Spawn/ 1 Bronze 2 iron 3 gold 4 Dimond 5 Emerald
local BedsHP = {1000, 1000} --HP/ 1 TT 2 CT
local TileIndex = {119, 110, 28, 104, 0} --Tile/ 1 wood 2 stone 3 Enderniak 4 Obsidian 5 void
PS This code is not readable.

edited 1×, last 23.04.22 10:36:17 pm

Comments
7 comments



Log in!
You need to log in to be able to write comments!Log in
@
Marcell: you don't get it... I mean, while images like gold.png and bronze.png looks like as in Minecraft, the iron.png has broken proportions.


@
Kolia_rus: I guess that was an optimization technique to make the whole transfer size lower, which is a pretty good idea. So Imo it's better than creating other sprites while they are similar.

I suggest you to resize the iron.PNG file to make it look like other gold.PNG, bronze.PNG, etc. Because as for now, it is the same sprite but with another colour and it looks quite narrow. Also you may try fixing typos in files' names.




