The International Simutrans Forum

PakSets and Customization => Pak128 Add-ons and Graphics => Pak128 => Pak128 Incorporated Add-ons and Graphics => Topic started by: Sarlock on October 11, 2012, 07:10:43 AM

Title: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 11, 2012, 07:10:43 AM
After days and days of working with trees, I wanted to do something else for a few hours, so I tried my hand at a building tonight.  So here is SFC, Simutrans Fried Chicken, a fast food restaurant coming to a city block near you.

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc-outlet-1.png)

I'd love some feedback and tips/pointers.  I've learned a lot of things working with the trees and I've applied much of what I've learned to this building.  I think I might model this same building in 3D in blender and see what it comes out with in comparison.  So far my blender trees haven't impressed me.  You can see my "best" attempt in the picture below.

I was thinking that a big sign on the roof with SFC on it might work.  I might also make it less of a box and break up the back roof line by making the building an "L" shape instead.  I'd like to create a set of one-story commercial outlets, fast food joints, etc.

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc-outlet-1-ingame.png)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on October 11, 2012, 08:44:02 AM
It's lovely.

A big sign on the roof would be great, maybe inspired to the Colonel ;) (I'm picturing Isaac as the Colonel, hahahahaha)

The pavement in front of the corner entrance should be pavement-style, IMO.

Being a new building, I expect it to have 4 rotations.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on October 11, 2012, 09:16:15 AM
Excellent !
Could not we add in food chain ?
For example we already have a farm of chickens which supplies with some meat...
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Roads on October 11, 2012, 11:07:41 AM
Sarlock the chicken place looks good!  You might try making it rectangular with a drive way around it but it is real good the way it is.

mEGa, I think the chicken idea is great!  I almost always have a chicken farm because of the fertilizer (bulk, you know), and it would be good to have somewhere to carry the chicken instead of a food factory or the little plant that requires steel.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Markohs on October 11, 2012, 11:35:21 AM
Looks pretty good!
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 11, 2012, 02:26:14 PM
mEGa, Roads: Great idea, I think I'll do that.  Having another urban end user for goods would be nice.  I enjoy hauling in to the middle of cities, it adds to the challenge, fun and realism.  VS's new road freight station will be useful.
If I make it for that, I might increase it to a 2x1 size and add a bit of parking and a drive-thru.

Fabio: I'll change the pavement in front of the door, good suggestion.  And I will definitely give it 4 rotations and a snow version once I finalize the front shot.

Thanks for the feedback everyone!  Next step is to put it in to blender and render it there and compare.  blender will make rotations much easier to do.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 11, 2012, 04:43:56 PM
Sarlock
Nice building.
We Need more smaller factorys.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac Eiland-Hall on October 11, 2012, 06:00:43 PM
Obviously not an American place - no drive through! ;-)

But seriously - looks great :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: VS on October 11, 2012, 08:12:55 PM
Isaac as the colonel... now that would be an insider joke :D

The pavement is a small detail, but very important. It's what makes the city look seamless. If the reasoning is that it's a step from other material, you should try making the height a bit more noticeable :)

Quote from: Fabio on October 11, 2012, 08:44:02 AM
Being a new building, I expect it to have 4 rotations.
Someone's picky :D But yes, this would be nice. It's possible to cheat that requirement a bit, if you make the building symmetrical (thus needing only 2 rotations). 3D helps a lot in this aspect, as you can just render all 4 views and be done with it.

Re drive-through: In America, put a cow catcher on Hummer and it's instantly drive-through for low level buildings. I've seen that in American movies, must be true ;D (Also - in Soviet Russia, restaurant drives through you?)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 16, 2012, 03:51:08 AM
This one's for you, Colonel, king of the Simutrans Fried Chicken empire:

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc-outlet-2.png)

It's not done yet, but I had such a good chuckle that I had to share it at this halfway stage.  If you don't like your portrait, let me know... but it's so blurry you can barely make it out on the sign anyhow :)

