User Tools

Site Tools


dev:art:trainpacks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dev:art:trainpacks [2023-03-20 07:56]
blockhead created
dev:art:trainpacks [2023-11-09 11:47] (current)
orwell [Animation]
Line 35: Line 35:
 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 42:
 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://minetest.gitlab.io/minetest/translations/|an API]]
 +for translations. Client-side translation is preferred in most cases.
  
 ===== Animation ===== ===== Animation =====
Line 52: Line 56:
 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.//  --- //orwell 2023-11-09 11:44//
 ===== Particles ===== ===== Particles =====
  
Line 145: Line 150:
  
 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 while on board a train. Sometimes there +seats. It is possible to switch seat groups while on board a train, provided that 
-are more options with some wagonssuch 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. Some +within a seat group. The Konstal 105N allows the driver to sit at the front or 
-passenger wagons have no drivers seat and no passenger seat selection.+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 ''dstand'' and ''pass'' as the seat group indices for the 
 +driver stand and the passenger area, respectively. 
 + 
 +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, as 
 +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 ''assign_to_seat_group'' defines a list of seat groups. When a player gets 
 +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 ''assign_to_seat_group'' table.
  
 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 318:
 has come before. has come before.
  
-A feature of the JPN TLR600 tram is headlights. This is not present in other +Features of the JPN TLR600 tram are non-illuminating simulated headlights and interior cabin illumination during in-game night hours. This combination is not present in other mods and I can't say how good or bad it is yet, but I can definitely say it sticks out. 
-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's movement rather than in-game time of day. These lights are off when the locomotive is stationary and turned on while moving. Also, they are activated appropriately for their direction of travel based on the era and regional regulations of their real world prototypes. The European G1206 diesel locomotive, for example, has white lights turned on in the forward direction of movement and red lights in the rearward direction regardless of the locomotive's orientation while the North American SW1500 diesel locomotive has white lights turned on in both directions whenever moving. 
  
dev/art/trainpacks.1679295400.txt.gz · Last modified: 2023-03-20 07:56 by blockhead