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 11-19-2003, 01:21 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
'uber' setshape? @_@

Is there an easier way to make setshape2 overwrite the tiles underneith the NPC than with attachplayertoobj?

ie: setshape2 2,2,{0,0,0,0,} over blocking tiles that allow you to walk over the NPC...

I know it can be done when using the other command with it... But is their an easier way? Because with attachplayertoobj the script has to be unique for each NPC... Is there a secret setshape3 or something? If not I think there should be... For us non-scripting type folk who use it for design reasons... (bridges and the like) :|
Reply With Quote
  #2  
Old 11-19-2003, 02:26 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
Re: 'uber' setshape? @_@

Quote:
Originally posted by haunter
\Because with attachplayertoobj the script has to be unique for each NPC...
False.

You want the variable named: id

which is rather self-explanatory.
Reply With Quote
  #3  
Old 11-19-2003, 02:29 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Re: Re: 'uber' setshape? @_@

Quote:
Originally posted by Lance


False.

You want the variable named: id

which is rather self-explanatory.
wtfs. No it's not...



edit: *deletes bad analogy*

I have no bloody clue as to what you're talking about... @_@;

I looked in the commands.rft for the ID variable, i couldn't find anything about it... perhaps I missed it... But is there any place I can perhaps read more about this?
Reply With Quote
  #4  
Old 11-19-2003, 02:39 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Re: Re: 'uber' setshape? @_@

Quote:
Originally posted by haunter


wtfs. No it's not...



edit: *deletes bad analogy*

I have no bloody clue as to what you're talking about... @_@;

I looked in the commands.rft for the ID variable, i couldn't find anything about it... perhaps I missed it... But is there any place I can perhaps read more about this?
Answer this: what is an id, in real life, then you should be able to figure out what it is in script
Reply With Quote
  #5  
Old 11-19-2003, 02:46 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Re: Re: Re: Re: 'uber' setshape? @_@

Quote:
Originally posted by Python523


Answer this: what is an id, in real life, then you should be able to figure out what it is in script
Yeah, that's what i figured after a bit ;P

Alright... I might be able to figure this out... maybe @_@;

Thanks
Reply With Quote
  #6  
Old 11-19-2003, 02:50 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
Re: Re: Re: 'uber' setshape? @_@

Quote:
Originally posted by haunter

I looked in the commands.rft for the ID variable, i couldn't find anything about it... perhaps I missed it... But is there any place I can perhaps read more about this?
Your statement made me laugh as there are so many things not in commands.rtf. ^_^
Reply With Quote
  #7  
Old 11-19-2003, 02:53 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Re: Re: Re: Re: 'uber' setshape? @_@

Quote:
Originally posted by Lance


Your statement made me laugh as there are so many things not in commands.rtf. ^_^
I am using the 'revised' one found in Dach's signature... Even though it's already out of date... There are atleast two commands missing from that version...

seteffectmode
and
changeimgmode


And also, are there any good documents I could read that would enlighten me in the aspects of scripting?


~Mmm abnormal sentence structure...~
Reply With Quote
  #8  
Old 11-19-2003, 04:10 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
I think attachtoobj (or however the command goes) is a pain to work with... setshape3 or something would be usefull for things like briges, etc, that aren't intended to move, as a boat would, for example.
__________________
Reply With Quote
  #9  
Old 11-19-2003, 04:13 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
Except that part's got nothing to do with the shape of the NPC.
Reply With Quote
  #10  
Old 11-19-2003, 04:22 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
You know, I was thinking... setshape3 would be pretty useless anyway... because if you want a bridge that you can walk on, or under, you would still need the if (playerx in | blahblahblah... )

Right? @_@;
Reply With Quote
  #11  
Old 11-19-2003, 05:21 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
Re: Re: Re: Re: Re: 'uber' setshape? @_@

Quote:
Originally posted by haunter


I am using the 'revised' one found in Dach's signature... Even though it's already out of date... There are atleast two commands missing from that version...

seteffectmode
and
changeimgmode
damn...
also missing;
sendrpgmessage, #R

I could of swore I had the color modes though, oh right stupid overwrite of other commands.rtfs... *mumble*