Putting the words on the bucket on the roof was interesting as I had to learn UV mapping.  It's one of the many blender adventures that has made me lose some of my brain cells...

(http://www.elvenorder.com/sar/images/simutrans/addons/images/col_isaac.png)

:)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: IgorEliezer on October 16, 2012, 04:33:55 AM
Quote from: Sarlock on October 16, 2012, 03:51:08 AM(http://www.elvenorder.com/sar/images/simutrans/addons/images/col_isaac.png)
*giggles*

Isaac was promoted from Benevolent Dictator to SFC Colonel.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 16, 2012, 07:27:06 AM
Mostly finished SFC outlet.  I need to do a bit of post-blender editing in GIMP to clean up the edges a bit, it's a bit "fuzzy" but I will only do that once I am happy with the final design.  I want to see if I can get the letters "SFC" to be clear on the bucket on the roof.

Some final editing and I'll work on a parking lot beside it and make it into a factory for end-user chicken consumption.  VS's road freight depot will be useful for this type of urban delivery.

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc2.png)

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc-outlet-2-ingame.png)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Markohs on October 16, 2012, 07:44:29 AM
aaahahahahahaah nice job!!! XD

What's with the X-theater on the west? :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on October 16, 2012, 08:01:55 AM
Very good joke and nice work.
I improved colonel's face in the file (been enhanced contrast and sharpness with Gimp).
What do you mean about it ?

Note :
don't forget the night light. What part of SFC logo you wish enlighten ?
We can also create a light line along walls.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Roads on October 16, 2012, 10:40:24 AM
It is extraordinary!  Sarlock if you and mEGa worked together on this, y'all make a helluva team!

My little Simus are already lining up to buy chicken! :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 16, 2012, 02:13:33 PM
Thank you, mEGa, that looks great!  I'll cut that out and keep that so that I can paste it back when I re-render the image.

I hadn't thought about the night lights much yet until I had finished the building, but I was going to do the windows and the logo, depending on whether the available color selections work (our choices are limited!).  A light line along the walls would look nice as well!

I am just working on the back side of the building right now, adding a couple of doors, garbage bin, etc, and then will create the parking lot and complete the 1x2 factory.

The vents and AC units on the roof need a bit more definition, they came out a bit blurry in the render.  I might just use the ones I made from the original SFC building that I hand-drew.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on October 16, 2012, 02:17:47 PM
The SFC logo can use red light ;)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 16, 2012, 07:43:00 PM
Those Building are very cool.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac Eiland-Hall on October 16, 2012, 09:21:31 PM
ROFL

Oh, man... that's... that's great. That is HILARIOUS.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 16, 2012, 11:13:03 PM
I've done a bunch of work on the back of the building.  I discovered that I get a crisper image (but less anti-aliased) in blender if I do a 1280x1280 image and then zoom it out and then take a screenshot of the result rather than render at 128x128.  Take a look:

Image using zoom and screenshot: (http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_1.png)

Image using 128x128 render: (http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_2.png)

What do you think?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Lmallet on October 17, 2012, 01:21:15 AM
The arrow by the window, that would be for a British drive-"through"?

PS:  I like the colonel!
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 17, 2012, 05:39:49 AM
Haha, yes, you saw that... I was going to put the drive-thru on the other side but I liked it more on that side... so right handed drivers are going to have to lean way over to get their bucket of fried chicken from the colonel...
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 17, 2012, 06:58:41 PM
Woh!
that it very cool. 8)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: sdog on October 17, 2012, 07:29:52 PM
mentioned on simutrans g+ site:
https://plus.google.com/115377746519459832106/posts/hUY3bRLYJye
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 19, 2012, 06:47:32 AM
Thanks for the mention, sdog :)

Alright, I think I'm pretty close to the final version for the first SFC building (1x2 factory, actually).  I'm pretty happy with the 3D render, so I did some post-render pixel work to come up with a near finished product.

