Logging camp - forest replacement
Moderator: Graphics Moderators
Logging camp - forest replacement
I created simply newgrf, which build logging camp instead of forest in temperate and subarctic climate.
Logging camp is similar to tropical lumber mill - it cut trees and produce wood.
There is already some newgrf which allow lumber mill to appear in other than tropical climate, albeit it works exactly like lumber mill - must to be build by player.
In case of logging camp, this facility appears both on random map creation and during game play, and wood base price is like for temperate/subarctic wood.
The aim of this logging camp newgrf is to control tree growth, not only for aesthetic reasons, but also to keep compressed map weight within allowed download time limit.
Because logging camp is dismantled when run out of trees, new logging camp would appear in other place of the map and start to cut trees here.
Finally we would obtain a natural balance between forest area and logging camp number.
Bias of such balance depend on two factors:
1. multiple_industry_per_town setting - if set true, there would be large number of logging camps and small tree quantity (I recommend to switch multiple off if you want to preserve some forest in non-populated areas)
2. logging camp manpower setting - if setting is off, logging camp closure procedure is identical like for lumber mill - in this case industry is more stable, therefore more trees will be preserved.
If setting is on, logging camp would be dismantled almost instantly if run out of trees - such settings results in faster rotation of creation/annihilation of lumber mills, and trees would be catted more effectively.
Additionally, with manpower option on, you can deliver passengers to lumber camp - those passengers would be "stored" for while as working crew and protect your lumber camp against closure due to lack of tree. Passengers must to be delivered to logging camp houses.
Logging camp have 8 different layouts, 4 flat and 4 with slide. Some layouts are compact, some sparse - my intention was to protect some area against growth of nearby city or other players infrastructure.
Some graphics are just opengfx sprites slightly reworked.
Here are some examples of layouts (note: there is no snow- awareness yet): Top of the hill is rather unsuitable for logging camp. It would protect some trees in high mountains.
Some tiles of logging camp layout have special meaning.
Grass tiles with heap of logs are productivity indicator - in case of no wood was produced in last month, heap is almost empty.
Grass tiles with three trunks are wood transport indicator - in case some wood was transported last month, logs heap appears.
Newgrf is not compatible with manpower industry - because it is already merged as a part of manpower industry,
but I decided to create standalone logging camp newgrf due to usefulness for long mutliplayer sessions with massive maps.
If other industry set is used, logging camp would appear as alternative wood source, instead of forest replacement.
Enjoy fruit of my work available on banana tree service.
Project source is on #openttdcoop Development Zone.
Logging camp is similar to tropical lumber mill - it cut trees and produce wood.
There is already some newgrf which allow lumber mill to appear in other than tropical climate, albeit it works exactly like lumber mill - must to be build by player.
In case of logging camp, this facility appears both on random map creation and during game play, and wood base price is like for temperate/subarctic wood.
The aim of this logging camp newgrf is to control tree growth, not only for aesthetic reasons, but also to keep compressed map weight within allowed download time limit.
Because logging camp is dismantled when run out of trees, new logging camp would appear in other place of the map and start to cut trees here.
Finally we would obtain a natural balance between forest area and logging camp number.
Bias of such balance depend on two factors:
1. multiple_industry_per_town setting - if set true, there would be large number of logging camps and small tree quantity (I recommend to switch multiple off if you want to preserve some forest in non-populated areas)
2. logging camp manpower setting - if setting is off, logging camp closure procedure is identical like for lumber mill - in this case industry is more stable, therefore more trees will be preserved.
If setting is on, logging camp would be dismantled almost instantly if run out of trees - such settings results in faster rotation of creation/annihilation of lumber mills, and trees would be catted more effectively.
Additionally, with manpower option on, you can deliver passengers to lumber camp - those passengers would be "stored" for while as working crew and protect your lumber camp against closure due to lack of tree. Passengers must to be delivered to logging camp houses.
Logging camp have 8 different layouts, 4 flat and 4 with slide. Some layouts are compact, some sparse - my intention was to protect some area against growth of nearby city or other players infrastructure.
Some graphics are just opengfx sprites slightly reworked.
Here are some examples of layouts (note: there is no snow- awareness yet): Top of the hill is rather unsuitable for logging camp. It would protect some trees in high mountains.
Some tiles of logging camp layout have special meaning.
Grass tiles with heap of logs are productivity indicator - in case of no wood was produced in last month, heap is almost empty.
Grass tiles with three trunks are wood transport indicator - in case some wood was transported last month, logs heap appears.
Newgrf is not compatible with manpower industry - because it is already merged as a part of manpower industry,
but I decided to create standalone logging camp newgrf due to usefulness for long mutliplayer sessions with massive maps.
If other industry set is used, logging camp would appear as alternative wood source, instead of forest replacement.
Enjoy fruit of my work available on banana tree service.
Project source is on #openttdcoop Development Zone.
Last edited by Wahazar on 28 Sep 2014 22:09, edited 1 time in total.
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Re: Logging camp - forest replacement
Very nice. 

