You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PRE_SIGNAL type for replacenew is documented as requiring 48 sprites, but does not indicate that all need to be replaced together. However, attempting to replace only a subset gives an error.
Perhaps it's just a documentation issue then, but it should be allowed according to the docs.
What's the difference between PRE_SIGNAL_SEMAPHORE_PBS and PRE_SIGNAL, beyond the obvious sprite number difference? I noticed that OpenGFX source uses PRE_SIGNAL and 48 sprites for the entry, exit and combo light (rather than semaphore) pre-signals. Can they just be put into offset 0 of PRE_SIGNAL_SEMAPHORE_PBS?
The
PRE_SIGNAL
type forreplacenew
is documented as requiring 48 sprites, but does not indicate that all need to be replaced together. However, attempting to replace only a subset gives an error.See also: https://newgrf-specs.tt-wiki.net/wiki/NML:Replace_new_sprites
replacenew (PRE_SIGNAL) { [] }
gives:
nmlc ERROR: "ogfx2e_extra.nml", line 1: Invalid sprite count for sprite replacement type 'PRE_SIGNAL', expected 48, got 1
Similar behaviour occurs with non-empty sprites. Tested using nml 0.7.2.
The text was updated successfully, but these errors were encountered: