Gothic Online Forums
small Wishes for the next release Version - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Main (English) (https://archive.gothic-online.com/forum-3.html)
+--- Forum: Discussions (https://archive.gothic-online.com/forum-6.html)
+--- Thread: small Wishes for the next release Version (/thread-1105.html)

Pages: 1 2


RE: small Wishes for the next release Version - HammelGammel - 22.02.2016

A few things I think would be useful:

- onEquipMeleeWeapon, onEquipRangedWeapon and onEquipArmor -callbacks with parameters that have the new equipped item and the old equipped item would be very appreciated.
- I know it's possible to get the value and description of an item, but it would be very useful to have a way to also get the damage and skill-requirements.


RE: small Wishes for the next release Version - HammelGammel - 03.03.2016

- A getPlayerAngle-function for the server.
- Having the draws always on top is a problem. There are several cases where I actually need them below a texture. Would be nice if this could be changed ^-^


RE: small Wishes for the next release Version - Bimbol - 03.03.2016

(03.03.2016, 01:15)HammelGammel Wrote: - A getPlayerAngle-function for the server.
- Having the draws always on top is a problem. There are several cases where I actually need them below a texture. Would be nice if this could be changed ^-^
1. Already exist.
2. This was changed, but if draws won't be always on top, then u will have to control order of creating textures and draw. And ten u can't just update draw to be on top. In version 0.4a draws wasn't on top, and scripters got many problems, so we just change this.


RE: small Wishes for the next release Version - HammelGammel - 03.03.2016

From what I can tell, it only exists on the client. I'd need to immediately get the angle of the player from the server though. Or is it just named differently? I tried getPlayerAngle, getAngle, getPlayerRotation and getRotation.

Is there any way this could be really fixed? Seems more like a workaround to me Big Grin And it's really limiting when draws are always on top. Especially with my dropdown-menues it's quite a problem.


RE: small Wishes for the next release Version - Bimbol - 03.03.2016

1. Sorry, I didn't noticed. I forgot to register this function in squirrel.
2.. Yes, there is way. Low level draw managmenet. What I mean? The standard Gothic method, printing draws in onRender. Then u can simply manipulate with draws. Other way is something like zIndex, but draws must be fast. I have to think about it.