Re: Logging camp - forest replacement
Great job!
Official TT-Dave Fan Club
Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr
Why be a song when you can be a symphony? r is a...
Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr
Why be a song when you can be a symphony? r is a...
- V453000 :)
- President
- Posts: 946
- Joined: 01 Feb 2011 11:22
- Location: Beer
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Logging camp - forest replacement
Ah, that's lovely! I might actually want to see those layouts in OpenGFX+ Industries, too
And / or maybe those wood tracks as objects in OpenGFX+Landscape (or a possible separate NewObject NewGRF).

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: Logging camp - forest replacement
Hmm, protecting forest by working as crew in a loging camp
Sounds a bit contradictionary
Couldn't you change it to "visiting a historic logging camp site"?
Sounds a bit contradictionary

Couldn't you change it to "visiting a historic logging camp site"?
Being a retired OpenTTD developer does not mean I know what I am doing.
-
- Transport Coordinator
- Posts: 260
- Joined: 09 Apr 2014 11:10
Re: Logging camp - forest replacement
I'd like to use this in tropical alongside full FIRS economy, because that one replace the lumber mill with temperate style forest. Would it be possible to make this also for tropical?
Re: Logging camp - forest replacement
You are welcome, but let me complete some features: missing NE, NW slope, snow-aware tiles and buildings, tile with animated smokeplanetmaker wrote:Ah, that's lovely! I might actually want to see those layouts in OpenGFX+ Industries, tooAnd / or maybe those wood tracks as objects in OpenGFX+Landscape (or a possible separate NewObject NewGRF).
- bonfire or maybe locomobile or stationary steam engine:
http://www.skagitriverjournal.com/WestC ... pragg.html
Animated smoke is useful if you seek for logging camp among the trees.
I want also add some other small buildings to get something similar to this:

