Forged Alliance Forever Forged Alliance Forever Forums 2016-01-13T17:28:43+02:00 /feed.php?f=2&t=11476 2016-01-13T17:28:43+02:00 2016-01-13T17:28:43+02:00 /viewtopic.php?t=11476&p=117663#p117663 <![CDATA[Re: the essential part of the azui mod]]> Statistics: Posted by VoiceofReason — 13 Jan 2016, 17:28


]]>
2016-01-13T15:17:16+02:00 2016-01-13T15:17:16+02:00 /viewtopic.php?t=11476&p=117652#p117652 <![CDATA[Re: the essential part of the azui mod]]>
I agree this would be a very nice option to have.

Did AZUI also remove the lag when clicking upgrades? That would be a great addition too.

Statistics: Posted by JaggedAppliance — 13 Jan 2016, 15:17


]]>
2016-01-13T06:51:56+02:00 2016-01-13T06:51:56+02:00 /viewtopic.php?t=11476&p=117625#p117625 <![CDATA[Re: the essential part of the azui mod]]>
Zock wrote:
I thought this part of AZUI is integrated in FAF and thats why it doesnt work anymore?


That is solid right there

Statistics: Posted by SeraphimLeftNut — 13 Jan 2016, 06:51


]]>
2016-01-13T04:04:28+02:00 2016-01-13T04:04:28+02:00 /viewtopic.php?t=11476&p=117620#p117620 <![CDATA[Re: the essential part of the azui mod]]> Statistics: Posted by Zock — 13 Jan 2016, 04:04


]]>
2016-01-13T03:13:13+02:00 2016-01-13T03:13:13+02:00 /viewtopic.php?t=11476&p=117618#p117618 <![CDATA[Re: the essential part of the azui mod]]>
tatsu wrote:
no i totally agree and can see why it would be useful at least as an ingame option you have to enable yourself.

I don't think it's a question of people not wanting it that way but rather a lack of motivated coders of which we're all a part of. myself included. I should probably start digging into SupCom lua code. are there any guides to modding FA?


I used to just put random stuff in random places, but I learned my lesson not to do that. I would talk to someone like Sheeo about helping out with coding.

Statistics: Posted by SeraphimLeftNut — 13 Jan 2016, 03:13


]]>
2016-01-13T02:41:30+02:00 2016-01-13T02:41:30+02:00 /viewtopic.php?t=11476&p=117615#p117615 <![CDATA[Re: the essential part of the azui mod]]>
I don't think it's a question of people not wanting it that way but rather a lack of motivated coders of which we're all a part of. myself included. I should probably start digging into SupCom lua code. are there any guides to modding FA?

Statistics: Posted by tatsu — 13 Jan 2016, 02:41


]]>
2016-01-13T01:54:45+02:00 2016-01-13T01:54:45+02:00 /viewtopic.php?t=11476&p=117611#p117611 <![CDATA[Re: the essential part of the azui mod]]>
tatsu wrote:
could you explain how you set this up?

This is copied directly from the original azui mod that is available through the vault.
However this mod no longer works with FAF.

This part of the mod changes the way the mouse clicks are handled by the game.
The usual: Mouse is pressed down, mouse released - is a click
AZUI made it that: Mouse is pressed down - is a click

The reason this is important has to do with the fact that the position of the mouse cursor relative to objects on the map(rocks/units/way points) changes the functionality of the cursor. When the position of the mouse cursor changes after a mouse button is pressed down there is a strong possibility that the functionality of the cursor will change before the mouse button is released especially if you are moving your camera.
Example: select a group of mantis and attempt to give a move order at a precise position in front of the enemy force, as you are giving the order you begin to zoom out and zoom in on a different part of the map, when you comeback you may find that your mantis were actually given an attack order on a single enemy unit and proceded to chase that unit to their death.
In order to deal with this you have to not do anything until the order is given, unfortunately due to all kinds of sim/net/ren lags this time gap varies greatly from game to game and within a game. The above mod solves this problem.
Example: you select a group of engineers and attemp to have them assist a series of mexes for upgrades. If you move your camera too much while you do this you will not be assisting just the mexes, but mass storages and other engies as well.(I am using defualt select tolerance values and clickscale values and have not fucked with them in the registry if you are wondering) The above mod solves the problem.

The standard excuse for not having this be an option is that this is not the way it works in 99% of other applications and it would be unusual for players to have it function differently.

PS you can see that the players who stay at a constant zoom level or do not have a scroll wheel probably don't care about this at all.

Statistics: Posted by SeraphimLeftNut — 13 Jan 2016, 01:54


]]>
2016-01-12T23:43:44+02:00 2016-01-12T23:43:44+02:00 /viewtopic.php?t=11476&p=117605#p117605 <![CDATA[Re: the essential part of the azui mod]]> Statistics: Posted by tatsu — 12 Jan 2016, 23:43


]]>
2016-01-12T22:17:54+02:00 2016-01-12T22:17:54+02:00 /viewtopic.php?t=11476&p=117601#p117601 <![CDATA[the essential part of the azui mod]]>
-- AZ ADDITION
-- Rewrites Button.HandleEvent to trigger OnClick when the mouse is clicked, not released.
-- Makes construction feel more responsive and fixes "dropped clicks".
function CustomHandleEvent(self, event)
local eventHandled = false

if event.Type == 'MouseEnter' then
if self.mAltToggledFlag then
self:SetTexture(self.mAltHighlight)
else
self:SetTexture(self.mHighlight)
end
self:OnRolloverEvent('enter')
self:Play()
if self.mRolloverCue then
local sound = Sound({Cue = self.mRolloverCue, Bank = "Interface",})
PlaySound(sound)
end
self.mMouseOver = true
eventHandled = true
elseif event.Type == 'MouseExit' then
if self.mAltToggledFlag then
self:SetTexture(self.mAltNormal)
else
self:SetTexture(self.mNormal)
end
self:OnRolloverEvent('exit')
self:Play()
self.mMouseOver = false
eventHandled = true
elseif event.Type == 'ButtonPress' or event.Type == 'ButtonDClick' then
self:OnClick(event.Modifiers)
if self.mClickCue then
local sound = Sound({Cue = self.mClickCue, Bank = "Interface",})
PlaySound(sound)
end
self:Play()
eventHandled = true
end

return eventHandled
end

Statistics: Posted by SeraphimLeftNut — 12 Jan 2016, 22:17


]]>