beautiful - as alwaysZephyris wrote:Boo.
Two sets of sprites(...)
Brainwave
Moderator: Graphics Moderators
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Brainwave
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Brainwave
As a hot air balloon has no "front", you could do it with one sprite regardless.Bob_Mackenzie wrote:As a hot air balloon has rotational symmetry about its vertical axis you could do it with two sprites (if using a square basket) or one if the basket was round
Re: Brainwave
Don't hot air balloons tend to tilt slightly in the direction of travel?Leanden wrote:True, why would the hot air balloon have to turn to change direction?
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Brainwave
Not particularly, remember they are completely stationary relative to the surrounding air, so why would they tilt?wallyweb wrote:Don't hot air balloons tend to tilt slightly in the direction of travel?Leanden wrote:True, why would the hot air balloon have to turn to change direction?
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Brainwave
Due to the gondala having both drag and weight.Zephyris wrote:Not particularly, remember they are completely stationary relative to the surrounding air, so why would they tilt?wallyweb wrote:Don't hot air balloons tend to tilt slightly in the direction of travel?Leanden wrote:True, why would the hot air balloon have to turn to change direction?
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Brainwave
What's it dragging against if the balloon has 0 horizontal airspeed (which it does, since it has no propulsion)?planetmaker wrote:Due to the gondala having both drag and weight.
-
- Tycoon
- Posts: 1660
- Joined: 16 Dec 2007 22:24
- Location: Idaho, USA
Re: Brainwave
Well, I've drawn some sprites for a police car -- well, more like resized and heavily modified some excellent freely available graphics for a police car. Anyhow, I'm ok with the results, but I wonder if anyone has any suggestions for improvement; this is after all my first attempt at spriting for a newgrf.
I used the red flash- and water-cycle pixels for the flashing lights, but as was mentioned in either this thread or the other one on emergency vehicles, the water cycle is out of synch with the red flash, and since it doesn't fade to black, but rather to blue, it isn't as easily distinguishable. Still, it looks better than red-only to me. Oh, also there is no company color at the moment, just a somewhat drab grey and blue paint job.
Anyway, attached are the sprites and a test-grf I made in NML. Parameters such as vehicle speed, cost, power, and other such are, of course, for testing purposes only and aren't at all balanced or realistic. The sound effect is also just something I quickly edited in -- I'll likely edit a better siren later.
Unfortunately, I cannot seem to figure out this darned "offset" concept properly, so the car sort of jerks around in some views. The NML documentation didn't seem to have any rules for offsets for the different compass views, so I'm at a loss...
EDIT: New thread for GRFs: http://www.tt-forums.net/viewtopic.php?f=26&t=56780
I used the red flash- and water-cycle pixels for the flashing lights, but as was mentioned in either this thread or the other one on emergency vehicles, the water cycle is out of synch with the red flash, and since it doesn't fade to black, but rather to blue, it isn't as easily distinguishable. Still, it looks better than red-only to me. Oh, also there is no company color at the moment, just a somewhat drab grey and blue paint job.
Anyway, attached are the sprites and a test-grf I made in NML. Parameters such as vehicle speed, cost, power, and other such are, of course, for testing purposes only and aren't at all balanced or realistic. The sound effect is also just something I quickly edited in -- I'll likely edit a better siren later.
Unfortunately, I cannot seem to figure out this darned "offset" concept properly, so the car sort of jerks around in some views. The NML documentation didn't seem to have any rules for offsets for the different compass views, so I'm at a loss...
EDIT: New thread for GRFs: http://www.tt-forums.net/viewtopic.php?f=26&t=56780
- Attachments
-
- Police car.png (1.72 KiB) Viewed 15437 times
Last edited by Supercheese on 26 Sep 2011 06:00, edited 1 time in total.
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Brainwave
You may want to look for the TownCar NewGRF (or similarily named) which is thought to be used in conjunction with the similarily named AI which only has the purpose to build cars and send them on the road. It might be an idea to add additional cars to that NewGRF instead of yet another one
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Brainwave
*droools* I can't wait to see these in action!!Zephyris wrote:Boo. Two sets of sprites, one with the burner on, one off. The graphics are all rendered so can be scaled easily, and 32bpp versions are easy to make too.
I think this is a fantastic start! I honestly have no quibbles with any of it, even the glitches you mentioned. I would love to see the paint scheme also in white, and in brown. I played with having 1-2 cars patrol in a town without any orders, looked just fine. Especially worked well if you're using the traffic lights newgrf.Supercheese wrote:Well, I've drawn some sprites for a police car -- well, more like resized and heavily modified some excellent freely available graphics for a police car. Anyhow, I'm ok with the results, but I wonder if anyone has any suggestions for improvement; this is after all my first attempt at spriting for a newgrf.
I used the red flash- and water-cycle pixels for the flashing lights, but as was mentioned in either this thread or the other one on emergency vehicles, the water cycle is out of synch with the red flash, and since it doesn't fade to black, but rather to blue, it isn't as easily distinguishable. Still, it looks better than red-only to me. Oh, also there is no company color at the moment, just a somewhat drab grey and blue paint job.
Anyway, attached are the sprites and a test-grf I made in NML. Parameters such as vehicle speed, cost, power, and other such are, of course, for testing purposes only and aren't at all balanced or realistic. The sound effect is also just something I quickly edited in -- I'll likely edit a better siren later.
Unfortunately, I cannot seem to figure out this darned "offset" concept properly, so the car sort of jerks around in some views. The NML documentation didn't seem to have any rules for offsets for the different compass views, so I'm at a loss...
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
- SwissFan91
- Tycoon
- Posts: 2395
- Joined: 08 Feb 2009 18:36
- Location: Alberta, Canada
Re: Brainwave
Great work everyone.
Definitely this.planetmaker wrote:You may want to look for the TownCar NewGRF (or similarily named) which is thought to be used in conjunction with the similarily named AI which only has the purpose to build cars and send them on the road. It might be an idea to add additional cars to that NewGRF instead of yet another one
- andythenorth
- Tycoon
- Posts: 5687
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: Brainwave
Is the force applied by air current against canopy and basket same? Probably when considered per-unit-area.PikkaBird wrote:What's it dragging against if the balloon has 0 horizontal airspeed (which it does, since it has no propulsion)?
But won't there be a higher intertia to overcome for the basket (cross sectional area versus mass), which would lead to a small moment between basket and canopy? (The canopy will initally accelerate slightly faster than basket).
My physics ain't great
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: Brainwave
On a sudden change in movement of the surrounding air (and only then) the balloon will, for a short time, have non-zero horizontal airspeed.PikkaBird wrote:What's it dragging against if the balloon has 0 horizontal airspeed (which it does, since it has no propulsion)?
Yes, per unit crossectional area, no, per unit mass.andythenorth wrote:Is the force applied by air current against canopy and basket same? Probably when considered per-unit-area.
Yup, exactly, but only when the surrounding air has changed suddenly.andythenorth wrote: But won't there be a higher intertia to overcome for the basket (cross sectional area versus mass), which would lead to a small moment between basket and canopy? (The canopy will initally accelerate slightly faster than basket).
In short if a balloon gets hit by a gust of wind the top will tilt away from the direction of air movement. But most of the time it will be perfectly upright.
Re: Brainwave
General rule for vehicles is to take the negative of half the height (or width respectively) of the sprite for the offset. This usually gives acceptable results which only require minor tweaking. When it comes to tweaking, hit ctrl+B ingame to show the bounding boxes (you may need to enable newgrf_developer_tools for that though). The key to success is to align each view in the middle of it's bounding box.Supercheese wrote:Unfortunately, I cannot seem to figure out this darned "offset" concept properly, so the car sort of jerks around in some views. The NML documentation didn't seem to have any rules for offsets for the different compass views, so I'm at a loss...
If you want you can check the Dutch Tram Set source. It has templates for trams of each length; these should be equally usable for road vehicles. As long as you put each sprite in the correct position in the template, the alignment should be good automagically.
-
- Tycoon
- Posts: 1660
- Joined: 16 Dec 2007 22:24
- Location: Idaho, USA
Re: Brainwave
Well, after much toil and awkwardness, I've finally managed to code up the hot air balloon using the splendid sprites Zephyris posted earlier!
Being eyecandy, it has 0 purchase and running cost. It took quite a bit of doing, but the burner turns on during ascent, and during normal flight the burner is activated for a short burst every so often to provide more lift.
The purchase sprite was shrunk to fit within the row, and the sprite in the details window tends to cover up a bit of text, but I'm not sure how to fix that...
Also, there is a parameter to disable the burner sound effect while the balloon is in normal flight, in case you don't like that sort of thing.
Anyhow, if you find any bugs, let me know.
Being eyecandy, it has 0 purchase and running cost. It took quite a bit of doing, but the burner turns on during ascent, and during normal flight the burner is activated for a short burst every so often to provide more lift.
The purchase sprite was shrunk to fit within the row, and the sprite in the details window tends to cover up a bit of text, but I'm not sure how to fix that...
Also, there is a parameter to disable the burner sound effect while the balloon is in normal flight, in case you don't like that sort of thing.
Anyhow, if you find any bugs, let me know.
- Attachments
-
- Untitled.png (53.35 KiB) Viewed 15220 times
-
- Purchase.png (3.68 KiB) Viewed 15220 times
-
- hotairballoon.grf
- (108.53 KiB) Downloaded 1561 times
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
Re: Brainwave
That is awesome
If only some other light aircraft had the same no running costs and purchase cost but were stripped of their cargo capacity. Would make for a nice Aircraft Eyecandy GRF. Fill the skies a bit
If only some other light aircraft had the same no running costs and purchase cost but were stripped of their cargo capacity. Would make for a nice Aircraft Eyecandy GRF. Fill the skies a bit
Re: Brainwave
I have thinking to make something like military stuff... fighter, old fighter (spitfire and other WWII stuff), hangars and little runway tiles to connect things up... bit like little air show! The main thing is to not go big, because I don't find a lot time to draw things... So I should try to go tile be tile. Anyways if anyone have interest poke me and I maybe get a little motivationLeanden wrote:If only some other light aircraft had the same no running costs and purchase cost but were stripped of their cargo capacity. Would make for a nice Aircraft Eyecandy GRF. Fill the skies a bit
TT-Screenshot Of The Month - 2012 July, winner!
TT-Screenshot Of The Month - 2013 May, winner tie with Purno!
TT-Screenshot Of The Month - 2014 February, winner!
TT-Screenshot Of The Month - 2014 June, winner tie with alluke!
TT-Screenshot Of The Month - 2014 April, winner!
My screen shot thread ---> Have a look
TT-Screenshot Of The Month - 2013 May, winner tie with Purno!
TT-Screenshot Of The Month - 2014 February, winner!
TT-Screenshot Of The Month - 2014 June, winner tie with alluke!
TT-Screenshot Of The Month - 2014 April, winner!
My screen shot thread ---> Have a look
Who is online
Users browsing this forum: No registered users and 5 guests