Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-05-2001, 04:39 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
onMouseOver, onMouseDown etc...

<[ Delph Inc. ]>

I've been thinking of this for a while and I think Stefan should implement the onMouseOver, onMouseDown, onMouseMove etc... commands into Graal.
For example:

if (onmouseover.x<10,20>&&onmouseover.y<10,20>) {
changeimgpart 1,x,y,w,h;
}

That would make it so as soon as your mouse goes over the image with an index of 1, it would change the images x,y,w,h.
For those of you who don't know the x and y is the start of a box of a certain part of an image you want to select and the width and height determines how large the box will be.
These commands would be good for many things.
I first came up with the idea a while ago when I was actually trying to see if he had already done this because Stefan made the right click thing on the players.
*NOTE: I was just in my early days of scripting.*
This would be good for a few things mentioned already in these forums and things which are already in use.

-Moving furinture would be a sinch with this. By just clicking and dragging the item to where you want it.
-The railroad tracks on 2k1 where you could just click on the tile you want, which is already displayed on the screen and then place the tile you clicked on to where you want it.

I know there would be many problems and bugs with this, but Stefan could probably disable the onMouse commands to not work with others where there could be problems.

Galactica (Dolphonia II)
Under Construction (Sort of)

</[ Delph Inc. ]>

*Edit Note* Now I come to think of it, you could probably even create your own levels while actually playing the game. But then you probably wouldn't be able to save the level. You could still upload the text part of a level to a server string or something.

Please everybody, just think of all the posibilities and new things it would bring to graal.
__________________
Xerphier Dintch
Featuring

Last edited by Knightoffrost; 09-05-2001 at 05:05 PM..
Reply With Quote
  #2  
Old 09-05-2001, 06:33 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
<[ Delph Inc. ]>


I'm quite new to the forum.

Galactica (Dolphonia II)
Under Construction (Sort of)

</[ Delph Inc. ]>
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #3  
Old 09-05-2001, 07:15 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Stefan already said he is not adding it and I am sad.
Reply With Quote
  #4  
Old 09-06-2001, 02:30 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
He wants Graal to be GamePad supportive but Given that EVERYONE has a mouse and a Keyboard and Not the overwhelming majority have a gamepad. I see no reason to exclude it. I Know however it is the fact that sicne Graal is like Link to the Past, Stefan wants to allow those who do have a gamepad to enjoy graal much like an SNES game but it is a seriouse disadvantage. I'd say dont include gamepad and include mouse detection in scripting. This might even be a NewWorld feature and stefan dont wanna add it to Graal. who knows.
__________________

subliminal message: 1+1=3
Reply With Quote
  #5  
Old 09-06-2001, 02:41 AM
revalation revalation is offline
Registered User
revalation's Avatar
Join Date: Mar 2001
Location: a sea of cherry jello.
Posts: 973
revalation is on a distinguished road
Send a message via AIM to revalation Send a message via Yahoo to revalation
You could make make fun mini-games with it to. Like a match-up game or something. You could do it with the current commands, but it would be much easier with the onClick command, etc.

<edit> Of course, this feature would be for New World <edit>
__________________

kuromu.

Last edited by revalation; 09-06-2001 at 02:47 AM..
Reply With Quote
  #6  
Old 09-06-2001, 06:13 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
stefan is trying to ensure NewWorlds superiority, if it was worse than say Murasamune then everyone would laugh at stefan and he'd run home crying and tell unixmad to ban everyone who questioned NewWorlds superiority


BTW: Murasamune will not be better than NewWorld, I was just using that as an example, however I think a PW could be better than NW if it actually tried...
Reply With Quote
  #7  
Old 09-06-2001, 06:27 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
Quote:
BTW: Murasamune will not be better than NewWorld, I was just using that as an example, however I think a PW could be better than NW if it actually tried...
Pssh. Anything and anyone could be better than anything or anyone if they tried.

And ESPECIALLY if they didn't keep using Shadow Dragon NPCs and those getting-annoyingly-stupid putexplosion/putbomb weapons... honestly, can't you people script a single NPC that attacks without putexplosion/putbomb? Sheesh...

Aaanyway... Murasamune better than NewWorld... hmm... that could be a possibility as stubborn as SoulBlade is
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #8  
Old 09-06-2001, 08:07 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Psst. The secret is to make a crappy p2p PW and then when its up make it the greatest thing ever created. ok? heheheh
__________________

subliminal message: 1+1=3
Reply With Quote
  #9  
Old 09-06-2001, 11:59 PM
NeoNPL NeoNPL is offline
HONEY IM HOME!
NeoNPL's Avatar
Join Date: Jun 2001
Location: Mianus
Posts: 1,361
NeoNPL is on a distinguished road
Send a message via Yahoo to NeoNPL
This would cause so many problems moving your mouse when reading PM's toall's etc it makes me sad.
Reply With Quote
  #10  
Old 09-07-2001, 12:18 AM
RawPower RawPower is offline
Godd Bye
RawPower's Avatar
Join Date: Mar 2001
Location: Canada
Posts: 3,554
RawPower is on a distinguished road
Send a message via ICQ to RawPower Send a message via AIM to RawPower
Quote:
Originally posted by entravial


Pssh. Anything and anyone could be better than anything or anyone if they tried.

And ESPECIALLY if they didn't keep using Shadow Dragon NPCs and those getting-annoyingly-stupid putexplosion/putbomb weapons... honestly, can't you people script a single NPC that attacks without putexplosion/putbomb? Sheesh...

Aaanyway... Murasamune better than NewWorld... hmm... that could be a possibility as stubborn as SoulBlade is
Murasamune doesn't come CLOSE to as good as NewWorld. You're joking right?
__________________
Farewell graalians...
Reply With Quote
  #11  
Old 09-07-2001, 09:01 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
Quote:
Murasamune doesn't come CLOSE to as good as NewWorld. You're joking right?
I believe I said COULD be...
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.