166 Commits

Author SHA1 Message Date
Vanessa Dannenberg
b27fbbc388 Add signs:
D9-2: general service: hospital
D9-6: general service: handicapped
D9-7: general service: gas/fuel
D9-8: general service: food
D9-9: general service: lodging
D9-11b: general service:  EV charging
2018-09-30 02:44:10 -04:00
Vanessa Dannenberg
1584b453e8 add R6-3 (divided highway with cross road) 2018-09-30 02:12:56 -04:00
Vanessa Dannenberg
79878225ba add W1-7: two direction large arrow (i.e. road ends at a "T", must go right or left) 2018-09-30 01:48:50 -04:00
Vanessa Dannenberg
014a387183 added R6-1 (one-way to left, and to-right variant) 2018-09-30 01:25:11 -04:00
Vanessa Dannenberg
0ebd6254f1 Add R3-5 (left, right turn only) and R3-5a (straight only) 2018-09-30 01:07:23 -04:00
Vanessa Dannenberg
c517bd23b4 Aadd more signs:
R3-1: no right turn
R3-2: no left turn
R3-4: no U-turn
R3-7: Left lane must turn left (plus "turn right" variant)
R3-27: no straight through
2018-09-30 00:59:02 -04:00
Vanessa Dannenberg
6798a06953 Add R6-4b Roundabout Directional (4 chevrons) 2018-09-29 23:33:10 -04:00
Vanessa Dannenberg
1d388bb4a6 add W10-1: advance railroad grade crossing warning
reworked R15-1 to fix edge UV mapping
2018-09-29 23:11:22 -04:00
Vanessa Dannenberg
4ca9d42e41 Fix node names on R10-8 and R10-11 2018-09-29 22:50:47 -04:00
Vanessa Dannenberg
7ed2732af7 add R15-1 Railroad grade crossbuck (the X-shaped one) 2018-09-29 22:50:31 -04:00
Vanessa Dannenberg
26c9beef73 Added a bunch of signs:
W2-1: cross roads ahead
W2-2: side road ahead (right, left)
W2-4: T junction ahead
W2-6: roundabout ahead
W2-7L, R:  Offset side roads ahead (left first, right first)
W12-2: low clearance (one line editable)
W7-1a: hill with grade (one line editable)

renamed textures for divided highway begins, ends
2018-09-29 22:04:09 -04:00
Vanessa Dannenberg
9ef0a5863f Add W6-1,2 (divided highway begins, ends)
fix minor derp in onpole loop
2018-09-29 20:53:57 -04:00
Vanessa Dannenberg
d69344cd4c rename selection box generator function
make it take X/Y size values in inches instead of a nodebox/wall-box table
and auto-generate selection/collision boxes from that and the on-pole flag
2018-09-29 20:12:22 -04:00
Vanessa Dannenberg
fe0b4db200 move a couple more functions to api.lua
get rid of some inderect function references in node defs
2018-09-29 19:34:16 -04:00
Vanessa Dannenberg
106cf00f09 Add R10-12 (left turn yield on green light)
and R10-23 (crosswalk - stop on red light)
2018-09-29 19:22:58 -04:00
Vanessa Dannenberg
27276e4036 build old_signs table from signs_equiv instead of declaring it outright. 2018-09-29 18:51:18 -04:00
Vanessa Dannenberg
9f4116e3e1 split init.lua into files by role 2018-09-29 18:37:04 -04:00
Vanessa Dannenberg
fd3f13972e restore missing model file 2018-09-29 17:06:56 -04:00
Vanessa Dannenberg
e960923bcd reworked all of the smaller models and most images
for consistency in size (per MUTCD for multi-lane conventional roads).  This
had the side benefit of reducing the number of unique models, also.

Some signs are bigger than before, some are smaller.  All of the reworked
models are now 50 mm thick (a bit thinner than before).

Also, consistent image resolution -- all reworked signs' graphics are
256px, which means most of them are lower resolution than before, but not
enough to make a big impact in quality.

Also, split the pole mount and the signs' eging from the main texture,
otherwise positions of these things in a sign image are unpredictable.

