The International Simutrans Forum


Recent Posts

Pages: [1] 2 3 4 ... 10
Pak64 / Food addon link not working
« Last post by hreintke on Today at 08:46:38 AM »
In the https:,18515.msg176513.html#new topic, the link to the pak64 foodchain dos not work.
It gives a file not found error.
There are many ways a story/campaign could be implemented. For example one could make one in a single continuous map which forces the player to progress and learn how to play in the process. That would need a feature to prevent years advancing and such.

The way you described sounds a lot like how Railroad Tycoon 3 implemented its story/campaign mode.
Scripting Scenarios and AI / [Project] Story / campaign mode using scrips
« Last post by Yona-TYT on Yesterday at 11:30:45 PM »
With this topic I want to discuss some concepts related to the story mode that I am planning.

- 1 Load multiple maps in a scenario:

This had already been discussed, so not much to say here, it is simply the basis to start creating a story mode as they do in other projects such as supertux2 or Wesnoth.

- 2 Win and lose the game:

In Wesnoth there are certain actions that determine if a player loses or advances to the next chapter, in case of losing the game will appear a window indicating that you have been defeated and shows an "End scenario" button that allows the player to restart the game. If the player is victorious the "End scenario" button allows him to advance to the next chapter. It would be great to be able to recreate this in simutrans in some way, my idea is to show the show the scenario window constantly and using the "Script Text" showing a link that says "End scenario". Any other idea to do this welcome!
- 3 Compatibility with other pakset:
I would like to follow the path of the "SQAI" and create a single script that works in all pakset, but unfortunately this is very difficult to achieve, I would be happy to achieve good results with the most complete "pakset" and also reduce as much as possible the manual work.
For this it is necessary to control the map generator with script.

- 3 Bonus for efficiency:

It occurs to me to give the player a bonus to achieve an efficient company, for one that manages to generate profits while completing a chapter.

- 5 Compete with the AI ​​in some chapters:

It also occurs to me to make the player compete with the AI, but for that I would need to activate a player using scrit and tell him to use the AI, but it is a subject for later, there is no hurry with this.

I will be updating this post as the project progresses and new ideas appear ... a big greeting to all!  :-*
[FR]Français (French) / Re: petites questions et informations diverses
« Last post by Lieven on Yesterday at 07:32:02 PM »
Oui je le sais bien, je sais que toute la communauté travaille comme moi et j'ai quand même quelques addons à mon actif ;)

C'est pour l'utiliser sur une partie expérimentale ou mon réseau n'est pas développé en étoile. C'est un peu compliqué de gérer toutes les lignes dans ce cas la, et les courts-circuits sont assez fréquents (j'ai développé un réseau plus réaliste étant donné que la carte est tellement grande que toutes les lignes sont bien chargées malgré des accès plus courts entre toutes les villes...)

Mais, bon, tant pis...
[FR]Français (French) / Re: petites questions et informations diverses
« Last post by gauthier on Yesterday at 05:05:48 PM »
Bien sûr il ne s'agit pas de connaître la moindre ligne de bus lol. Comment voudrais-tu utiliser une telle fonctionnalité exactement ? Dans mes parties ça ne me manque pas pour la gestion, donc peut-être y a-t-il d'autres techniques que tu peux utiliser.
Tu peux toujours faire une extension request mais la probabilité que quelqu'un le fasse pour toi est proche de zéro. Tout le monde est bénévole ici et fait des développements sur son temps libre.
[FR]Français (French) / Re: petites questions et informations diverses
« Last post by Lieven on Yesterday at 04:32:28 PM »
Okay, mais si je le propose en extension request, ça serait faisable ?

Personnellement, je ne joue que sur une seule partie depuis un bon bout de temps, mais j'ai tellement de lignes que je n'arrive pas à toutes les connaître (plus de 500...)
I submit it with Unit8, but DrSuperGood reverted it. However, the routine did not even show up in profiling, so I think indeed uint8 is the way to go.
Bug Reports / Re: Simutrans GDI cannot run on Windows 10 1809 ?
« Last post by z9999+ on Yesterday at 08:12:40 AM »
Thank you. r8634 works for me.  :)

I downloaded Google Japanese IME and switched to it. Then problem didn't happen.
So, MS-IME is the reason.
simthread.h should already handle the non _NP version since OSX is in the same boat.

Atomic would fix the problem with marking dirty, but make processing the array difficult from what I see.
By far the easiest fix is to revert the wrong change (for little endian). Two threads accessing different uint8s within the same uint32 works already.
The artifacts from non-atomic 32bit writes are few and seldom, but this is still wrong.
[FR]Français (French) / Re: petites questions et informations diverses
« Last post by gauthier on November 15, 2018, 07:36:05 PM »
Non il n'y a pas plus que ce que tu as comme fonctionnalités dans la carte. Le seul moyen est de connaître par coeur son réseau. Pour ma part, je ne joue jamais plusieurs parties en même temps du coup je connais toujours mon réseau sur le bout des doigts. Si on joue plusieurs parties je ne sais pas ...
Pages: [1] 2 3 4 ... 10