just some idea for OpenTTD

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
thatguy1
Engineer
Engineer
Posts: 10
Joined: 06 May 2019 15:02

just some idea for OpenTTD

Post by thatguy1 »

what about the ability to add disasters with NewGRFs? I heard that it's not planned, so just wanted to tell you now, whoever made OpenTTD.
User avatar
Geo Ghost
Moderator
Moderator
Posts: 6551
Joined: 25 Oct 2004 10:06
Location: UK
Contact:

Re: just some idea for OpenTTD

Post by Geo Ghost »

Moved to suggestions area :)
thatguy1
Engineer
Engineer
Posts: 10
Joined: 06 May 2019 15:02

Re: just some idea for OpenTTD

Post by thatguy1 »

Geo Ghost wrote:Moved to suggestions area :)
oh. Didn't knew about that forum group thing. XD
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: just some idea for OpenTTD

Post by Redirect Left »

This would be a nice thing to be able to do. My undertstanding is disasters are hard coded.

Is it possible to create a similar event using gamescripts to alter tiles and generate sprites to emulate the effects of disasters?
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
jfs
Tycoon
Tycoon
Posts: 1757
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: just some idea for OpenTTD

Post by jfs »

There isn't any way for a gamescript to create and control a disaster vehicle, though it might be possible to design an API of sorts for it. A problem would however be that gamescripts don't have a way to supply vehicle graphics, so it would either need to depend on baseset graphics, or depend on the player loading some specific NewGRF file, or require an additional NewGRF feature for supplying disaster vehicle graphics, and maybe other disaster graphics even?

Currently gamescripts also lack functions to do some of the typical disaster-like things, like causing an industry to blow up and rebuild, force an industry to change production level, cause a player vehicle to crash, and probably many other things you can think of. (How about deleting some cargo from player vehicles or stations?)

So no, GS is not yet ready to perform disasters.
thatguy1
Engineer
Engineer
Posts: 10
Joined: 06 May 2019 15:02

Re: just some idea for OpenTTD

Post by thatguy1 »

jfs wrote:(How about deleting some cargo from player vehicles or stations?)
oh, yeah! I want to add tornado to OpenTTD, so if a tornado comes pretty close to a vehicle or station, but not close enough to destroy it, it will randomly remove cargo from it to simulate passengers and cargo being sucked up into the tornado.
EDIT: Will Gamescript eventually be ready for disasters? If no, that's somewhat sad.
uprrfan530
Engineer
Engineer
Posts: 17
Joined: 04 Aug 2019 21:36

Re: just some idea for OpenTTD

Post by uprrfan530 »

How about being able to buy rail lines instead of the whole company??
uprrfan530
Engineer
Engineer
Posts: 17
Joined: 04 Aug 2019 21:36

Re: just some idea for OpenTTD

Post by uprrfan530 »

thatguy1 wrote: 03 Jun 2019 13:45
jfs wrote:(How about deleting some cargo from player vehicles or stations?)
oh, yeah! I want to add tornado to OpenTTD, so if a tornado comes pretty close to a vehicle or station, but not close enough to destroy it, it will randomly remove cargo from it to simulate passengers and cargo being sucked up into the tornado.
EDIT: Will Gamescript eventually be ready for disasters? If no, that's somewhat sad.
Or Rivers that swell and eat all the roads, tracks, bridges, tunnels within 5 squares?
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 55 guests