]> git.lizzy.rs Git - signs_lib.git/commit
Add necessary bits to allow signs to be placed onto horizontal poles
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>
Sat, 21 Sep 2019 19:45:48 +0000 (15:45 -0400)
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>
Sat, 21 Sep 2019 19:45:48 +0000 (15:45 -0400)
commit9502812088be43b80fb4efff4b995ec244f2df73
tree1831369499c20b47a7228971d46af865c1a2369b
parentc66c1b70bdb4ed63ca029d20b53b7b3633ca4db7
Add necessary bits to allow signs to be placed onto horizontal poles
(both wooden and steel signs)

only streets mod's "bigpole" supported for now.

Model changes:

To make a sign support horizontal mounting, make a single "_onpole"
model, with two copies of the pole mount, one rotated by 90°.  Make sure
the second copy appears has its own material entry, and that it is last
in the materials list in the exported .obj (`grep "g " file.obj` to
check).

When registered, signs_lib will set the "_onpole" and "_onpole_horiz"
tiles{} to reveal one mount or the other: entry 3 will expose the
vertical mount, entry 4 is the horizontal copy, with the opposite entry
being set to the "blank" image.
api.lua
models/signs_lib_standard_wall_sign_facedir_onpole.obj
models/signs_lib_standard_wall_sign_onpole.obj
standard_signs.lua
textures/signs_lib_blank.png [new file with mode: 0644]