Got rid of all the entity UV guides images, as they're all invalid now.
2018-09-29 08:24:48 -04:00
Vanessa Dannenberg
87cfdede7b add "no turn on red light"
and "use lane with green arrow"
2018-09-29 00:01:38 -04:00
Vanessa Dannenberg
45ff960a15 make that function auto-generate floor and ceiling boxes from the wall box. 2018-09-28 23:00:10 -04:00
Vanessa Dannenberg
9e45672d13 functionalize shifting coll/sel boxes for on-pole placement
(rather than each node needing an if/then cbox=/else cbox=/end clause)
2018-09-28 22:41:19 -04:00
Vanessa Dannenberg
d66c1391c5 fix wrong selection box on "do not enter" 2018-09-28 22:21:43 -04:00
Vanessa Dannenberg
03207860ad fix wrong image on stop for ped. in crosswalk 2018-09-28 22:17:05 -04:00
Vanessa Dannenberg
3d47cba0f4 Most signs had an extaneous black outline (that is, in addition to the
black outline the sign should have anyway, making two outlines).  Fixed.
2018-09-28 22:14:22 -04:00
Vanessa Dannenberg
5ba5b9cf8d add R4-8 (keep left) and R10-5 (left on green arrow only) 2018-09-28 21:16:37 -04:00
Vanessa Dannenberg
ebe854c4d2 add MUTCD ID numbers to all signs where possible
rewrite a few descriptions to accommodate
replace mentions of "Basic" with "Generic" since those are all editable signs
2018-09-28 20:23:08 -04:00
Vanessa Dannenberg
9217e256a5 remove "m/s" from speed limit sign 2018-09-27 16:43:46 -04:00
Vanessa Dannenberg
c4ef1a19f0 add "stop here on red" sign 2018-09-27 10:32:34 -04:00
Vanessa Dannenberg
0421fc92ad add "wrong way" sign 2018-09-27 10:00:32 -04:00
Vanessa Dannenberg
3734688684 add do-not-enter sign 2018-09-27 09:38:04 -04:00
Vanessa Dannenberg
29005d38d6 fix sizes of US Route (24x24 regulatory) and US Interstate signs
to better comply with MUTCD 2009
2018-09-27 09:01:03 -04:00
Vanessa Dannenberg
e0a1f313c7 add "keep right" sign 2018-09-27 08:28:16 -04:00
Vanessa Dannenberg
fed550ca52 fix wrong selection box on image-only signs 2018-09-27 07:54:00 -04:00
Vanessa Dannenberg
42ff069415 Add speed limit sign 2018-09-27 07:23:48 -04:00
Vanessa Dannenberg
e20baa4999 add left- and right-lane-ends signs (W4-2 and mirror) 2018-09-27 05:23:06 -04:00
Vanessa Dannenberg
a486a57084 added two-way and merging traffic signs 2018-09-27 05:13:10 -04:00
Vanessa Dannenberg
0ba346139b add type 3 object markers (l, c, r) 2018-09-27 05:01:01 -04:00
Vanessa Dannenberg
e5f057fd65 fix missing check for coloredwood fences 2018-09-27 04:24:37 -04:00
Vanessa Dannenberg
f809be39e0 add stop-ahead, signal-ahead, and yield-ahead signs 2018-09-27 04:22:32 -04:00
Vanessa Dannenberg
8471420ae3 add wield images where needed 2018-09-27 03:56:04 -04:00
Vanessa Dannenberg
eb5eb8dcc9 add "stop for pedestrian" (in-crosswal) sign 2018-09-27 03:49:39 -04:00
Vanessa Dannenberg
b350098e3e check for "fencelike" drawtype instead of specific nodes
that way it works on more kinds of fences.
2018-09-27 02:19:06 -04:00
Vanessa Dannenberg
6002d55901 move custom after_place_node out of loop. derp :P 2018-09-27 02:14:38 -04:00
Vanessa Dannenberg
2d790e5740 convert roads/infrastructure signs to street signs versions
(and un-register them and their recipes)
2018-09-27 02:12:24 -04:00
Vanessa Dannenberg
1b705a4227 add stop, yield, and pedestrian crossing signs 2018-09-27 01:44:53 -04:00
Vanessa Dannenberg
6b5bddfacd make on-pole variants of the smaller signs
fully automatic placement of US route, US interstate, or yellow or
orange warning diamonds on a pole.  works with:

* all default fences
* homedecor's fences
* gloopblocks steel fence
* coloredwood fences
* Bobblocks "pole" and "wavypole" (which are fences also)
* streets signal/streetlight bigpole (straight piece only, only when vertical)
2018-09-26 22:24:25 -04:00
Vanessa Dannenberg
ca84272bf5 remove a debug print 2018-09-26 05:18:10 -04:00
Vanessa Dannenberg
ec67529419 add/fix screwdriver handling 2018-09-26 04:23:53 -04:00
Vanessa Dannenberg
561b8c68a9 fix LBM not restoring all signs 2018-09-26 04:00:36 -04:00