[GS] Silicon Valley
Moderator: OpenTTD Developers
[GS] Silicon Valley
Silicon Valley is a GameScript for OpenTTD 1.3 (nightly r24513) or newer.
It challenges every company to turn a specific town into a global production centre for a specialised cargo.
Every company is assigned a slightly different goal, but they all have the same time period to archieve their goal.
To achieve the goal, the companies do not only have to transport lots of cargo to and from their town, they also have to fund sufficient industries to produce the cargo.
Download: Via BaNaNaS, or via project page.
Project page: http://dev.openttdcoop.org/projects/siliconvalley
Welcome screen: Goal overview: Settings overview:
It challenges every company to turn a specific town into a global production centre for a specialised cargo.
Every company is assigned a slightly different goal, but they all have the same time period to archieve their goal.
To achieve the goal, the companies do not only have to transport lots of cargo to and from their town, they also have to fund sufficient industries to produce the cargo.
Download: Via BaNaNaS, or via project page.
Project page: http://dev.openttdcoop.org/projects/siliconvalley
Welcome screen: Goal overview: Settings overview:
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: [GS] Silicon Valley
How to install where should I put this files?
-
- Tycoon
- Posts: 1660
- Joined: 16 Dec 2007 22:24
- Location: Idaho, USA
Re: [GS] Silicon Valley
Obtain a very recent nightly version of OTTD, head to the in-game "Check Online Content" tool and locate this under the "Game scripts" type (or type "Silicon Valley" into the Tag/name filter box). Download it and then exit back to the main menu, click "AI/Game Script Settings", under Game Script click the "(none)" and the below that click "Select Game Script". Choose Silicon valley, Accept, and then start a new game.Anderwin wrote:How to install where should I put this files?
Phew, that's quite a bit, hope you can follow it.

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
- zgrillo2004
- Engineer
- Posts: 34
- Joined: 19 Aug 2013 02:39
Re: [GS] Silicon Valley
Terribly sorry for bump this topic but I have a problem with this GS. apparently This game script isnt compatible with later revisions of Super lib. and throws a compatibility error. I grabbed the correct revision from the archives but it isnt listed in bananas. is it possible to upgrade this GS to make it work with later version of Super-lib?
Thanks
Thanks
Re: [GS] Silicon Valley
While it is possible that frosch123 update Silicon Valley to SuperLib 36 (currently last version), there will for sure be a version 37 at some point. When that SuperLib is released you will have this problem again. The reason is that scripts import a specific library version. If not exactly that version can be found by OpenTTD, it will fail. No matter if the GS may work with an older/newer version or not.
If you download Silicon Valley using in-game content download, it should automatically also download the correct SuperLib version set as dependency by frosch123 when he uploaded Silicon Valley to bananas.openttd.org. You can then copy SuperLib from your client to your server if you can't use online content on your dedicated server.
Mind that also SuperLib has a dependency (Road pathfinder)
If you download Silicon Valley using in-game content download, it should automatically also download the correct SuperLib version set as dependency by frosch123 when he uploaded Silicon Valley to bananas.openttd.org. You can then copy SuperLib from your client to your server if you can't use online content on your dedicated server.
Mind that also SuperLib has a dependency (Road pathfinder)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: [GS] Silicon Valley
I just tried to run this and encountered the same problem. It seems it needs Superlib 25, but I can't find it in bananas...
Melt with the Shadows,
Embrace your destiny...
Embrace your destiny...
Re: [GS] Silicon Valley
My understanding is that since SuperLib 26 is on Bananas and is the most recent version. You can not ask Bananas for version 25 of SuperLib. To get version 25 you need to download a script that has a dependency on version 25 which Silicon Valley should be doing by the sounds of things.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: [GS] Silicon Valley
The problem then is possibly that Silicon Valley doesn't declare any dependency on SuperLib in bananas.
Melt with the Shadows,
Embrace your destiny...
Embrace your destiny...
Re: [GS] Silicon Valley
Hi, I just edited the main.nut from the silicon valley tar and changed line 23 from
into a superlib later 25 which i have installed:
and it seems to work now... No error so far. But i don't now the differences between the superlibs... Maybe something is missing later. 
Code: Select all
import("util.superlib", "SuperLib", 25);
Code: Select all
import("util.superlib", "SuperLib", 27);