(from https://greshamoregon.gov )
By the way, object have OBJ_FLAG_ALLOW_BRIDGE flag, is it possible to have such flag for industry tiles?
Sorry, it looks like a small misunderstanding. Of course, working crew does not protect forest.Alberth wrote:Hmm, protecting forest by working as crew in a loging camp
Sounds a bit contradictionary![]()
It protect unused (due to temporary lack of trees) logging camp facilities (all those precious huts and dirty tracks) against dismantling and vanishing.
Here is example of unprotected logging camp:
http://149.156.194.203/~mczapkie/Train/ ... tected.png
It is working well as long as there are tree within 40 tile range, but you if you forgot to plant new trees, it will be closed.
If passenger service (bus or railcar) is established, logging camp is protected and even if you are off-line, it will survive:
http://149.156.194.203/~mczapkie/Train/ ... tected.png
Of course, it would stop producing wood (unless some new will grow), but still will be idle.
BTW, you can also see on the minimap, that tree growth is tampered, even after 100 years of game.
It is a main purpose of this newgrf.
Tropical is disabled, because I need to tweak logging camp layouts - by now, there are many foundations constrains and therefore this industry is located usually in valleys. In case of tropical climate, rainforest is located in mountains - it is maybe a reason, why tropical lumber mill occupy only 4 tiles.Eddy Arfik wrote:I'd like to use this in tropical alongside full FIRS economy, because that one replace the lumber mill with temperate style forest. Would it be possible to make this also for tropical?
Additionally, I can't replace FIRS industries, only original old ones.
Maybe I can override FIRS lumber yard Id (0h29), I didn't tried it and I'm not even sure, if such overriding is possible, safe and accepted.
Last edited by Wahazar on 29 Sep 2014 14:03, edited 2 times in total.
- andythenorth
- Tycoon
- Posts: 5608
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: Logging camp - forest replacement
There are many small buildings in FIRS and CHIPS that you could lift if you use GPL. Also ISR.
Over-riding FIRS industries is tricky, but probably possible, think it might depend on grf order though
If you want to do it as add-on, there are one or two free IDs but no guarantee they won't get used in future.
http://bundles.openttdcoop.org/firs/pus ... industries
Over-riding FIRS industries is tricky, but probably possible, think it might depend on grf order though

If you want to do it as add-on, there are one or two free IDs but no guarantee they won't get used in future.
http://bundles.openttdcoop.org/firs/pus ... industries
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)
-
- Transport Coordinator
- Posts: 260
- Joined: 09 Apr 2014 11:10
Re: Logging camp - forest replacement
I was thinking not to replace the forest in FIRS, but to add as extra for the tree-cutting purpose. As for the problem with tile layout, normal tropic maybe isn't so good with for that, but if you load a mountainous arctic heightmap as tropical climate, you get rainforest in valleys and on flat plateau
Maybe I can look at the source to see if I can get the effect I'm after in my game

-
- Traffic Manager
- Posts: 175
- Joined: 19 Jan 2004 17:25
- Location: kotka or Savitaipale, Finland
- Contact:
Re: Logging camp - forest replacement
This is great addition.
definitely goes to our multiplayer server standard selection. 


- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Logging camp - forest replacement
I don't know how you drew those tracks. I thought you just drew the tracks without ground and use them as overlay on top of the ground tiles which you then would not provide and which would then even adopt to whatever ground a player plays with.McZapkie wrote: You are welcome, but let me complete some features: missing NE, NW slope, snow-aware tiles and buildings, tile with animated smoke
- bonfire or maybe locomobile or stationary steam engine:
Steam in order to find the logging camps might indeed be useful. Bridges currently cannot be over industries, but it might be possible to add such flag to industry tiles, too.McZapkie wrote: Animated smoke is useful if you seek for logging camp among the trees.
I want also add some other small buildings to get something similar to this:
By the way, object have OBJ_FLAG_ALLOW_BRIDGE flag, is it possible to have such flag for industry tiles?
It's much easier to add an industry and I'd not recommend to override a FIRS industry - it would tie your NewGRF to an exact version of FIRS (as things might change in FIRS). Replacement only makes sense IMHO when you to mimic also the production changes and adhere to the FIRS parameters. Better add it as an additional industry.McZapkie wrote: Maybe I can override FIRS lumber yard Id (0h29), I didn't tried it and I'm not even sure, if such overriding is possible, safe and accepted.
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: Logging camp - forest replacement
Great job. Superbly done. 

