Files

> > CS2D > Lua Scripts > Bedwars v1.0
Files overviewCS2D overviewLua Scripts overview

English Bedwars v1.0 >

7 comments59 kb, 249 Downloads

old Bedwars v1.0

TrenT
User Off Offline

I recreated the bedwars mode from the minecraft game.

For those who do not know what mode:
More >


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:
1
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
PS This code is not readable.
edited 1×, last 23.04.22 10:36:17 pm
Approved by DC

Download Download

59 kb, 249 Downloads

Comments

7 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Kolia_rus
GAME BANNED Off Offline

@user 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.

old

Marcell
Super User Off Offline

@user 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 like it!

old

Kolia_rus
GAME BANNED Off Offline

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.

old

Xirot
Idiot Off Offline

Unique
GG
I like it!

old

Marcell
Super User Off Offline

We like unique, thanks for making something really own.
I like it!

old

_Lima_
User Off Offline

Looks unique, it's cool.
You could replace tileset and players with minecraft versions.
I like it!

old

NanuPlayer
User Off Offline

Looks Great!
I like it!
To the start Previous 1 Next To the start