Re: [GS] Silicon Valley
I'm the main author of SuperLib and from what I can recall there are very few breaking changes in the history. The only one would be related to bug fixes and migrating from Road path finder 3 to version 4. But I find it unlikely that Silicon Valley use the road path finder in SuperLib.
If you want to look into the details you can read the commit log of SuperLib here: http://dev.openttdcoop.org/projects/superlib/repository
If you want to look into the details you can read the commit log of SuperLib here: http://dev.openttdcoop.org/projects/superlib/repository
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: [GS] Silicon Valley
I uploaded a new version to BaNaNaS. The SuperLib dependency should now work (again?).
You also gain some translations:
* Czech (provided by MarkKiss)
* Dutch (provided by Alberth)
* German (provided by planetmaker and myself)
You also gain some translations:
* Czech (provided by MarkKiss)
* Dutch (provided by Alberth)
* German (provided by planetmaker and myself)
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
-
- Engineer
- Posts: 10
- Joined: 22 Jun 2013 13:08
Re: [GS] Silicon Valley
Loving this game script, so glad this and NoCarGoal exsist!
However having a quick play through, there are a few requests I would like to see in an update for this, if you plan on updating it further...
Great work!
However having a quick play through, there are a few requests I would like to see in an update for this, if you plan on updating it further...
- The inclusion of the story book to see a comparison of your competitors!
- Would be good to see how much of the 3,000 you have left for each industry to go, not just the last quarter you delivered...
- Do all three have to be completed in order to succeed? The wording around this is a bit confusing.
- The ability to set the starting cost for new industries, you may want to play a quick game so gathering £750,00 to create a Steel Mill adds some time to the game. So setting it at £100,000 would mean you could create two from your starting loan and still have £100,000 to build your network.
- I’ve also noticed some players may get lucky and have one or two starting industries which if you don’t have one, having to gather ‘x’ amount puts you at a real disadvantage at the start compare to the rest! So checking the town has 0 starting, or making it start with two could be an idea?
- I have done over by prospecting a few times in my quest to complete the challenge as both times it didn't create a new Iron Ore and I was out of pocket of £1,500,000 for nothing! With no feedback from the game which is an overall bad design feature of ottd. So it could be an idea to make the randomness of this to 0 so you at least get something. Being able to not place it is good though.
- Not sure if this is possible, or even a bit over the top but adding goods as production from a certain type of production. So for example you have to transport Goods, but have to be made from Oil rather than any of the things that currently makes good.
- I love the idea of having it endless to get the cookie!
Great work!
-
- Engineer
- Posts: 10
- Joined: 22 Jun 2013 13:08
Re: [GS] Silicon Valley
From looking at it, it look like you don't actually get a cookie either as I've definitely collected 3,000 steel now over six quarters, unless I would need to have delivered 3,000 in one quarter?!
Also I posted before, and it said it needed to be moderated?
Also I posted before, and it said it needed to be moderated?

Re: [GS] Silicon Valley
All goals must be completed within the same quarter. That's why the numbers indicate what you achieved in the previous quarter: It's basically the win condition from the previous quarter. Also iirc there is no timeout for the cookie.
About the cost for funding industries, you can use the "Base cost mod" NewGRF to adjust them.
Wrt. the goals for different companies: If there would be a new version, I would likely remove the option to play with anything other but "secondary" industries. The primary industries case does not work particulary well, since you mostly have to fund industries instead of transporting stuff. And well, the case "primary and secondary" is completely broken, since the goal cargo amounts are not comparable at all. Anyway, maybe I can figure out a method to distinguish secondary and tertiary cargos.
About the starting amount of industries: Does that really matter so much? In Silicon Valley you do not have to start early with the goals. You can very well make 5 years only money with completely different things, and then complete the goal within a quarter (if you build fast enough). The cargo amounts transported are not accumulated as in NoCarGoal. Only one quarter matters. Basically, rush for money, not for the goal
Story book would be a nice thing, but you can already now see the amounts of competitors by opening their goal windows. Hold the mouse button on the goal menu for that: It's the same as for the other menus.
About the cost for funding industries, you can use the "Base cost mod" NewGRF to adjust them.
Wrt. the goals for different companies: If there would be a new version, I would likely remove the option to play with anything other but "secondary" industries. The primary industries case does not work particulary well, since you mostly have to fund industries instead of transporting stuff. And well, the case "primary and secondary" is completely broken, since the goal cargo amounts are not comparable at all. Anyway, maybe I can figure out a method to distinguish secondary and tertiary cargos.
About the starting amount of industries: Does that really matter so much? In Silicon Valley you do not have to start early with the goals. You can very well make 5 years only money with completely different things, and then complete the goal within a quarter (if you build fast enough). The cargo amounts transported are not accumulated as in NoCarGoal. Only one quarter matters. Basically, rush for money, not for the goal

Story book would be a nice thing, but you can already now see the amounts of competitors by opening their goal windows. Hold the mouse button on the goal menu for that: It's the same as for the other menus.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: [GS] Silicon Valley
Regarding number of industries, it is nowdays possible for GS to build industries. So Silicon Valley could use that to level out the amount of goal industries already in the company towns. Though it may be easier if the GS could just demolish industries from towns that has to many rather than adding up to towns that has to few. (but IIRC the demolish command is not available to GS)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
-
- Engineer
- Posts: 10
- Joined: 22 Jun 2013 13:08
Re: [GS] Silicon Valley
@frosch using the "Base Cost Mod" helped us out!
Who is online
Users browsing this forum: Google [Bot], SilverHawk and 21 guests