Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-04-2004, 09:29 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Multiple Setshapes?

No, not a question, more of a suggestion... It would be nice if you could just add <<setshape# x,y,width,height,type>>.... so that way you could set a shape more easily around some showimgs... make it so you wouldn't be so tempted to put so many different NPCs for so many of the same purposes in one level, you know? especially with showimgs.
Reply With Quote
  #2  
Old 05-05-2004, 03:37 AM
DIABLO2099 DIABLO2099 is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 290
DIABLO2099 is on a distinguished road
Hm, aren't showimgs normally used for display purposes rather than interacting with the player other than visually?
__________________
-Former UnholyNation Server Manager.

Call me Xecutor.
Reply With Quote
  #3  
Old 05-05-2004, 04:52 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
No?
Look at a Menu GUI o_O
__________________
Do it with a DON!
Reply With Quote
  #4  
Old 05-05-2004, 01:46 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally Posted by zokemon
No?
Look at a Menu GUI o_O
that has nothing to do with this suggestion

Give some examples of usage with this, I hate it when people dis an idea because they can't think of anything to do with it
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #5  
Old 05-05-2004, 06:39 PM
billybob256 billybob256 is offline
Rainbow Fox
Join Date: Apr 2004
Location: b is for ENgland
Posts: 23
billybob256 is on a distinguished road
Send a message via ICQ to billybob256 Send a message via AIM to billybob256 Send a message via MSN to billybob256
acctually, multiple setshapes is a great idea, because i make houses out of ganis, and have to use setshape for every one, and for castles i have to use about 5.

It would really reduce lag but how would you select the NPCs in the level editor?
Reply With Quote
  #6  
Old 05-05-2004, 07:06 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Ex. I was working on Classic's boat NPC, some people told me that I should keep the boat's shape, but I wanted to make it so I only need one class, and I did everything but the actual tickettaker as a showimg. If I wanted to make it so nobody could swim under the boat, I would have to make a setshape.

Also, this would probably be the most practical use for it.. let's say you wanted to have an NPC so that the player could walk partially behind/under it... like the back of a tree, a sign, or a picnic table... you could do the setshape at x+1 instead of having it be at X. There could be a lot of uses for this.
Reply With Quote
  #7  
Old 05-05-2004, 07:16 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by billybob256
acctually, multiple setshapes is a great idea, because i make houses out of ganis, and have to use setshape for every one, and for castles i have to use about 5.

It would really reduce lag but how would you select the NPCs in the level editor?
Put the setshape in the gani...?

Quote:
Originally Posted by jake13jake
Ex. I was working on Classic's boat NPC, some people told me that I should keep the boat's shape, but I wanted to make it so I only need one class, and I did everything but the actual tickettaker as a showimg. If I wanted to make it so nobody could swim under the boat, I would have to make a setshape.
Attachplayertoobj + dontblock...?

Quote:
Also, this would probably be the most practical use for it.. let's say you wanted to have an NPC so that the player could walk partially behind/under it... like the back of a tree, a sign, or a picnic table...
setshape2...?
Reply With Quote
  #8  
Old 05-05-2004, 07:27 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
hmm, if it weren't for the obvious lag reducing capabilities, I'd say no for sure, but for multiple similar objects that are cross-level, showimgs would be much nicer than npcs (i.e. those blasted lights people keep making, even though that has nothing to do with setshape ). But just for having different layers of shapes on one object, put your setshape and block/dontblock in a timeout and change them as the player's interaction with the npc changes (see attachment). You don't need to layer showimgs to do such things.
Attached Files
File Type: zip dynamic_setshape.zip (1.1 KB, 112 views)
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #9  
Old 05-05-2004, 08:14 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Lance
Put the setshape in the gani...?



Attachplayertoobj + dontblock...?



setshape2...?
Have you ever even seen the classic boat system? What if you wanted to put more than one table in a level but have all the tables in one npc? What if you wanted a level in which all the walls were scripted in setshapes?
Reply With Quote
  #10  
Old 05-06-2004, 12:15 AM
DIABLO2099 DIABLO2099 is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 290
DIABLO2099 is on a distinguished road
putnpc with a class script may do the trick, not sure =O.
__________________
-Former UnholyNation Server Manager.

Call me Xecutor.
Reply With Quote
  #11  
Old 05-06-2004, 02:05 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by jake13jake
Have you ever even seen the classic boat system?
No.

Quote:
What if you wanted to put more than one table in a level but have all the tables in one npc?
Why?

Quote:
What if you wanted a level in which all the walls were scripted in setshapes?
Why, again?
Reply With Quote
  #12  
Old 05-06-2004, 09:43 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally Posted by billybob256
acctually, multiple setshapes is a great idea, because i make houses out of ganis, and have to use setshape for every one, and for castles i have to use about 5.

It would really reduce lag but how would you select the NPCs in the level editor?
~G_Yoshi's Slice of Advice (lol)~

You don't even need to use setshape for houses if you know how to do it right Take a look at GK's buildings. The gani, in the editor, shows a 'base' which is the blocking zone of the house. Next, open the gani in wordpad and take a look at the script. That's what puts up the rest of the building without blocking the player. Its very useful and very efficient. Plus, when in the level editor, you see the entire thing, not just the base. I use this on Doragon Koden for anything that a player could possibly go under: Trees, houses, even my stone walls.

Setshape is more useful for smaller objects. Its purpose is for use with an NPC server, particularly non-clientside objects (i.e. script does not contain //#CLIENTSIDE; can still be used clientside, though). Setshape2 is pretty much the same except you get more control over how each 'tile' of the image behaves.
__________________
Reply With Quote
  #13  
Old 05-06-2004, 10:17 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Lance
No.
Take a look before you judge.


Why?
More efficiency, easier to edit.


Why, again?
If you want to make something creative.
Did you see those crazy moving blocks on the race course in the graalympics? Bet this could've done a lot of good there.
Reply With Quote
  #14  
Old 05-08-2004, 06:49 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally Posted by jake13jake
Did you see those crazy moving blocks on the race course in the graalympics? Bet this could've done a lot of good there.
For what you're doing, you don't need this. For something like that, it would help but still isn't necessary. What you're suggesting has a rather limited range of uses, of which, all can already be done.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #15  
Old 05-08-2004, 03:53 PM
dlang dlang is offline
Yoshi!
dlang's Avatar
Join Date: Oct 2002
Location: Houston, Texas
Posts: 406
dlang is on a distinguished road
Send a message via AIM to dlang Send a message via MSN to dlang
This would be easier for certain npcs than useing multiple images.
__________________
Where do I take this pain of mine?
I run but it stays right by my side.
So tear me open, pour me out,
there's things inside that scream and shout.
And the pain still hates me, so hold me until it sleeps.

---------------
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 09:58 PM.


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