forked from TeeworldsCN/ddnet-pvp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into huntern-zh_cn
- Loading branch information
Showing
10 changed files
with
157 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,38 @@ | ||
DDNet-PvP HunterN猎人杀 | ||
=== | ||
模式规则: | ||
# DDNet-HunterN猎人杀 | ||
[**DDNet-HunterN**](https://github.com/Hu1night/DDNet-HunterN)是一个基于[**DDNet-PvP**](https://github.com/TeeworldsCN/ddnet-pvp)(传统竞技)(基于DDNet 15.3.2)的[**DDNet**](https://github.com/DDNet/DDNet)模组项目 提供名为***HunterN***(猎人杀)的PvP模式 | ||
|
||
1.每回合都会秘密随机选择猎人。猎人必须消灭所有平民。 | ||
### HunterN的游戏规则: | ||
1. 每局开始时会**秘密随机**选择玩家成为**猎人**或**平民** 且玩家只知道自己身份 猎人的目标是**消灭所有平民** | ||
2. 猎人使用高伤武器、瞬杀追踪锤(20伤,长按追踪)和破片榴弹 **而平民没有锤子且只能使用常规武器** | ||
3. 当玩家死时如为猎人死亡则通知其他猎人 且死亡原因和死后聊天**仅旁观/死人可见** | ||
|
||
2.猎人造成双倍伤害,有一把瞬杀锤和破片榴弹,而平民没有锤子,只能使用常规武器。 | ||
|
||
3.活着的玩家看不到死去玩家的信息。 | ||
|
||
4.如果猎人死亡,将通知其他猎人。 | ||
|
||
5.在游戏开始时,玩家只知道自己的身份。 | ||
|
||
Rules: | ||
|
||
1.Each round will secretly randomly select Hunter(s). Hunter(s) must eliminate all the Civilians. | ||
|
||
2.The Hunter deals double damage and has an instant-kill hammer and fragmentation grenades, while Civilians have no hammer and can only use regular weapons. | ||
|
||
3.The living players cannot see messages from dead players. | ||
|
||
4.If the Hunter dies, the other Hunters will be notified. | ||
|
||
5.At the beginning of the game, players only know their own identity. | ||
|
||
在Ubuntu上使用CMake构建 | ||
--- | ||
1.安装依赖库 | ||
## 在Ubuntu上使用CMake构建DDNet-HunterN | ||
1. 使用apt安装***依*****赖***库* | ||
``` | ||
sudo apt install build-essential cmake python3 libsqlite3-dev libcurl4-openssl-dev zlib1g-dev | ||
``` | ||
sudo apt install build-essential cmake python3 libsqlite3-dev | ||
2. 转到项目目录编译服务端 | ||
``` | ||
2.编译服务端 | ||
cmake . | ||
make -j16 | ||
``` | ||
cmake .. | ||
make -j16 | ||
``` | ||
|
||
## DDNet-HunterN的服务端下载&配置 | ||
* 你可以下载**正式发布包**于[Github Releases](https://github.com/Hu1night/DDNet-HunterN/releases) | ||
* 或者下载**开发构建**于[Github Actions](https://github.com/Hu1night/DDNet-HunterN/actions/workflows/build.yaml?query=branch%3Amaster++)([几乎汉化分支构建](https://github.com/Hu1night/DDNet-HunterN/actions/workflows/build.yaml?query=branch%3Ahuntern-zh_cn++))(下载需Github账号) | ||
|
||
**关于DDNet-HunterN的一些配置指令** | ||
* ```sv_room_commands```于控制台启用时才能使玩家创建/加入房间 | ||
* ```room_setting 0```于控制台输入可查看0号房间可用的模式指令 房间指令使用实例:```room_setting 0 timelimit 3``` (设置0号房间每局限时3分钟) | ||
* ```/setting```于(管理员)聊天栏输入可查看所在房间可用的模式指令 使用实例:```/setting map dm2``` (设置所在房间的子地图为dm2) | ||
|
||
**关于DDNet-HunterN的一些配置文件** | ||
* 服务端启动时执行/autoexec.cfg | ||
* HunterN房间启动时执行/room_config/modes/huntern.rcfg | ||
* DDNet-HunterN的Mega_std_collection地图启动时执行/data/maps/huntern_msc.map.cfg | ||
* 服务器资产定位使用/storage.cfg | ||
|
||
**关于DDNet-PvP的Mega map生成**<br /> | ||
使用[DDNet-PvP附加工具](https://github.com/Hu1night/DDNet-HunterN/releases/download/0.3a1/DDNet-PvP.Extra.tools.zip)中的map_merge程序进行Mega map的生成<br /> | ||
使用用法:```map_merge 输出地图名 输入地图1 输入地图2 输入地图3 ... 输入地图n```<br /> | ||
使用实例:```map_merge huntern.map hunter1.map hunter2.map hunter3.map hunter4.map hunter6.map```<br /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters