The International Simutrans Forum

PakSets and Customization => Pak192.Comic => Topic started by: Yona-TYT on March 19, 2022, 02:11:13 AM

Title: Lists of all vehicles and depots
Post by: Yona-TYT on March 19, 2022, 02:11:13 AM
The pak192.comic doesn't have icons for these lists yet, hopefully that will change in the next version.  :P

(https://github.com/Yona-TYT/imgs/raw/main/Captura%20de%20pantalla%20de%202022-03-18%2022-07-04.png)
Title: Re: Lists of all vehicles and depots
Post by: Flemmbrav on March 23, 2022, 07:07:18 PM
Is there a way to sort vehicles by owner if you use the all vehicles list?
Title: Re: Lists of all vehicles and depots
Post by: prissi on March 24, 2022, 12:19:07 AM
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.
Title: Re: Lists of all vehicles and depots
Post by: Flemmbrav on March 24, 2022, 04:19:12 PM
Oh that makes sense, thank you for this clarification!
Title: Re: Lists of all vehicles and depots
Post by: Yona-TYT on March 24, 2022, 06:12:16 PM
@Flemmbrav
We still don't have these lists in the pak192.comic right?.
Title: Re: Lists of all vehicles and depots
Post by: Flemmbrav on March 28, 2022, 01:09:52 PM
Nope, not yet.
But @Leartin already drew the images, so all that's needed is someone to implement them.
Title: Re: Lists of all vehicles and depots
Post by: Yona-TYT on March 30, 2022, 07:58:03 PM
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
Title: Re: Lists of all vehicles and depots
Post by: Flemmbrav on April 06, 2022, 09:35:21 PM
Hey there, can someone give me the Interface/Button-IDs for these two lists?
I can't find them on the wiki.
Title: Re: Lists of all vehicles and depots
Post by: Andarix on April 07, 2022, 08:22:27 AM
Quote from: Flemmbrav on April 06, 2022, 09:35:21 PM...
I can't find them on the wiki.

 :o


Menus Dialoge_Tools (https://simutrans-germany.com/wiki/wiki/de_MenuDef?page_ref_id=1593#Dialoge_Tools)

tool 32 and 33
Title: Re: Lists of all vehicles and depots
Post by: Flemmbrav on April 07, 2022, 11:07:38 AM
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.
Title: Re: Lists of all vehicles and depots
Post by: Andarix on April 08, 2022, 08:43:23 AM
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
(https://forum.simutrans.com/index.php?action=dlattach;topic=21499.0;attach=30250;image)

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


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