Transport Fever 2

Transport Fever 2

27 个评价
h4e API
   
奖励
收藏
已收藏
取消收藏
Misc: Script Mod
文件大小
发表于
更新日期
227.569 KB
2024 年 8 月 22 日 下午 8:29
2024 年 9 月 2 日 下午 5:11
15 项改动说明 ( 查看 )

订阅以下载
h4e API

描述
h4e API

h4e API is a mod that provides various functions as a basis for other mods. For example, h4e API can be a prerequisite for installing a mod and using it successfully. In addition, this mod is also aimed at other modders who want to use the h4e API (e.g. h4e API as a prerequisite).

What can h4e API do for players?

The h4e API provides a similar basis to the Common API, for example, it ensures that the station can be built modularly with as many mod tracks as possible. However, there are still tracks that are currently not compatible, especially those that were written with other APIs and are designed for this, this must be tried individually. If there are any problems, please contact the person who created the track, it may be possible to solve the problem.

In addition, the h4eAPI provides various settings that can be changed via the Mod Manager in the game, including MANY values of the base_config.lua

What can h4e API do for modders?

It takes over data functions and provides data wherever it is needed. The API also ensures that stations can use tracks other than the vanilla tracks, and that very easily! But that's by far not all! The API has all repos except modelRep permanently on call, and the data is only loaded when it is actually called up, which saves performance in gameplay. Instead of dynamically entering the track in the EdgeList of the station in the module, every track is simply entered there right from the start, regardless of whether it is used.

Recommended contents

热门讨论 查看全部(5)
0
2024 年 9 月 2 日 下午 5:09
置顶: Roadmap for h4e API
homieforever
0
2024 年 8 月 28 日 上午 8:37
置顶: Settings
homieforever
0
2024 年 8 月 26 日 下午 3:34
置顶: Modding Documentation
homieforever
1 条留言
TheBackYard 2024 年 8 月 30 日 上午 5:36 
can this be combined with commonAPI2 or will it conflict?