I wasn't sure which way to go with the pavement, I went with a dark asphalt and also the res/com sidewalk texture.

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_3.png)

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_3_sidewalktone.png)

Is it preferable to use the standard texture?

Also, I chose to use the more "pixelated" version of the render rather than the smoothed anti-aliased version.  I think it fits a bit better into pak128 when the lines are a bit more defined rather than everything all smoothed (or even washed) out.

Input wanted!  Then I can make the final few changes, make the 4 rotations and snow versions and make this a final release.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: VS on October 19, 2012, 07:45:18 AM
For the parking area, I would choose asphalt similar to that of city roads - not so BLACK IN YOUR FACE :) That's all...

BTW, this is nice, I hoped for some simpler chains that the existing 4-level monsters! There is no way to guarantee that it will require only chicken, though. The goods type is meat, so sheep and cows might get accidentally into the kitchen, too :D
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 19, 2012, 08:11:39 AM
Done!

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_3_asphalt.png)

Thank goodness for layers.

That's the asphalt texture from the city roads.

And now I'm going to bed.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on October 19, 2012, 08:26:10 AM
The result is really promising ! Fine.  ;)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: sdog on October 19, 2012, 04:30:24 PM
QuoteBTW, this is nice, I hoped for some simpler chains that the existing 4-level monsters! There is no way to guarantee that it will require only chicken, though. The goods type is meat, so sheep and cows might get accidentally into the kitchen, too

To simplify it the chicken are brought there directly from the farm :-P
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 19, 2012, 05:24:05 PM
Sarlock
It Those Building for Leftdrived Cars?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 19, 2012, 06:32:19 PM
Haha, yes, I figured I'd make the Brits in the room happy.  It just looked nicer doing the drive thru on that side.  I tried on the opposide side but I liked it more over there.  I'm sure everyone can overlook that very minor technicality  ;)

I could remove the arrow on the wall to make it a bit more ambiguous.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on October 19, 2012, 10:28:27 PM
The arrow could be simply inverted, i.e. entering from east, with the delivery window conveniently on the left side of the car.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac Eiland-Hall on October 19, 2012, 11:10:40 PM
Or two arrows pointing at each other, ensuring lots of crashes and money for local repair shops. :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 19, 2012, 11:45:35 PM
I removed the arrow completely and put a sign at the entrance on the right... now you can enter driving on the left or the right and the drive thru works :)  Both sides can be happy!

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_3_asphalt2.png)

Any further thoughts or comments?  I'll produce the 4 rotations and snow versions if we're happy with this.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on October 20, 2012, 07:49:45 AM
For me it's okay. Don't change anything. Excellent.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Markohs on October 20, 2012, 06:43:37 PM
You didnt include Isaac's face at the end?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac Eiland-Hall on October 20, 2012, 08:30:33 PM
Markohs: four rotations :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 20, 2012, 10:58:31 PM
Yes, he's on the front of the building :)
I'm showing the back rotation because it's the best view to see the entire parking lot and other things I've added to the back of the building.

I think I'll use a smaller version of car for the props so that they are to scale with the building.  I might even try and render some in 3D and see how they look (it'll make the rotations easier).  Then 4 rotations, do the post-render editing, add 4 snow rotations and our end-user chicken factory is ready to go.  If some of the franchise owners try and cut costs and include other meat, well... the patrons probably won't notice the difference ;)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 26, 2012, 06:47:37 AM
It's back... more chicken... more fried yumminess... it's time for Simutrans Fried Chicken!

I've made some changes here and there and produced the 4 rotations.  It took a bit of post-blender processing time, so I'm hoping that these are the final versions.  (then I'll add snow, which should be fairly easy for this building)

Have a good look and see if you can see anything strange that I may have missed.  I've done a lot of blender today and I've gone a little cross-eyed.   :o

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_4_asphalt_SE.png)(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_4_asphalt-SW.png)

(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_4_asphalt-NE.png)(http://www.elvenorder.com/sar/images/simutrans/addons/images/sfc_back_4_asphalt-NW.png)


[Edit]

And I will add night lighting :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on October 26, 2012, 08:53:02 AM
Awesome!

Note: Could you just anti-alias the yellow parking stripes?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 26, 2012, 02:31:29 PM
You bet, easy to do... they didn't come out of blender very nice so I had to fix them and I think I "fixed" them a little too much... easy to do :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 26, 2012, 11:23:44 PM
The Simutrans Fried Chicken building looks very great out. 8)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac Eiland-Hall on October 27, 2012, 06:16:19 AM
My wife and I were tired after working an event at her school, so we happened to stop at KFC. Very timely. :D
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 27, 2012, 07:21:08 AM
How timely indeed!

Put this in your game and "wow" her...

http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.pak (http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.pak)


This is a test model.  Single rotation, no snow, no night lights yet.  I added a special feature.

Here is the .dat file:

http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.dat (http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.dat)

.png:

http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.png (http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.png)

As I am unfamiliar with balancing and play testing factories, could someone be kind enough to see if I've set my numbers anywhere near what they should be?  Also, map color... do we have a convention/system that we follow for that?

I figured being an urban "factory" that having an electricity boost wasn't necessary.  We can assume it would already be plugged in to the grid and its base numbers would already include the electrical bonus.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on October 27, 2012, 10:26:28 AM
Quote from: Sarlock on October 27, 2012, 07:21:08 AM
Here is the .dat file:
I'll test it soon
Quote from: Sarlock on October 27, 2012, 07:21:08 AM
As I am unfamiliar with balancing and play testing factories, could someone be kind enough to see if I've set my numbers anywhere near what they should be?  Also, map color... do we have a convention/system that we follow for that?
an example to begin :
Location=City
intro_year=1980
intro_month=1
retire_year=2050
retire_month=12
DistributionWeight=1
Productivity=300
Range=200
pax_level=5
InputGood[0]=chicken
InputFactor[0]=30
InputCapacity[0]=200
InputSupplier[0]=0

I really don't know when real enterprise is created in USA. I wrote 1970...  :P
With "300" for productivity and "200" for InputCapacity, the flow of good will be rather important as reality (many chickens are consumed ?)
Quote from: Sarlock on October 27, 2012, 07:21:08 AM
I figured being an urban "factory" that having an electricity boost wasn't necessary.  We can assume it would already be plugged in to the grid and its base numbers would already include the electrical bonus.
I agree.

EDIT :
Oups I forgot :
Congrats Sarlock (Last SMSC result)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac Eiland-Hall on October 27, 2012, 04:42:26 PM
A little informal research (so no links) and I suggest 1960-1970 as a start time. 1960s saw drive-through restaurants taking off; 1970 saw *branded* ones taking off, i.e. McDonald's and others started to get big around the latter time; a lot of no-name and big-names-that-weren't-bit-yet closer to 1960... so depends on which way you want to do it. :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 27, 2012, 05:13:54 PM
I've put 1978 in the .dat and .pak that I provided... it's a somewhat "modern" store design I used, so I figured 1978 would work fine.  Easily changed, of course.

This is what I've used to start:

Obj=factory
name=SimutransFriedChicken
Location=City
copyright=Sarlock

DistributionWeight=4
Productivity=200
Range=140

Electricity_amount=0
Electricity_boost=0
Mail_demand=10
Mail_boost=0
Passenger_demand=40
Passenger_boost=0

InputGood[0]=meat
InputCapacity[0]=400
InputSupplier[0]=0

MapColor=140

Passengers=25
intro_year=1978
chance=100
dims=1,2,1


Not sure about color, range and whether capacity and passenger/mail counts are appropriate.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Vladki on October 27, 2012, 08:11:11 PM
Nice fast food ;) Thanks.

Quote
Not sure about color, range and whether capacity and passenger/mail counts are appropriate.

Meat consumption - just decide, how many SFCs should be supplied by one chicken farm? Or vice versa? How many farms are needed to supply one SFC? I have no idea of the amount of meat eaten there, but I think one big farm should feed a few SFCs so just look at chickenfarm.dat and divide the production by 2-5.

Capacity - should be big enough to allow for smooth delivery of goods. It should provide supply for the same time as the train/truck makes the round trip to the supplier. Start with the same number as consumption and play a while. Try to oversupply the SFC. When it is over its capacity, chicken farm will stop supplying meat. All trucks/trains will be waiting at chicken farm until the input capacity goes below limit. If the SFC storage gets empty before the first convoy delivers meat, then increase the input capacity accordingly.
However, this sort of industry should have as small input storage as possible. No one wants to eat old meat. JIT delivery is important.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 27, 2012, 10:36:45 PM
Lots of playing with the SFC today to try and balance out the settings.  Here's what I have now:

Obj=factory
name=SimutransFriedChicken
Location=City
copyright=Sarlock

DistributionWeight=4
Productivity=30
Range=20

Electricity_amount=0
Electricity_boost=0
Mail_demand=10
Mail_boost=0
Passenger_demand=50
Passenger_boost=1500

InputGood[0]=meat
InputCapacity[0]=40
InputSupplier[0]=0

MapColor=140

Passengers=25
intro_year=1978
chance=100
dims=1,2,1


It balances out around 2-4 SFC's per chicken farm, depending on the variability of production rates.  I've put in a 150% passenger boost for the SFC.  No passengers, not much chicken eaten...

New .pak file:

http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.pak (http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.pak)

I'll get to work on other rotations, snow and lights.

Question about animations: Does it store a complete image for every step of the animation or only the sections of the image that change?  It'll help me decide whether to do animations for the other 3 rotations or not.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on October 27, 2012, 10:49:04 PM
It should store a complete image. But you could put the animation in the front image, so only that one would change.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 28, 2012, 09:32:08 AM
Sarlock
in the pngfiles that you on
http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.png
uploaded have give a bug!
It give only on Building on it.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac_Clarke on October 29, 2012, 07:27:07 PM
This addon is excellent because  my citizens were tired of eating only canned food :/ It will change their gastronomic culture :D Congratulations Sarlock! Hope to see more addons in the future
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 30, 2012, 05:35:18 AM
Quote from: greenling on October 28, 2012, 09:32:08 AM
Sarlock
in the pngfiles that you on
http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.png
uploaded have give a bug!
It give only on Building on it.

Greenling, it only has one rotation in it.  That has 9 images for the animation sequence (the chicken bucket rotates).
I'll include the other rotations and snow soon, just wanted to test the factory settings to strike a decent balance.
I'll put the bucket rotation on FrontImage.  Still deciding whether to animate the other 3 rotations or just the front one.  4 rotations+snow=8 x 9=72 images if I do animations for all.  (yike!)

And Isaac... many more addons to come... I'm just getting warmed up  ;)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on October 30, 2012, 07:16:59 AM
Sarlock, the rotating bucket is the one on top of the building, right? isn't it identical in the 4 variations?
You don't need more rotations if it's in front image. Just reuse the same animation frames applying an XY offset for the other views in the dat file.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 30, 2012, 07:31:53 PM
Ah.
why have you that not said early. :o
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 30, 2012, 08:29:47 PM
Fabio, the shadow moves behind the bucket, so I don't think I can borrow the same animation sequence for each rotation, I'd have to make new sequences each time.  If I remove the shadow, I could probably do it with using the same images.  I'll test to see if it looks okay with the shadow missing.

