Author Topic: TEMPLATE: Tumbleweed Verbs 1.3 Last update: 24th December 2019  (Read 28364 times)

Is it possible to set the default gui style to "classic"?
In the manual I read about using ToogleGuiStyle to switch between classic and new mode but frankly, I have no idea how to do it... :confused:

Fail at Floaty Rog' now!  still having to deal with what games are going through

Setting the default gui layout to "classic" worked like this:

Code: [Select]
Verbs.ToogleGuiStyle(0); //sets gui style to classic
sldOptionsStyle.Value = 0 //sets slider for layout in options menu to classic

Many thanks to Khris for pointing me in the right direction.

Monsieur OUXX

  • Mittens Vassal
  • Cavefish
  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
    • Monsieur OUXX worked on one or more games that won an AGS Award!
    •  
    • Monsieur OUXX worked on one or more games that was nominated for an AGS Award!
A German speaker told me that this was not correct :
Quote
Musik Lautstärke
Sound Effekte

...but this was correct :
Quote
Musiklautstärke
Soundeffekte

I cannot assert the truth of his sayings but I'm reporting it.
 

Olleh19

  • I'm an AGS n00b, please don't kill me
If anybody knows how to get abstauber on the forum again, please tell him to come online. I've fixed the Swedish Verbs and they are just waiting to be added to the template.
It's very selfish ofc since i wanna use them, but it's good for other Swede's too if there are any on here. (laugh)

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on one or more games that won an AGS Award!
    •  
    • Cassiebsg worked on one or more games that was nominated for an AGS Award!
There are at least 3 others, that I know, that post regularly... and some others that post occasionally. And probably a few bunch lurkers as well.  ;)
There are those who believe that life here began out there...

Olleh19

  • I'm an AGS n00b, please don't kill me
There are at least 3 others, that I know, that post regularly... and some others that post occasionally. And probably a few bunch lurkers as well.  ;)

Good to know, here's a personal greeting to them.  :)

Va i helvete grabbar, hjälp mig få fart på joysticken och verbsen. Verbsen sitter inte fast i config  varje gång man resetar spelet, så därför vore det ju bra om abstauber kunde dyka upp och fixa det. Verkar vara något lurt.  8-0

I've fixed the Swedish Verbs and they are just waiting to be added to the template.
Which files need to be modified to fix it?

Olleh19

  • I'm an AGS n00b, please don't kill me
I've fixed the Swedish Verbs and they are just waiting to be added to the template.
Which files need to be modified to fix it?

I wished i knew the answer. I believe it's something with the language needs to be written to a config file while it has been choosen, so the game "remembers" it. It does not remember my custom language Verbs, but all the other languages graphic Verbs are remembered. I have tried to explain this in beginners forum, but it's hard. I hope you get the "issue".

I've never made translation, so I found it a little difficult to follow. Are you adding Swedish to the template or fixing Swedish that was already there?

Olleh19

  • I'm an AGS n00b, please don't kill me
I've never made translation, so I found it a little difficult to follow. Are you adding Swedish to the template or fixing Swedish that was already there?


Here is what i have done. Open a Thumbleed new project, and replace the Verbs gui scripts with this, that's all i've done. The Quit game = Avsluta spel (Swedish), all such things is in the Verbs.Gui, done by me. All Swedish = Done by me.
I think you get the issue, once you see the scripts (hopefully).
See if you can discover why the Swedish Verb Sprites do not stay on screen, while the others do, cause i dont know why.
Everytime i have to call this in either a Gui, or Globalscripts start:

Code: Adventure Game Studio
  1. Verbs.VerbGuiOptions[eVerbGuiTemplateLanguage] = eLangSE;
  2. Verbs.LocalizeActionButton(eLangSE, eGA_Open, 485, 486, 's');
  3. Verbs.LocalizeActionButton(eLangSE, eGA_Close, 487, 488, 's');
  4. Verbs.LocalizeActionButton(eLangSE, eGA_GiveTo, 489, 490, 's');
  5. Verbs.LocalizeActionButton(eLangSE, eGA_Push, 491, 492, 's');
  6. Verbs.LocalizeActionButton(eLangSE, eGA_Pull, 493, 494, 's');
  7. Verbs.LocalizeActionButton(eLangSE, eGA_Use, 495, 496, 's');
  8. Verbs.LocalizeActionButton(eLangSE, eGA_PickUp, 497, 498, 's');
  9. Verbs.LocalizeActionButton(eLangSE, eGA_LookAt, 499, 500, 's');
  10. Verbs.LocalizeActionButton(eLangSE, eGA_TalkTo, 501, 502, 's');
I'm "missing something", it could ofc be other scripts, i've only added Swedish code, where i saw there were other languages code, "basic logic" there. Or if the code should go elsewhere to "get it to stay inside the template". However big warning now ofc.
The sprites need to be added again into "your" basic template, so the numbers of the sprites that i have written needs to be replaced with new valid sprite numbers.

http://www.mediafire.com/file/9z433isgz3cchvk/Swedish.zip/file
« Last Edit: 23 Oct 2020, 00:44 by Olleh19 »

I have some time off work next week, so perhaps I can take a look then and try to work out what is going on.
Thanks for uploading the scripts and images.

Olleh19

  • I'm an AGS n00b, please don't kill me
I have some time off work next week, so perhaps I can take a look then and try to work out what is going on.
Thanks for uploading the scripts and images.

I am the one who should say thanks! This forum has been incredible so far. All the help one gets.
Almost feel bad, i can't give anything back, as of yet! (laugh)
I wish you the best of luck with it. It would be really nice to be able to set it to my native language, but it's not a must ofc.

If you do manage to fix it, you will get free hintline call 24h if you get stuck (in the future game that is).
 8-)

Hy guys,

I was just wondering if there is any way of repositioning the verb that shows up in classic mode. I need to position it 2 or 3 pixels higher because it's in the way of my verb GUI design.

signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook[/url]

Monsieur OUXX

  • Mittens Vassal
  • Cavefish
  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
    • Monsieur OUXX worked on one or more games that won an AGS Award!
    •  
    • Monsieur OUXX worked on one or more games that was nominated for an AGS Award!
Is there a way of repositioning the verb that shows up in classic mode.

Let's avoid cluttering this thread. I suggest you ask the question in the Beginners Questions thread : "how to move a GUI?". Hint : Try to locate the exact GUI (and label inside the GUI) that displays that text on the screen. You'll find it in the "GUI" folder of your AGS Editor. It probably contains the word "action" or the word "status" (just a guess)