This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:art:trainpacks [2023-03-20 06:56] blockhead created |
dev:art:trainpacks [2025-03-25 23:06] (current) marnack Add info for multi-game support |
||
---|---|---|---|
Line 8: | Line 8: | ||
[[usage: | [[usage: | ||
well to compare what exists. | well to compare what exists. | ||
- | |||
- | Mods for AdvTrains are all made for Minetest Game (MTG) at this point, and I | ||
- | will be making references that imply that we are playing MTG throughout. You can | ||
- | of course make mods for other games like Mineclone2, but you will need to | ||
- | establish what materials and so on to use in those games. | ||
The intent of writing this document is to publish it as a helpful guide for | The intent of writing this document is to publish it as a helpful guide for | ||
Line 19: | Line 14: | ||
goals for AdvTrain Supplemental' | goals for AdvTrain Supplemental' | ||
missing from existing mods. | missing from existing mods. | ||
+ | |||
+ | ===== Multi-game support ===== | ||
+ | |||
+ | Most mods for AdvTrains are made for [[https:// | ||
===== Attachment offset patch data ===== | ===== Attachment offset patch data ===== | ||
Line 35: | Line 34: | ||
Internationalised train packs can be used in different languages, which helps | Internationalised train packs can be used in different languages, which helps | ||
people who want to enjoy Minetest in their own language. There is usually not a | people who want to enjoy Minetest in their own language. There is usually not a | ||
- | huge number of strings of text to cover in a train pack. | + | huge number of strings of text to cover in a train pack, and Advtrains provides |
+ | translations for some strings. | ||
Not all mod authors read and write more than one language. But those that do | Not all mod authors read and write more than one language. But those that do | ||
Line 41: | Line 41: | ||
who are monolingual should still internationalise their software and provide a | who are monolingual should still internationalise their software and provide a | ||
template to make internationalisation easier for potential contributors. | template to make internationalisation easier for potential contributors. | ||
+ | |||
+ | Minetest provides [[http:// | ||
+ | for translations. Client-side translation is preferred in most cases. | ||
===== Animation ===== | ===== Animation ===== | ||
Line 52: | Line 55: | ||
blending such that doors could open while the wheels are rotating - but this is | blending such that doors could open while the wheels are rotating - but this is | ||
not typical in a modern safe railway environment anyway. | not typical in a modern safe railway environment anyway. | ||
+ | // | ||
+ | No, Minetest does not support this. There can only be one animation active at a time (global) and this animation will affect all bones in the model. I tried this.// | ||
===== Particles ===== | ===== Particles ===== | ||
Line 145: | Line 149: | ||
Seats in AdvTrains belong to groups. Each group can have permissions and default | Seats in AdvTrains belong to groups. Each group can have permissions and default | ||
- | seats. It is possible to switch | + | seats. It is possible to switch |
- | are more options with some wagons, such as the Konstal 105N which allows the | + | the seat group is not fully occupied. However, it is not possible to switch seats |
- | driver to sit at the front or back and passengers in one of four spots. | + | within a seat group. The Konstal 105N allows the driver to sit at the front or |
- | passenger wagons | + | back and passengers in one of four spots by defining one seat group for each seat. |
+ | Wagons with only one seat group have no seat selection. | ||
+ | |||
+ | Wagons commonly use '' | ||
+ | driver stand and the passenger | ||
+ | |||
+ | If no seat group is defined, the player can freely choose the seat when getting | ||
+ | on. However, this behavior appears to be provided for backward compatibility, | ||
+ | players in such wagons can only get off (i.e. they can not access wagon properties, | ||
+ | even in the driver stand, and they can only switch seats by getting off and on) | ||
+ | |||
+ | The '' | ||
+ | on, the player is put into the first seat group in the list that has a free seat | ||
+ | and (for driver seats) is accessible to the player. It is common to put the driver | ||
+ | stand in front of the passenger area in the '' | ||
The important thing is that you test your wagon to make sure all of the seats | The important thing is that you test your wagon to make sure all of the seats | ||
Line 299: | Line 317: | ||
has come before. | has come before. | ||
- | A feature | + | Features |
- | mods and I can't say how good or bad it is yet, but I can definitely say it | + | |
- | sticks out. | + | The diesel locomotives from the DlxTrains mod pack also features dynamic non-illuminating simulated exterior lighting although the effect is much more subtle than the JPN TLR600 tram and is based on the locomotive' |