Space Engineers

Space Engineers

评价数不足
Combat Score System (BB)
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Block, Script, Production
标签: ServerScripts
文件大小
发表于
更新日期
9.870 MB
2022 年 8 月 24 日 上午 5:45
8 月 22 日 上午 11:25
258 项改动说明 ( 查看 )

订阅以下载
Combat Score System (BB)

在 BookBurner 的 1 个合集中
Maintained/Created by BookBurner
27 件物品
描述
What is this?

Server Only, does't do anything for local games

This mod is designed for servers that want to have a unified PVP rewards and incentives. It adds multiple systems that assign players their combat score. This combat score is used in various ways, one is calculated faction score, that is then displayed on top 10 LCD display, second is the ability to purchase predefined combat score rewards in the Combat Reward Block. System can be used on Nexus servers with the option to synchronise score across instances.

So far it is simple enough, so let's get to the description of various parts of the mod.

Combat Score

Combat score is a numeric value that is assigned to each player based on his steam ID. This represents his "combat prowess". Combat score can be obtained by damaging specific blocks (description + config below), by setting up a conquest (description + config below) and by using a combat assembler (description + config below). Player "shares" his combat score with his faction, thus faction score is a total sum of all it's members combat score. But since the combat score is assigned to players, only the person that earned it is the one who can use it in the combat reward block (description + config below)

Mod comes with an LCD script (designed for 1x1 standard LCD, but it probably could fit more sizes) that shows faction's top 10 and provides a warning if someone is using Combat Assembler block on the same instance.

Configuration

Combat Score Mod can be configured in various ways, BUT all configuration has to be done while the server is shut down, otherwise it won't apply. There are no configuration commands as of yet.

See the discussion for configuration examples and description

Commands
admins:
/cs add steamid amount - adds the amount of points to player with certain steamid
/cs remove steamid amount - removes the amount of points from player with certain steamid
/cs set steamid amount - sets the amount of points to player with certain steamid
/cs nextseason - triggers next season (must be run on master instance and Seasons must be enabled in the config)
all players:
/cs score faction - shows score for all factions
/cs score player - shows score for all players

Useful links

demo combat assembler grid
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2874315535

Disclaimer

Functionality:
- we are using this on several torch instance servers with various plugins without any issues so far
- conquest system is tested
- combat assembly system is tested
- combat score generation based on block damage is tested
- combat rewards block is tested
- combat zones are tested but quite bland at this point
- my recommendation is to leave the combat system sit for a while with your settings, then enable and set your combat rewards, so you know how much effort/risk it is to obtain them.

Forks:
- You can fork this, alter this as you wish, but I won't help you if you break anything, I have too much stuff to do :)
- Code is quite simple and I try to keep it readable, just grab it in your workshop folder if you wish
- No git for collab and forking is provided, because it is a part of our overall server modpack repository
- If you reupload this, name it differently to prevent confusion

If you have further questions, you can visit my discord: https://discord.gg/6Gd6W8TcJb
1 条留言
BookBurner  [作者] 2023 年 8 月 19 日 上午 4:45 
commands to add and remove combat score points added