Greenling, I said above that it was just a test model, single rotation, no snow, no night lights.  You probably just missed it :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on October 31, 2012, 07:10:22 AM
After much trial and error, I finally got it to work with a FrontImage using the same 8 tile animation sequence for all 4 rotations.  I made the shadow static and the small amount of swivel of the bucket wasn't enough to make it noticeable on the lack of shadow movement.  It took a LONG time to get all 8 animations to line up properly!  Not only did the bucket rotate around a centre point at the bottom but it is also tilted on its axis of rotation so it swivels around in an arc at the top (it wobbles).  Very tricky!  But I think I've mostly got it now, I can't see any big errors with the animation sequence.

PAK FILE

http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.pak (http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.pak)

DAT and PNG FILE:

http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.png (http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.png)
http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.dat (http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.dat)

Let me know if you find any errors that I've overlooked.  I'm going to work on night colours and snow.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on October 31, 2012, 04:22:18 PM
Sarlock
That it a very good work.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: grampybear on November 05, 2012, 07:37:25 PM
This is a wonderful urban addition, but, Simu's do not live on meat alone. Perhaps for you next release you could add milk ( for the young ) and beer for us older folks.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 06, 2012, 08:22:27 AM
Winter version of SFC finished, version 1.0:

(http://www.elvenorder.com/simutrans/addons-wip/sfc_winter.png)

This took quite a while to do (4 rotations x 2 tiles each = 8 tiles).  I am going to work on adding the snow to my renders in future and see if I can make it work (it would save a ton of time!).

Thoughts/comments?  Anything look really odd or doesn't make sense?  Oh, and ignore the roof part, that's where the bucket rotates, so it's just half a shadow needed on the right side.

I used a better 3D render for these images based on the feedback from some other render test subjects.  The lines are more "crisper" and less blurred than previous renders.  I think it fits better with the pak128 style using this render method.

I didn't put any snow on the red awnings because it just didn't look right.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: VS on November 06, 2012, 11:32:56 AM
Beautiful!
Title: Re: Simutrans Fried Chicken (SFC)
Post by: The Hood on November 06, 2012, 01:41:01 PM
This building is so funny I'd love to adapt it for inclusion in pak128.Britain. Would you mind sending me the blender file so I can render it using pak128.Britain settings?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 06, 2012, 03:36:47 PM
You bet, once I think this building is in its final incarnation (which I think it is) I'll link the .blend file here and you can go to work adapting it for pak128.Britain :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on November 06, 2012, 09:08:43 PM
I definitively vote for it. Excellent !
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on November 06, 2012, 09:24:04 PM
Very, very nice! 
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 08, 2012, 12:51:29 AM
And one final step... night lights!

Windows, easy... but I was having some trouble doing anything meaningful with the sign on the front... there isn't enough night light colours available to be able to do much with it without ruining the image.

I put a red light on the SFC bucket on the roof, seems to look good at night and still fine during the day.

I also experimented with red lights running under the windows, but I'm not sure if I like it.

Let me know what you think.

(http://www.elvenorder.com/simutrans/addons-wip/simutrans_fried_chicken.png)

Compare red lights under window and on sign vs. winter picture:
(http://www.elvenorder.com/simutrans/addons-wip/sfc-night.png)

With the final decision on the night lights, that will complete the SFC project for full release.

[EDIT]
Changed daytime pictures to have sharper resolution rendering like the snow ones had.  I like that style of 3D render better for Simutrans, it's a bit "crisper" of an image (less blurry).
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on November 08, 2012, 08:05:44 AM
I like idea of colonel's sign neon... But in fact, at present, it is not very fine than enlightened version. May be 2 suggestions :
1. apply  twinkling effect (you can easily because neon is only in one picture)
or
2. Mark outline of the colonel's face with night color (grey values) : outline of glasses,   outline of beard.

Well, rest is really good IMHO. Oner more time : gorgeous !

EDIT :
I tested first suggestion... Finally, it is rather difficult as you can see on joined file
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on November 08, 2012, 10:41:43 AM
My God! THe colonel's face in the last pics just looks diabolic! The concept is good, but it's definitely scary!

It's probably just the eyes: maybe the glasses in night color but the lenses (and hence the eyes) in normal color would make him more benevolent... ???
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on November 08, 2012, 12:44:23 PM
Quote from: Fabio on November 08, 2012, 10:41:43 AM
My God! THe colonel's face in the last pics just looks diabolic! The concept is good, but it's definitely scary!
Colonel lives near nuclear plant ! :-)
I admit it was just a fast test. I ask me first suggestion will be better. Just make twinkling red light...

EDIT : I tested with mixed suggestions (neon sign with animation).
(http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:sfc_colonel_neon_sign.gif)

See joined file for source with grey colors values.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Fabio on November 08, 2012, 03:20:09 PM
This Colonel is much more benevolent! :D
I like it!
Title: Re: Simutrans Fried Chicken (SFC)
Post by: sdog on November 08, 2012, 06:49:16 PM
Don't forget, it's not the colonel, it's the benevolent dictator.

i think the large flashing image would annoy me when playing.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 08, 2012, 06:57:45 PM
Beware!  Big Brother is watching!  Haha!

Not sure, I think sdog might be right, the blinking might be a bit much.  Then again, how often do people play at night?

My available animation sequence is 8 tiles long since I already have the bucket as FrontImage, so I could do an 8 sequence light show with the colonel for no extra image requirements... what to do, though... hmm!

Do the red lights under the window sill look okay or should I not put them there?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: greenling on November 08, 2012, 06:59:20 PM
The Flashing neon do i not like. ::(
Title: Re: Simutrans Fried Chicken (SFC)
Post by: VS on November 08, 2012, 07:15:13 PM
Guys... guys...

This is GREAT :D
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 09, 2012, 06:23:10 AM
Hmmm... major challenges.  I've decided I don't like the red lights under the windows, they are too bright on the dark side of the building during the daylight.

Realized that I can't do an 8-stage animation for the front colonel because the bucket is used for all 4 rotations, not just the front one... unless I want to add 8 more images just to add the colonel animation which I don't think I want to do (I don't want to make this building have 32 images, it already has 24 which is enough).

The problem with the blinking sequence is that it will also be visible during the day which is not my ideal situation.

Maybe it's best kept dark until if/when the day ever arises that we have customizable night colours available, then something customized can be done with those specific colours.  Maybe I'll just add some LED-like lights around the edge of the colonel and leave it at that.  I'll play with it some more and see what happens.  :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Isaac Eiland-Hall on November 09, 2012, 06:36:57 AM
I don't know how I feel about the animation... but I can say with certainty that people don't want me flashing them! (For non-native English speakers, "flashing" can refer to exposing one's parts that shouldn't be exposed for the shock value).

That aside... I dunno- the animation was neat, but it didn't flicker like neon does... don't think it's possible to get it "right".

Maybe the restaurant doesn't stay open late for dinner. :)

But I'll be interested to see the results of the LED experiment, too. :D
Title: Re: Simutrans Fried Chicken (SFC)
Post by: mEGa on November 09, 2012, 07:33:18 AM
Well... thanks for your feedbacks.
What we can say this test makes a lot react !  ;D
Experiment remains... an experimentation !. I agree with most of the "negative" reactions. The neon sign is slightly too screamy.
Note : timeline period was 500 ms per picture.
Quote from: Isaac.Eiland-Hall on November 09, 2012, 06:36:57 AM
but I can say with certainty that people don't want me flashing them! (For non-native English speakers, "flashing" can refer to exposing one's parts that shouldn't be exposed for the shock value)
Don't worry, I admit you that it was very (too) ambitious. My apologizes for this nightmare  :D
Quote from: Isaac.Eiland-Hall on November 09, 2012, 06:36:57 AM
Maybe the restaurant doesn't stay open late for dinner. :)
Good notice. it's solution to explain no neon sign at night.

Sarlock you are going well. LEDs only outline can show better results.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: VS on November 13, 2012, 01:29:39 PM
Hmm... what should I do with this, now? There's nothing to commit yet, it seems... Or is this not finished?

/me wanders away mindlessly again
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 13, 2012, 06:53:35 PM
Sorry, not quite done yet, just want to work on the animation.

I'll be back in a few days and will be making that my first task :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 19, 2012, 07:21:30 AM
I've been working with the lighting for hours and I just can't find something I'm happy with.  The other challenge is that I already have a 8 stage animation for this building for the bucket, so any light animation has to align with that and then requires me to write an additional 8 animations for the front of the building where the sign is.  Besides the fact that I couldn't find a design that looked nice it also wasn't worth adding another 8 images to the .pak.  So, in the end, I've forgone the sign lighting and other lights and have just gone with windows and menu drive-in signs for lights.

Therefore, without further ado, I present to you the final version of the Simutrans Fried Chicken outlet:

(http://www.elvenorder.com/simutrans/addons/simutrans_fried_chicken.png)

URLs:

http://www.elvenorder.com/simutrans/addons/simutrans_fried_chicken.png (http://www.elvenorder.com/simutrans/addons/simutrans_fried_chicken.png)
http://www.elvenorder.com/simutrans/addons/simutrans_fried_chicken.dat (http://www.elvenorder.com/simutrans/addons/simutrans_fried_chicken.dat)
http://www.elvenorder.com/simutrans/addons/simutrans_fried_chicken.pak (http://www.elvenorder.com/simutrans/addons/simutrans_fried_chicken.pak)

Barring any errors found, it's ready to be committed to the pak.  :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Vladki on November 22, 2012, 11:09:21 PM
There is a small bug in rotations - rotation 1 and 3 should be swapped.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: VS on November 23, 2012, 10:13:41 AM
In r1044, fixing the rotation bug as well.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 24, 2012, 02:14:32 AM
Excellent, thanks for doing that VS... I was just logging in to make that change myself.  You beat me to it :)
Off to work on trees instead then...
Title: Re: Simutrans Fried Chicken (SFC)
Post by: The Hood on November 24, 2012, 09:32:30 AM
Any chance of a blend file for modification to pak128.Britain?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on November 24, 2012, 07:27:07 PM
Absolutely:

http://www.elvenorder.com/simutrans/addons/sfc.blend (http://www.elvenorder.com/simutrans/addons/sfc.blend)

If you have any questions, let me know :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: The Hood on December 04, 2012, 08:56:08 PM
Just trying to edit this blend file and rather oddly the mesh doesn't have any faces so it doesn't render. Have you got an up to date version?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Zeno on December 04, 2012, 09:14:08 PM
Works for me with 2.64. Faces and render are ok.
Which blender version are you running, The Hood?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on December 04, 2012, 09:20:00 PM
It's made with version 2.63... works fine for me.
Title: Re: Simutrans Fried Chicken (SFC)
Post by: The Hood on December 04, 2012, 09:21:17 PM
Aha - 2.56. Just downloading 2.64...

OK - got the file working, but there are a number of texture files missing - could you post those please?
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Zeno on December 04, 2012, 09:33:53 PM
You can pack those textures "inside" the blender file. Just click the "present" icon in the image (UV) screen :)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on December 04, 2012, 10:18:49 PM
Re-uploaded with textures attached... hopefully it works now :)

http://www.elvenorder.com/simutrans/addons/sfc.blend (http://www.elvenorder.com/simutrans/addons/sfc.blend)
Title: Re: Simutrans Fried Chicken (SFC)
Post by: wlindley on December 21, 2012, 01:20:53 PM
Looking at your dat file, I realized the x-offset and y-offset parameters to BackImage / FrontImage were not documented.  I updated that (http://www.simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_BackImage).

Title: Re: Simutrans Fried Chicken (SFC)
Post by: Sarlock on December 21, 2012, 06:11:18 PM
Thanks for adding that information to the wiki, that was on my "to do" list :)