Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

So there's Mouse Support now...

9 replies · 1,942 views · Started 21 December 2007

[font=courier][16:34] <ShadowTiger> * Complemented the InputX and InputY Link scripting variables with InputZ (scroll wheel) and InputB (button mask).
[16:35] <ShadowTiger> Yeah, ZC has mouse support now via scripting,
[16:35] <ShadowTiger> so it's technically possible to, say,
[16:35] <ShadowTiger> circle a boulder with the mouse,
[16:35] <ShadowTiger> then click on it,
[16:35] <ShadowTiger> and the boulder can explode.
[16:38] <Geecku> or click to place bomb
[16:38] <Geecku> and boom
[16:38] <Geecku> that might be kinda fun
[16:38] <Geecku> if used the right way
[16:38] <ShadowTiger> Now I'm thinking of how the script would work right now.
[16:39] <ShadowTiger> It would be done with three conditions:
[16:39] <ShadowTiger> 1) Done clockwise. That depends on the following two points:
[16:40] <ShadowTiger> 2) Firstly, it would need to be within a minimum and maximum amount of pixels DISTANCE from the item you're circling. I.e. it'd have an " 5 >= x <= 50"
[16:40] <ShadowTiger> .. as its distance calculator.
[16:40] <ShadowTiger> AND,
[16:40] <ShadowTiger> 3) It would check to see for the position of the cursor if it is FIRST positive X and Y, then postive X and negative Y,
[16:40] <ShadowTiger> then negative both, then negative X and positive y.
[16:41] <ShadowTiger> Then, maybe, both positive again, and Then, if that is true, a flag is enabled,
[16:41] <ShadowTiger> which means that if you click within the space the combo is in,
[16:41] <ShadowTiger> It could trigger a secret flag or something.
[16:41] <ShadowTiger> one or more of the conditions aren't true, nothing would happen.
[16:42] <Geecku> now to undo bringing up the ZC menu with it
[16:42] <Geecku> cause otherwise
[16:42] <Geecku> when you click
[16:43] <Geecku> it'll just pause the game
[16:43] <Geecku> still
[16:44] <Geecku> won't the screen go monochrome with a menu at the top and pause?
[16:44] <ShadowTiger> If you click? ... Hm. That's a good point, actually.
[/font]

So what's this InputB (button mask)?

Also right now I'm picturing people getting way too creative with minigames in the future.

...hmm, I might make a three card monty ffc minigame as the final battle against good and evil using this.

Obviously, an option needs to be added where left click->pause is replaced with Esc->pause.

Someone's forgetting this is *SUPPOSED* to be Zelda...

I wouldn't use it in quests. No. It would ruin the fun of button mashing and it wouldn't
feel like a 2d video game so much anymore. But for some minigames, I say, hell yeah...

Yeah my first thought wasn't PH admittadly, but stuff like using the cursor in WW to select multiple targets for the boomerang.(Come to think of it, TP too)

punkonjunk1024 wrote:Is there a Zscript database or anything?

There should be. Right now the script showcase forum sort of works as a script database, but there should be a real database. Anyone agree with me?