|
|
addict
|
OP
addict
Joined: Mar 2016
|
Hi, As mentioned in my Source on Rails update post last night, I've started working on the next step: a bunch of scripts that make it convenient to produce, harvest and transport resources using those trains (or anything else, even manually by the player is possible if you really like random meaningless delivery quests  . I currently have: - • A farmer that can plant wheat at random locations within a certain area (radius around a point trigger). He also occasionally wanders and tends to growing plants, if any.
- • The wheat grows using its own script, and when it's ready it informs its planter that it can be harvested.
- • The farmer then harvests it, and puts it in a container (a sheaf) on a platform. If the container has been destroyed, he just drops it on the platform.
- • The platform is responsible for noticing when a train arrives (by it entering a box trigger), and then notifies the platform's worker to load the train if any items are available. If none are currently available, the worker will load the train as soon as one becomes available.
I've made a short movie that shows the current state.
|
|
|
Entire Thread
|
Re-source mod WIP
|
Tinkerer
|
29/05/16 02:11 PM
|
|
Moderated by Bvs, ForkTong, gbnf, Issh, Kurnster, Larian_QA, LarSeb, Lar_q, Lynn, Monodon, Raze, Stephen_Larian
|
|
|