fixed it
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #12  
Old 11-19-2003, 07:41 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Don't forget that i was the first one to update commands.rtf when Stefan didn't anymore
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #13  
Old 11-19-2003, 11:29 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally posted by GoZelda
Don't forget that i was the first one to update commands.rtf when Stefan didn't anymore
Uh, no you weren't. I'm shure plenty of people (including myself) have edited it. Most of us just never released it.
Reply With Quote
  #14  
Old 11-19-2003, 11:44 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Prove it :P
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #15  
Old 11-20-2003, 12:58 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by GoZelda
Prove it :P
Does it really matter that much to you?
Reply With Quote
  #16  
Old 11-20-2003, 01:47 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
Quote:
Originally posted by Lance
Except that part's got nothing to do with the shape of the NPC.
Nothing to do with the shape of the npc?

Quote:
Originally posted by haunter

Is there an easier way to make setshape2 overwrite the tiles underneith the NPC than with attachplayertoobj?

ie: setshape2 2,2,{0,0,0,0,} over blocking tiles that allow you to walk over the NPC...

I know it can be done when using the other command with it... But is their an easier way? Because with attachplayertoobj the script has to be unique for each NPC... Is there a secret setshape3 or something? If not I think there should be... For us non-scripting type folk who use it for design reasons... (bridges and the like)
Silly little Lance... the first post of this thread is SUGESTING a setshape like setshape2 but overides the tileboard like attachtoobj does. My post is agreeing with hunter, so therefore it has everything to do with the thread.
__________________
Reply With Quote
  #17  
Old 11-20-2003, 03:43 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 MrGannondorf

Silly little Lance... the first post of this thread is SUGESTING a setshape like setshape2 but overides the tileboard like attachtoobj does. My post is agreeing with hunter, so therefore it has everything to do with the thread.
I'll try this in simpler terms.

Tiles. Are. Not. A. Facet. Of. An. NPC's. Shape.
Reply With Quote
  #18  
Old 11-20-2003, 04:33 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
Originally posted by Lance


I'll try this in simpler terms.

Tiles. Are. Not. A. Facet. Of. An. NPC's. Shape.
So people, if you want to do somthing, use an imagepart from pics1.png, and use the tile with the effect you want underneath it.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #19  
Old 11-20-2003, 11:28 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 GoZelda
Don't forget that i was the first one to update commands.rtf when Stefan didn't anymore
when did you start updating it? I'm not trying to shoot you down or anything but I did find my backing

to haunter
you could change the tiles underneath the npc so they don't block while you're doing these operations, but if you don't like that then attachplayertoobj is definately your best bet
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #20  
Old 11-20-2003, 07:13 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by GoZelda
Prove it :P
Don't you think that you are being a little immature? It does not matter who has editted it.
__________________
[signature]insert here[/signature]
Reply With Quote
  #21  
Old 11-20-2003, 09:09 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by screen_name


Don't you think that you are being a little immature? It does not matter who has editted it.
Don't you think it's obvious i wasn't serious? :|
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #22  
Old 11-21-2003, 06:29 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
Quote:
Originally posted by Lance


I'll try this in simpler terms.

Tiles. Are. Not. A. Facet. Of. An. NPC's. Shape.
Yes, I agree with that statement whole heartedly. Tiles indeed do not have a thing to do with the npc's shape.
Tiles... but not fake tile values for object colision detection. Since you need clearification, all I'm saying is that it would be nice to have a setshape mode where the fake tile values for the sake of object collision detection overided the tile values of the board.
Quote:
Originally posted by ForgottenLegacy


So people, if you want to do somthing, use an imagepart from pics1.png, and use the tile with the effect you want underneath it.
Yes, thats great to improvise. Tiledefs can do the trick, too. Hell, we should remove setlevel and setlevel2 because the #L/F w/e prop can be edited with setplayerprop, and x and y coordinates of the player can also be edited in other ways!!! :O :O :O
same with color props and etc!!!! WE SHOULD REMOVE EVERY SCRIPT COMMAND THAT CANNOT BE REPLICATED WITH THE VERY BARE BONES COMMANDS!!!

LEST THE ORIGINAL KEY CHECKING COMMANDS SHOULD HAVE NEVER BEEN ADDED BECAUSE ANY COMPETENT SCRIPT CAN, AND SHOULD IMPROVISE BY CHECKING THE SPRITE OF THE PLAYER AND ETC ETC ETC



*sarcastic* Legacy, you have a good point. >.>
__________________
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 12:06 AM.


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