[Request] - Wood Rail Bridge

The place to share your custom game graphics.
Post Reply
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

[Request] - Wood Rail Bridge

Post by TheSAguy »

Hi,

I have Wooden rail that can cross water. Currently just using default rail.
Was hoping I could get slightly different rail images that look a little more like a Bridge vs Standard Rail.

Thanks.

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

This is probably no help at all; but figured I'd throw it out there.

Finished slicing functions in tool... download can be found here... viewtopic.php?f=135&t=51913

I sort of thought it would be easier to work with rail pictures in a single image instead of all the multiple images that they exist in right now.
I made a program that can composite and decompose rail images.... (the -composite flavor of the image in these shows the masks applied to the rails so you know what areas to avoid putting stuff in... The masks file is a png with the area that should be masked within each section drawn.)

https://drive.google.com/open?id=0B812E ... HppcXMxWjg (rail composits 2; standard factorio rails)
https://drive.google.com/open?id=0B812E ... U5zOXcyOWc (rail masks; probably not useful for others, was mostly a debug file for me)

https://drive.google.com/open?id=0B812E ... TB0U01DRDg (current scrap-rail composites)

composite for low res rail example. There are colored squares on the first composite image, all other images are just the image data. There are some small squares on the diagonals, these are overlaps of the sliced image where the diagonal peices are not clipped. This gives better coverage of the corners between diagonal and curved rail bits, but will overlayed on diagonals... the original images don't have any data there, but it is techincally available.... if it's semi-transparent background area it may overlap and be darker...
layer-composite.png
layer-composite.png (997.39 KiB) Viewed 7596 times
haven't actually finished the slicing part; but would only be a few hours to do so.

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

Rough draft...
bridge-demo.jpg
bridge-demo.jpg (127.44 KiB) Viewed 7555 times
Edit: Thought maybe I should try and patch it into bridge rails...
bridge-demo2.jpg
bridge-demo2.jpg (219.71 KiB) Viewed 7549 times
Attachments
lr-bridge-bed.png
lr-bridge-bed.png (208.34 KiB) Viewed 7555 times

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

Edit: Updated with better horizontals
Edit2: nevermind; low res version were displaced. have to fix my slicer...


(how do you show full res version?)
bridge-demo2.jpg
bridge-demo2.jpg (252.79 KiB) Viewed 7536 times
zipped wood bed graphics...
includes a script 'prototypes/wood_products/entities-update.lua (just copy this into tail of entities)

Didn't make remnant version

(.psd version)
https://drive.google.com/open?id=0B812E ... W9TOUY3NUE

did it in paint shop pro (.psp)
https://drive.google.com/open?id=0B812E ... kZkRXMzaW8

TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: [Request] - Wood Rail Bridge

Post by TheSAguy »

d3x0r,
I think you removed the download, I only see the PSD.
I downloaded it earlier, but it's now missing. The version I did get has an offset issue with the low res version.
(HQ looked good)
Image

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

psd should still be shared... I did remove the rail download; I tested the low res version and saw that too.
have to figure out what's causing that; the position of high res and low res chops seems to be different for some reason. the vertical rails are aligned correctly :)

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

Okay fixed alignment issues.

fixed my composite/slicer tool too ( viewtopic.php?f=135&t=51913 )


Dirt roads :)
demodirtroad.jpg
demodirtroad.jpg (152.64 KiB) Viewed 7529 times
paved roads ( this one probably needs layers...)
demogoodroad.jpg
demogoodroad.jpg (150.34 KiB) Viewed 7529 times
Attachments
woodbridge.zip
(1.5 MiB) Downloaded 139 times

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

bridge should have a drop shadow somehow... I'll work on that in a bit; need to do some work first :)

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

I don't understand how to shadow this....

I did a simple drop shadow on the top layer (bars under the ties and the ties) that is a 45 degree drop (orange line)

So along the upper-left diagonal, it's obvious the poles should be shorter, 45 degree shadows (purple lines)
But then along the horizontal top, this stops making sense, WHY? I'm confused.
howtoshadow.jpg
howtoshadow.jpg (176.47 KiB) Viewed 7525 times

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by orzelek »

With all the nice examples you posted it's a bit of a shame that devs needed to remove various rail typessince they werent fully working.
Roads with cars would be cool :D

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

orzelek wrote:With all the nice examples you posted it's a bit of a shame that devs needed to remove various rail typessince they werent fully working.
Roads with cars would be cool :D
I was thinking something like semi trucks ( even with multiple trailers)
I can in a mod protect 'this type of thing can't be placed on this type of rail' and deconstruct it back to your inventory and prevent rails of different types from being connected.

I need to start a thread to request some new vehicle animations :)

TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: [Request] - Wood Rail Bridge

Post by TheSAguy »

I agree, there is a lot of potential here d3x0r.
Hope you do something like truck, would be fun.
Looking very nice.

I can't help out with the shadows, but they don't have to be 100%, they are on water, so you can blame refraction of the water :)

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

haha I guess

I didn't notice before... shadows aren't all the same direction :)

http://i.imgur.com/Lx2KDvJ.png

I'll probably finish shadows today somtime...

I do like the shadows from the posts added... but that's lots of little lines to draw :)
I'll probably make the 'bed-background' layer be the shadow and just use the posts on -bed layer.
shadowdemo.jpg
shadowdemo.jpg (135.85 KiB) Viewed 7473 times

TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: [Request] - Wood Rail Bridge

Post by TheSAguy »

Cool, I'll wait for that before releasing the next version.

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

Okay. (zip attached)
lrdemo.jpg
lrdemo.jpg (186.9 KiB) Viewed 7458 times
There's an issue (sort of) with factorio rendering variations...
The bed, and bed-background layers don't get the same variation in the same spot nessecarily...
bad-shadow.jpg
bad-shadow.jpg (24.69 KiB) Viewed 7458 times
good-shadow.jpg
good-shadow.jpg (32.28 KiB) Viewed 7458 times
Attachments
woodbridge.zip
(3.73 MiB) Downloaded 126 times

d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Re: [Request] - Wood Rail Bridge

Post by d3x0r »

(and more off-topic) I exported my paved road in layers....
road-demo.jpg
road-demo.jpg (24.16 KiB) Viewed 7458 times

Post Reply

Return to “Texture Packs”