Skip to main content
Topic: Editing Buttons from above Toolbar (Read 16008 times) previous topic - next topic

Editing Buttons from above Toolbar

Can I edit the buttons located the toolbar on above the window?
Version using: Simutrans v111.0
Paks: pak64, pak96.comic, pak128 openr582, pak128.Britain, pak128.Japan, pak192.comic
Using: Paint.NET, Paint, Photoshop, SketchUp
Future Addon(s): Building (Link)
Current Addon(s): Eye-See Mart and Several Building addons  Ask me any questions. I'm free.

Re: Editing Buttons from above Toolbar

Reply #1
Edit in what sense? names, icons?

Re: Editing Buttons from above Toolbar

Reply #2
Icons.
Version using: Simutrans v111.0
Paks: pak64, pak96.comic, pak128 openr582, pak128.Britain, pak128.Japan, pak192.comic
Using: Paint.NET, Paint, Photoshop, SketchUp
Future Addon(s): Building (Link)
Current Addon(s): Eye-See Mart and Several Building addons  Ask me any questions. I'm free.

Re: Editing Buttons from above Toolbar

Reply #3
Then you need to get the sources, dat and png files, from the SVN (link) modify the png images and using makeobj, recompile them in order to create a new pak file.

The files you need to get from the SVN are wkz_icons.png and new_menus.dat

I forgot to mention that every pakset has its own menus and icons so this is only valid for pak64.

 

Re: Editing Buttons from above Toolbar

Reply #4
you can create a menubutton pak file and then define this file in menuconf.tab

examples dats
Quote
Obj=menu
name=narrowgauge1_button
Image[0]=> narrowgauge_buttons.0.0
---
Obj=menu
name=narrowgauge2_button
Image[0]=> narrowgauge_buttons.0.1
---

examples lines in menuconf.tab
Quote
...
toolbar[0][5]=toolbar[3],narrowgauge1_button,,NARROWGAUGETOOLS,narrowgaugetools.txt
...
Quote
...
toolbar[3][6]=general_tool[17],narrowgauge2_button,,8
...

empty buttons found in the Tikiwiki

Re: Editing Buttons from above Toolbar

Reply #5
Ok thanks
Version using: Simutrans v111.0
Paks: pak64, pak96.comic, pak128 openr582, pak128.Britain, pak128.Japan, pak192.comic
Using: Paint.NET, Paint, Photoshop, SketchUp
Future Addon(s): Building (Link)
Current Addon(s): Eye-See Mart and Several Building addons  Ask me any questions. I'm free.