Gothic Online Forums
[Clientside] Clickable animation menu - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html)
+--- Forum: Resources (https://archive.gothic-online.com/forum-14.html)
+---- Forum: Scripts (https://archive.gothic-online.com/forum-17.html)
+---- Thread: [Clientside] Clickable animation menu (/thread-329.html)



[Clientside] Clickable animation menu - Buras - 04.01.2016

Hi. I've just started to learn how to code in Squirrel and this script was the first solution I've ever written in it. It's clickable animation menu, so you can use your mouse to control it. When the menu appears, player and camera movement is blocked. However, I highly recommend to change your cursor sensitivity using:

Code:
void setCursorSensitivity(float number);

As you are going to see, the cursor is always centered. It doesn't allow certain bug to occur. Also, there's one problem. Script is in polish, but it won't be an issue to translate it. Here is the script itself:


As you can see, the code sucks, but it works and someone can find it useful. The menu appears by pressing F9 button. 

You can delete the authorDraw, if you really want to, but please, don't pretend that this is your script.

Hope you enjoy.


RE: [Clientside] Clickable animation menu - Penito - 04.01.2016

You plan on making an English server? Tongue


RE: [Clientside] Clickable animation menu - Buras - 04.01.2016

Ummm... I don't have enough skills to make a serious server. I write gamemodes for my friends, which basically allow you to do everything you want (you play for fun). I don't have VPS, so I can't host it.


RE: [Clientside] Clickable animation menu - Arkhan - 18.01.2019

Is there any way this script could get updated to 0.1.4?


RE: [Clientside] Clickable animation menu - Patrix - 22.01.2019

You can easily "tranlate" this script to 0.1.4 version.
IMO, it would be better, to use some kind of Framework, or make a class, which could automate and simplified some things.


RE: [Clientside] Clickable animation menu - Arkhan - 22.01.2019

Yeah I tried to change it for 0.1.4 but I guess it's beyond me.