Space Engineers
Недостаточно оценок
Playable Chess Script
2
2
   
Наградить
В избранное
В избранном
Удалить
Метки: other_script
Размер файла
Добавлен
Изменён
416.784 KB
9 июн. 2020 г. в 13:14
24 авг. 2022 г. в 13:56
Обновлений: 4 (просмотреть)
Для использования необходим дополнительный контент.

Подпишитесь, чтобы загрузить
Playable Chess Script

Описание
This is a working chess game script. The game uses console blocks to display the board.

You can download premade blueprints here:
With 2 tables: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2125297422
With 1 table: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2125137462


The game should support all moves.
The game autosaves after every move, although currently not in remote play.


How to play
Players move their pieces by first selecting the piece they want to move and then the square they want to move the piece to.
The square is selected by first selecting the x- coordinate (horizontal) and then the y- coordinate (vertical).

If set-up correctly the coordinates are selected by pressing 1-8, first for the x coordinate and then for the y- coordinate.
9 is for erasing the previously inputted coordinate.

Remote play
For remote play, set is_remote_play to true.
For remote play both grids need to have an antenna and they need to be within 50km of each other.
The antenna can have it's range set to 0 if needed.
The game should automatically "pair" with the other party.
When remote play is enabled, the colour (White/Black) you use on the toolbar doesn't matter.

Set-up
Notes:
The game is designed to be played using a toolbar for controls.
You can use any toolbar, but remotes are recommended.

Requirements:
1 Projection table with tag [Chess] in its name.

Recommended:
2 Remotes, 1 for each player.
2 Projection tables with tags [Chess:1] and [Chess:2]

Toolbar set-up:
1. Find the Programmable block running this script
2. Select Run
3. Write "W:1", "W:2",... or "B:1", "B:2",... as the argument.
Where W is for White and B for Black.
And 1-9 are for the toolbar slot number.

Example argument: "W:8" without the "", is for White player number 8
Комментариев: 5
OzymanJeff 21 авг. 2022 г. в 19:41 
@Apina-32 Thank you good Sir!!!
Apina-32  [создатель] 21 авг. 2022 г. в 17:22 
Thank you for the comment. Should be working now. Also made remote play easier to turn on.
OzymanJeff 21 авг. 2022 г. в 15:02 
Hey ive been playing this on my friends server and we noticed a issue where whenever a player puts another player's king in check. The checked player Cannot Block, take attacking piece. or move king out of harms way resulting in being unable to finish the game rightfully so. Just thought i would address this issue and inform you of it because i love the script and appreciate the time put into it. Hopefully this comment will result in the error being fixed!
Thanks!
SilverCyon 16 июл. 2021 г. в 15:48 
This is Absolutely Amazing. Well done!
Spite 16 июн. 2020 г. в 2:07 
This looks pretty cool!