[OpenTTD] STD screenshots
----------------------------------------------------------------------------------------------------------------------------------
[OpenTTD] STD saved games - My finished scenarios and saves from the game
My Youtube channel - OpenTTD | Wiki xUSSR set (RU) | Wiki xUSSR set (EN) | Download the latest version of the xUSSR set
TT Screenshot of the Month - the page editor | Screenshot Of The Month Contest Winner: August 2017
----------------------------------------------------------------------------------------------------------------------------------
[OpenTTD] STD saved games - My finished scenarios and saves from the game
My Youtube channel - OpenTTD | Wiki xUSSR set (RU) | Wiki xUSSR set (EN) | Download the latest version of the xUSSR set
TT Screenshot of the Month - the page editor | Screenshot Of The Month Contest Winner: August 2017
Re: Logging camp - forest replacement
New version uploaded to bananas, with more flexible layouts.
It now works with tropical climate, but in this case, creation probability is zeroed - it is just lumber mill replacement,
and you must to fund it yourselves like lumber mill.
The reason is, that wood base price is higher than for other climates - I don't want to break such balance.
I'm using only GROUNDSPRITE_NORMAL by now and I don't now how those track looks like in case of snow - if contrast is too high, snowy tack must be provided.
I changed Industry Id to 3Fh to avoid conflict with FIRS.
It now works with tropical climate, but in this case, creation probability is zeroed - it is just lumber mill replacement,
and you must to fund it yourselves like lumber mill.
The reason is, that wood base price is higher than for other climates - I don't want to break such balance.
Of course, those track are transparent child sprite, some slopes were missing but now there are complete, all 4 plain slopes.planetmaker wrote: I don't know how you drew those tracks. I thought you just drew the tracks without ground and use them as overlay on top of the ground
I'm using only GROUNDSPRITE_NORMAL by now and I don't now how those track looks like in case of snow - if contrast is too high, snowy tack must be provided.
Thank you, it would be great to add some "look and feel" related to ISR wood station.andythenorth wrote:There are many small buildings in FIRS and CHIPS that you could lift if you use GPL. Also ISR.
I changed Industry Id to 3Fh to avoid conflict with FIRS.
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Re: Logging camp - forest replacement
I'm trying this now with my customised FIRS industry grf. One AI has already set up a wood carrying service.
It looks promising, good work.
One issue discovered, not sure if it's this grf to blame?
An AI created a passenger service (to grab a subsidy). It's in range to pick up passengers but not close enough to deliver passengers.
It looks promising, good work.
One issue discovered, not sure if it's this grf to blame?
An AI created a passenger service (to grab a subsidy). It's in range to pick up passengers but not close enough to deliver passengers.
Re: Logging camp - forest replacement
I would consider it as an AI bug - and it would be a good idea to report it to AI thread.An AI created a passenger service (to grab a subsidy). It's in range to pick up passengers but not close enough to deliver passengers.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: Logging camp - forest replacement
It's SimpleAI and I'd doubt that the bug would be fixed.
It seems that the path trails are considered part of the industry and therefore produce wood and passengers but only the cabins accept passengers. It could be changed to make the trail ends accept passengers and the 'problem' would disappear.
(just an idea, I'm not saying it needs changing)
It seems that the path trails are considered part of the industry and therefore produce wood and passengers but only the cabins accept passengers. It could be changed to make the trail ends accept passengers and the 'problem' would disappear.
(just an idea, I'm not saying it needs changing)
Re: Logging camp - forest replacement
Several of the default industries also do this, so the AI would still be broken.3iff wrote:It seems that the path trails are considered part of the industry and therefore produce wood and passengers but only the cabins accept passengers. It could be changed to make the trail ends accept passengers and the 'problem' would disappear.
Being a retired OpenTTD developer does not mean I know what I am doing.
Re: Logging camp - forest replacement
An interesting phenomenon. A new station has appeared that delivers passengers to the nearby town. The logging camp trails fall into the same station catchment area, result is passengers (crew) now get accepted by the logging camp.
- andythenorth
- Tycoon
- Posts: 5608
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: Logging camp - forest replacement
It's usual for industries to accept cargo if their tiles fall within a station catchment 

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)
Who is online
Users browsing this forum: No registered users and 2 guests