# TS2 - Train Signalling Simulation
version 0.7
## Overview
**Train Signalling Simulation (TS2)** is a railways simulation game where you have to dispatch trains across an area and keep them on schedule.
## Links
* TS2 Homepage - [ts2.github.io](http://ts2.github.io/)
* TS2 Chat - [irc.freenode.net#trainsigsim](irc://irc.freenode.net#trainsigsim)
* TS2 Project at Github - [github.com/ts2](http://github.com/ts2/)
## Status
TS2 is beta software, meaning it is playable, but still lacks many features that one would expect from a real simulation, will it ever be finished.
When starting TS2, you will be able to download simulations from our [ts2-data](https://github.com/ts2/ts2-data) server.
New simulations can be created with the editor provided with ts2.
## Installation
* Released versions:
- Windows 64 bits: use provided installer and run ts2.exe.
- Other platforms: see source installation.
* Source installation:
- Download and install Python v3 or above at [www.python.org](http://www.python.org).
- Download and install PyQt *v5* at [http://www.riverbankcomputing.co.uk](http://www.riverbankcomputing.co.uk). (Not V6)
- install websocket by running "pip install websocket" and "pip install websocket-client"
- install simplejson by running "pip install simplejson" (Refer to: https://stackoverflow.com/questions/2604841/importerror-no-module-named-simplejson) - this step can be eliminated if someone changes the code to import json as simplejson
- install requests by running "pip install requests"
- Grab the sources from [GitHub](https://github.com/ts2/ts2/releases/tag/v0.7.0).
- Run start-ts2.py
* Post Install
- Download the simulation server by opening the File->Settings menu and click on "Download Server".
## Playing (QuickStart)
* Load a simulation from the _simulation_ directory (or the _data_ directory if you have installed from sources).
If you want to load a simulation from a previous version of TS2, you will need to open it with the editor
first and save it before loading it again in the main window.
* Route setting:
- To turn a signal from red to green, you need to set a route from this signal to the next one.
- To set a route left click on the signal and then to the next one. If you can create a route
between these signals, the track between both signals is highlighted in white, the points are
turned automatically for this route and the first signal color turn to yellow (or green if
the second signal is already yellow or green).
- To cancel a route, right-click on its first signal.
- Routes are automatically cancelled by the first train passing through. However, you can set a
persistent route by holding the shift key before clicking on the second signal. Persistent
routes have a little white square next to their first signal.
- Forcing route setting: It is possible to force a route setting by pressing _ctrl_ and _alt_ while
clicking on the second signal. Beware as this will not check other conflicting routes and may result
in train crashes or other unknown behaviour.
* Train information:
- Click on a train code on the scene or on the train list to see its information on the
"Train Information" window. The "Service information" window will also update.
* Station information:
- Click on a platform on the scene to display the station timetable in the "Station information"
window.
* Interact with trains:
- Right click on a train code on the scene or on the "Train information" or on the "Train List"
window to display the train menu. This menu enables you to:
+ Assign a new service to this train. Select the service in the popup window and click "Ok".
+ Reset the service. i.e. tell the train driver to stop at the first station again.
+ Reverse train. i.e. change the train direction.
- Trains automatically change service when it is over (on drain demo BW01 becomes WB01 when reaching
depot)
* You should see trains run, stop at red signals and at scheduled stations. They should depart at the
departure time or after some time after the arrival time if the departure time is past.
* Scoring:
Each time a train arrives late at a station, stops at the wrong platform or is routed to a wrong direction
penalty points are added to the score.
## Developing
Whether you want to write your own simulation with the editor or to develop a new client to interact with TS2,
head over to our
[Technical Manual](https://github.com/ts2/ts2-sim-server/blob/master/docs/ts2-technical-manual.pdf)
## Change log
### Version 0.7:
- New client-server architecture:
- Multiplayer by connecting several players on the same simulation
- Websocket API to interact with the simulation
### Version 0.6:
- New release that is PyQt5 = Python3 only
- Announce move and infrastructure to github
- New home page, et all
- Also Data is now json and in ts2-data
- Ability to download sims / signals from ts2-data
- Trains shunting
- Trains splitting (joining postponed)
- New parametric signals
- French BAL signals (except blinking)
- UK Shunt signals
- UI improvements (toolbars, etc.)
- Catch exceptions when loading sims
### Version 0.5:
- Last PyQt4 version
- Improved editor including the following features
- Multi-selection
- Copy/Paste
- Mass setting of properties
- Resizing of platform items with mouse
- New signals with :
- Short length
- Freely positionable berth
- New signal types, including UK 4 aspects signals
没有合适的资源?快使用搜索试试~ 我知道了~
TS2-火车信号模拟器_Python_下载.zip
共72个文件
py:49个
png:3个
ts:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 105 浏览量
2023-04-26
11:31:23
上传
评论
收藏 225KB ZIP 举报
温馨提示
TS2-火车信号模拟器_Python_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
TS2-火车信号模拟器_Python_下载.zip (72个子文件)
ts2-master
setup.iss 2KB
start-ts2.py 2KB
setup.py 2KB
Qt.py 1KB
AUTHORS 87B
data
README 75B
signal-test.ts2 2KB
README_fr.md 6KB
simulations
.gitkeep 0B
ts2
utils.py 5KB
__init__.py 3KB
game
__init__.py 798B
scorer.py 1KB
logger.py 4KB
application.py 2KB
routing
__init__.py 1KB
position.py 15KB
route.py 13KB
ressources_rc.py 5KB
scenery
__init__.py 798B
helper.py 8KB
enditem.py 4KB
invisiblelinkitem.py 2KB
platformitem.py 6KB
abstract.py 26KB
pointsitem.py 15KB
lineitem.py 12KB
placeitem.py 7KB
signals
__init__.py 798B
signalitem.py 43KB
signalaspect.py 8KB
textitem.py 4KB
editor
__init__.py 798B
delegates.py 7KB
editorscenebackground.py 3KB
editorwindow.py 59KB
editor.py 51KB
views.py 8KB
simulation.py 27KB
gui
servicelistview.py 3KB
__init__.py 798B
settingsdialog.py 7KB
dialogs.py 9KB
opendialog.py 12KB
widgets.py 8KB
trainlistview.py 3KB
xobjects
__init__.py 1KB
xsettings.py 5KB
mainwindow.py 36KB
trains
__init__.py 2KB
service.py 21KB
traintype.py 11KB
train.py 32KB
i18n
ts2.pro 2KB
ts2_fr.ts 72KB
ts2_pl.ts 69KB
fabfile.py 2KB
ressources.qrc 163B
.gitignore 532B
setup.cfg 11B
images
ts2.png 425B
screenshot.jpeg 62KB
ts2.ico 15KB
bin.png 604B
favicon.ico 15KB
favicon-ani.gif 770B
banner.jpeg 8KB
favicon.png 425B
build.py 2KB
server
.gitkeep 0B
README.md 5KB
COPYING 18KB
共 72 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Pytorch-pytorch深度学习教程之Tensorboard.zip
- 基于C++和Python开发yolov8-face作为人脸检测器dlib作为人脸识别器的人脸考勤系统源码+项目说明.zip
- Pytorch-pytorch深度学习教程之变分自动编码器.zip
- Pytorch-pytorch深度学习教程之神经风格迁移.zip
- Pytorch-pytorch深度学习教程之深度残差网络.zip
- Pytorch-pytorch深度学习教程之循环神经网络.zip
- Pytorch-pytorch深度学习教程之逻辑回归.zip
- Pytorch-pytorch深度学习教程之双向循环网络.zip
- Pytorch-pytorch深度学习教程之卷积神经网络.zip
- Pytorch-pytorch深度学习教程之前馈神经网络.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功