Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2002, 06:23 PM
Rogpog Rogpog is offline
Registered User
Join Date: May 2002
Posts: 15
Rogpog is on a distinguished road
setshape2

If you completely change the npc characteristics using setshape2 to nonblocking, it becomes unclickable and pretty hard to change or delete.
NPC Code:
if (created) setshape2 3,3,{0,0,0,0,0,0,0,0,0};


It also seems like type 20 still doesn't have a throw-through attribute (blocks player, but allowing npcs and projectiles through).
NPC Code:
if (created) setshape2 3,3,{20,20,20,20,20,20,20,20,20};

Reply With Quote
  #2  
Old 08-12-2002, 11:21 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: setshape2

Quote:
Originally posted by Rogpog
If you completely change the npc characteristics using setshape2 to nonblocking, it becomes unclickable and pretty hard to change or delete.
NPC Code:
if (created) setshape2 3,3,{0,0,0,0,0,0,0,0,0};


It also seems like type 20 still doesn't have a throw-through attribute (blocks player, but allowing npcs and projectiles through).
NPC Code:
if (created) setshape2 3,3,{20,20,20,20,20,20,20,20,20};

it's because for 0, it litterly becomes unblocking, you can move through it but, you CANT click on it
and 20 means you can throw something THROUGH the tiles, it doesn't mean you can walk through them, so if it allows projectiles and NPCs that you have picked up and thrown, then it IS working

Last edited by Python523; 08-12-2002 at 11:45 PM..
Reply With Quote
  #3  
Old 08-13-2002, 03:25 PM
Rogpog Rogpog is offline
Registered User
Join Date: May 2002
Posts: 15
Rogpog is on a distinguished road
lol, I mean it isn't letting them through. As far as I know, it's behaving exactly like type 22 (blocks everything)...
Reply With Quote
  #4  
Old 08-13-2002, 11:28 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Rogpog
lol, I mean it isn't letting them through. As far as I know, it's behaving exactly like type 22 (blocks everything)...
try picking up a bush and throwing it over?
Reply With Quote
  #5  
Old 08-15-2002, 02:46 PM
Rogpog Rogpog is offline
Registered User
Join Date: May 2002
Posts: 15
Rogpog is on a distinguished road
::Repeats experiment for the 146th time ::

Nope, still isn't working.
If I asked about the fuctionality of type 20 and clearly explained how it wasn't performing as expected, wouldn't it be obvious that it's been personally tested numerous times and that I know how it's supposed to work? :o

sorry, j/k... I know you're trying to help, but everything your telling me I've heard over and over again. Since setshape2 came out I've been trying to find possibilities for the syntax and still no luck with this particular one.
Reply With Quote
  #6  
Old 08-15-2002, 07:26 PM
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
It may only work with very thin throwthrough tiles, I think it was ment for fences, not just having one big object. although I could be wrong, Test it out doing something like....


setshape2 10,2,{20,20,20,20,20,20,20,20,20,20,20,20,20,20,20 ,20,20,20,20,20};

==========================================

Nevermind, I just tested it. It looks as though it is indeed a bug. Perhaps not with the command per say, just the hardcoded script for default throwing objects. Perhaps its only checking tile indexes and not tiletypes.
__________________

subliminal message: 1+1=3
Reply With Quote
  #7  
Old 08-16-2002, 05:54 PM
Rogpog Rogpog is offline
Registered User
Join Date: May 2002
Posts: 15
Rogpog is on a distinguished road
Yes, perhaps, and all his time people have ben saying I've been doing it wrong...

As for type 0, the only way I know of deleting an npc with all the params set is by converting the level to nw format and removing it using wordpad. Is there any way to fix this inconvenience?
Reply With Quote
  #8  
Old 08-16-2002, 11:07 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Rogpog
Yes, perhaps, and all his time people have ben saying I've been doing it wrong...

As for type 0, the only way I know of deleting an npc with all the params set is by converting the level to nw format and removing it using wordpad. Is there any way to fix this inconvenience?
yes, don't make the whole npc have the shape of 0
Reply With Quote
  #9  
Old 08-18-2002, 02:36 AM
aylad aylad is offline
Elven Pride
aylad's Avatar
Join Date: Aug 2002
Location: backwoods, Georgia
Posts: 657
aylad is on a distinguished road
Quote:
Originally posted by Python523

yes, don't make the whole npc have the shape of 0
Now, I'm not up to date on all this new scripting syntax, but..... isn't this what "dontblock" and "dontblocklocal" is for?
__________________
Green text is IC | http://www.aylad.com/graal/

Don't ask more than once, k?


GK Guides
Reply With Quote
  #10  
Old 08-18-2002, 10: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 aylad


Now, I'm not up to date on all this new scripting syntax, but..... isn't this what "dontblock" and "dontblocklocal" is for?
maybe you only want to make a certain part of an npc walkable? like the 2k1 ships
Reply With Quote
  #11  
Old 08-20-2002, 09:04 AM
aylad aylad is offline
Elven Pride
aylad's Avatar
Join Date: Aug 2002
Location: backwoods, Georgia
Posts: 657
aylad is on a distinguished road
Quote:
Originally posted by Python523

maybe you only want to make a certain part of an npc walkable? like the 2k1 ships
Read my quote: I was talking about making the WHOLE npc walkable. That's when you get a no-can-click problem, apparently, and I just thought you'd use dontblock instead.
__________________
Green text is IC | http://www.aylad.com/graal/

Don't ask more than once, k?


GK Guides
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:53 PM.


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