News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Lists of all vehicles and depots

Started by Yona-TYT, March 19, 2022, 02:11:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

The pak192.comic doesn't have icons for these lists yet, hopefully that will change in the next version.  :P


Flemmbrav

Is there a way to sort vehicles by owner if you use the all vehicles list?

prissi

What do you mean? This is a list of all vehicle specs, not of actual used vehicles. For this is the convoi list there, which exist almost  since the very beginning.

Flemmbrav

Oh that makes sense, thank you for this clarification!

Yona-TYT

@Flemmbrav
We still don't have these lists in the pak192.comic right?.

Flemmbrav

Nope, not yet.
But @Leartin already drew the images, so all that's needed is someone to implement them.

Yona-TYT

Quote from: Flemmbrav on March 28, 2022, 01:09:52 PMBut @Leartin already drew the images, so all that's needed is someone to implement them
nice :D

Flemmbrav

Hey there, can someone give me the Interface/Button-IDs for these two lists?
I can't find them on the wiki.


Flemmbrav

Aight thanks a lot, found it.
Mixed that up with the vehicle list we already do have.

I'll try to add them and we'll see if I manage or not - our menu dat seems really messy to be honest.

Andarix

#10
Quote from: Yona-TYT on March 19, 2022, 02:11:13 AMThe pak192.comic doesn't have icons for these lists yet, hopefully that will change in the next version.  :P
...

You can also add such tools yourself. Create a button file. Then add the tool in the menuconf.tab and enter the name of your button instead of a number.

button dat
obj=menu
name=testbutton
#copyright=
Image[0]=> buttons.1.3

image


menuconf.tab
# tool def LIST_DEPOT
dialog_tool[32]=testbutton,^d


# add toolbar LIST_DEPOT
toolbar[.][.]=dialog_tool[32]