Git Product home page Git Product logo

open-nec's Introduction

Open NEC logo

Open NEC is a free and open-source Train Simulator Classic mod that greatly enhances the functionality of passenger locomotives released for the Northeast Corridor (Washington, D.C. to Boston) locale. It’s a complete rescripting effort, using code written from scratch, to achieve an ultra-realistic driving experience.

To learn more, visit the project homepage.

Build the project

Open the project in its development container and run npm run build. The resulting engine scripts will be output to the dist/ folder.

You also need to build the blueprint files, textures, and sounds using the tools shipped with Train Simulator. To do this, you will need the game installed, and you will also need a copy of AMD Compressonator. Run BuildAssets.ps1 and the assets will be output to the dist/ folder.

If you are working with the source code in Windows Subsystem for Linux, you cannot just run BuildAssets.ps1 from Windows because the Train Simulator tooling does not work with a UNC path like \\wsl.localhost\. As a workaround, you can map WSL as a network drive using net use. The tooling works just fine as long as it is using paths that start with drive letters.

Style guidelines

To lint your code, run npm run fix:prettier. I ask that any contributions conform to prettier's recommendations.

Legal

All content in this repository is licensed under the GNU General Public License, version 3.

open-nec's People

Contributors

yoryan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

judemille

open-nec's Issues

Simulate delay for cab signal upgrades

In the real world, cab signals occasionally display an unintended aspect for a brief few seconds. This phenomenon is called a "cab flip," and safety systems are programmed to handle it.

Due to the placement of track circuits and the performance of the onboard computer, there is also a perceptible delay between passing a wayside signal and the moment the train receives the corresponding cab signal.

It would be nice to simulate both of these effects.

installing files

Hi

Can you pls advise where and how the files are supposed to be installed?

Cheats menu

It would be fun to give cheats to the player like:

  • Setting the cab signal code
  • Switching power modes instantly
  • Combining the signal and track speeds on the 2-speed ADU to mimic the contemporary style

To navigate through the cheats menu, use a short press of the Q key to move, and a long press to select. To enter the cheats menu, TBD.

Reinstate blended braking for the ACS-64

The vanilla ACS-64 doesn't have blended braking. Open NEC v1 did. It was removed again for v2, and people have noticed.

Per Fan Railer's advice, the PSI-based logic Dovetail implemented for the rest of their locos is close enough for the ACS.

Enhanced physics for the Arrow III (with Fan Railer)

We can be much more faithful to the real thing compared to vanilla. Here's what needs to change:

Blended braking needs a redo. See Fan Railer's video of a station stop: The initial brake application is made with air, which then backs off in favor of dynamics, followed by air again when the dynamics lose their effectiveness.

The ramp up time for the throttle should be significantly quicker than the stock 5 seconds. And a similar ramp needs to be introduced for the dynamic brakes.

We need to apply a workaround for that old Railworks bug where the dynamics are more effective the longer the MU consist is.

As always, Fan Railer will ship the physics curves, and OpenNEC will provide the script.

Issue with NJT ADU on Comet V & Multilevel

I have noticed on the NJT style ADU in the cab cars of the Comet V and Multilevel, the green arc does not show the track speed limit, but functions as the speed needle of a gauge. The alarms turn on and whatnot, but you don't exactly know what speed limit you have with the current set up of the ADU.

Throttle/Dynamic Brake Issue With ALP45-DP

Hello, first time commenting/posting. I noticed whenever the ALP-45DP is in diesel powered mode the throttle only powers to 61% and the RPMS are limited to around 1300. this only happens when the train starts in diesel mode and this applies to the Comet IV,V and Multilevel Cab Car when the ALP-45DP is the locomotive on the consist. When the Locomotive is in electric overhead mode this does not happen but the locomotive seems to be consuming fuel. Starting the locomotive in electric overhead mode and then changing over to diesel mode causes the throttle issue and limits the RPMS. id be happy to provide screen captures if needed.

HHP-8 horn/bell/ditchlights

From various videos on youtube, it looks like the HHP-8s horn does not automatically activate the bell and flashing ditchlights in addition the ditchlights can be turned on and flash independently of the headlight setting as seen here: https://www.youtube.com/watch?v=7REvDHiqDxU

it would be great if it is possible to add these mods into OpenNEC to make the HHP-8s lights behave simillar to reality.

No sound in game

I've just installed version 2.0 of openNEC, however it appears my game sounds are silent.

signal speed stuck at 20 mph

Hi

I observed an issue with Amtrak Acela on the Typical Day scenari0

The signals are all green but the ATC readout says 20 MPH for the route. The track speed is correct and enforced but the signal speed doesnt seem right and is not even enforced at 20 mph..

thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.