Transport Fever 2

Transport Fever 2

141 evaluări
h4e Packages API Build 2402202001
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Misc: Script Mod
Dimensiunea fișierului
Postat
Actualizat
341.759 KB
28 dec. 2019 la 19:16
24 febr. 2020 la 12:33
9 notițe privind schimbările ( vizionare )

Abonează-te pentru a descărca
h4e Packages API Build 2402202001

În 1 colecție creată de homieforever
h4e Mods - (h4e Packages API needed)
35 obiecte
Descriere
The h4e Packages API is the basis of my mods. This mod provides my mods with various functions and information.

- Central provision of the variable game.h4e_api, with just one include in the API, all code is therefore usable for all other mods that follow.


Debug functions:

- Debug functions like var_dump, error or message debug information in the stdout.txt.
- Central control of the debug status via game.h4e_api.debug.state.
- The debug status can also be activated with the Mod h4e Packages API Debug Mode Mod, here too the debug mode must be activated according to the Packages API in the loading order.

General functions:

- delete, delete a table param.
- replace, replaces any text with a specified text.
- strlen, counts the length of a variable and returns the result.
- is_nil, checks whether a variable is nil.
- search, searches for a defined text e.g. "a" in a defined variable e.g. "abc", the function is found true is reported.
- table_length, counts the length of a table and returns the result.
split, divides a variable at a certain point, e.g. at a ".". Then returns the result in an array.

The functions were named for the purest of intentions because otherwise I work in the PHP area and the functions are more likely to be found under such a name.

It is allowed to create your own mods and to use the functions of the packages API. For further processing of other mods, I first ask for a message, without approval no publication or disclosure.

The mod must be in the loading order before all other mods that I have developed.

Powerd by Cubyte.net | IT Solutions & Consulting[cubyte.net]
Discuții populare Vezi toate (2)
0
9 mai 2020 la 9:58
IMPORTANT: The coming end of this mod
homieforever
0
22 mart. 2020 la 17:04
IMPORTANT: h4e ToDo -List
homieforever
28 comentarii
homieforever  [autor] 1 apr. 2021 la 6:04 
Info by the way:

If you like take a look at my latest mod and what is already a year and longer in development:

https://steamcommunity.com/sharedfiles/filedetails/discussions/2076312529
homieforever  [autor] 1 apr. 2021 la 6:02 
Answer:

No, it's mainly just a mod that is needed for most of my other mods. This mod must be activated by you and placed before all other mods of mine within the loading order. At the same time you can see from the build that the version is already some time old. There will also be no more updates for this mod here because it is no longer needed in the Future if at all. In short, this mod holds some functions for my mods ready, if they still need the packages API.
MarKo 1 apr. 2021 la 5:54 
I wanted to know if with this API mod, or with others, it is possible to replace the binary present by default in the game with another downloaded from the workshop.
Thanks for the answer!
homieforever  [autor] 1 apr. 2021 la 5:28 
@MarKo: The translation doesn't quite make sense to me.
Could you describe more precisely what you mean? Should you use a translator try deepl.com , in any case better than Google!

Otherwise you can add me as a friend and we talk in the chat.
homieforever  [autor] 18 ian. 2020 la 14:27 
dann viel Spaß dabei.
homieforever  [autor] 18 ian. 2020 la 3:42 
So i have no Problems when i test with this mods:

https://steamcommunity.com/sharedfiles/filedetails/?id=1951003886

Maybe try it without the Train Tractive mod?


I could only imagine that there could be a bug in connection with Train Tractive Power. However, this would then be due to the game itself, since problems do not have to occur on every computer.
homieforever  [autor] 18 ian. 2020 la 3:29 
@KingyBear: The Packages API is added as first?
KingyBear 15 ian. 2020 la 20:09 
These are the mods I have and its still laggy https://imgur.com/qIiYazS & https://imgur.com/n9OWvNG

Even when I have just these mods its still slow but not has much? https://imgur.com/CgnMURk
homieforever  [autor] 15 ian. 2020 la 7:52 
@KingyBear: I Dont have do a update at 14/01/2020 for this Mod.
Can you please give more Informations? Wich Mods you use? I have hear from other users something about a problem like urs. But i cant rebuild the Problem, it looks like some TPF Bugs because any PC have other Problems.
KingyBear 15 ian. 2020 la 7:49 
After the 14/01/2020 update my game has become very laggy. The camera movement is fine but all my trains are running at 1fps ?