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
  #16  
Old 04-05-2012, 06:52 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
No one wants to steal your ****, if you genuinly want help you need to start acting like it. ****.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #17  
Old 04-05-2012, 12:37 PM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Quote:
Originally Posted by xXziroXx View Post
No one wants to steal your ****, if you genuinly want help you need to start acting like it. ****.
What is it that I want to help with in this thread?
There are some things I want to teach, and some things I do not, and if you'd like to get somewhere in this world, you should learn not to give away everything you come across or you won't have any kind of advantage in this world... I don't suppose I should suggest to you to give up anything you make to the Graal community as well?

Is this new? No, but for the most part I've made it my self excluding the onwall functionality that doesn't even work (could be me). And that makes me happy as well as self appreciation that I've accomplished something.

I'm going to try a few other things but if it doesn't work, I'll probably ditch onblock once again.



As far as I know, anything that uses showcharacter(); is 32x32 but I guess I'll try the size of the cow sometime today.
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



Reply With Quote
  #18  
Old 04-05-2012, 01:37 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Devil_Lord2 View Post
As far as I know, anything that uses showcharacter(); is 32x32 but I guess I'll try the size of the cow sometime today.
showCharacter() just moves the actualy shape to the dotted rectangle you can see in GraalShop (the gani editor). It's, however, changeable using setShape() just as well.
Reply With Quote
  #19  
Old 04-05-2012, 02:30 PM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Quote:
Originally Posted by Crow View Post
showCharacter() just moves the actualy shape to the dotted rectangle you can see in GraalShop (the gani editor). It's, however, changeable using setShape() just as well.
OH!!!
I was asking yesterday if Setshape and showCharacter(); could be used together... Wow that would have been amazingly simpler putting the ganis together using setshape lol... looks like I'll have to redo it a bit and retry the onwall test.

Thank you both Crow and Dusty!
I guess I'll find out if the onwall works afterwards.
If not at least the collision will match more smoothly..


-Edit-
I owe you both rep but I cannot do it until I "spread rep".
I normally don't give negative rep but today I have since the problem occurs often between two people.
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz




Last edited by Devil_Lord2; 04-05-2012 at 02:59 PM..
Reply With Quote
  #20  
Old 04-08-2012, 08:33 AM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Thyme Cypher is creating a baddy and helped me solved the problem...

//newtilesets=true
#newtilesetlevels=level names comma separated

We commended that out and restarted the NPC Server.
So I was semi right about it using type1...

Works perfectly.. can anyone let me know why I needed to do this, and what it would do for type1 levels?

He doesn't know, I don't know, both our things work fine now..
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



Reply With Quote
  #21  
Old 04-08-2012, 05:49 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
From the wiki:

Quote:
HTML Code:
newtilesets=true/false
newtilesetlevels=comma seperated list of levels
Whether all levels will use the new tileset layout, or a match list of levels that shall. This will influence collision behavior (onwall script function, serverside projectile hit detection, etc.) on server-side only.

You can specify just the start of the level name if you want to include a lot of levels at once (newtilesetlevels=myquest will switch on new tileset onwall behavior on server-side for myquest1.nw, myquest2.nw etc.).
__________________
Reply With Quote
  #22  
Old 04-08-2012, 06:25 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I had a suspicion that was the problem, hence why I asked about the tileset you were using.
Reply With Quote
  #23  
Old 04-08-2012, 09:06 PM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Quote:
Originally Posted by DustyPorViva View Post
I had a suspicion that was the problem, hence why I asked about the tileset you were using.
I see... yeah I thought it was type one, but I didn't understand how you could even set it...

Quote:
Originally Posted by cbk1994 View Post
From the wiki:
I've seen this but I don't get it... do you leave it false and say which levels are true, or do you put it true and say which levels are true? And I'm not sure why ours has an # in front of the levels part... That description didn't help me at all which is why I prefer not to use the wiki lol
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



Reply With Quote
  #24  
Old 04-08-2012, 09:22 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Devil_Lord2 View Post
I've seen this but I don't get it... do you leave it false and say which levels are true, or do you put it true and say which levels are true? And I'm not sure why ours has an # in front of the levels part... That description didn't help me at all which is why I prefer not to use the wiki lol
You don't, they don't go together(that's why one is commented out). The first one(Boolean, or true/false) is for servers like Era that don't use pics1 at all. They can just set it globally without worrying about defining each level that uses a type 1 tileset. The second one is for servers in your instance, where you use type 0 and type 1 at the same time. The problems you encountered are exactly why that one exists.
Reply With Quote
  #25  
Old 04-08-2012, 09:55 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Devil_Lord2 View Post
I've seen this but I don't get it... do you leave it false and say which levels are true, or do you put it true and say which levels are true? And I'm not sure why ours has an # in front of the levels part... That description didn't help me at all which is why I prefer not to use the wiki lol
It is not ambiguous, but maybe not the most direct—I'm surprised you have trouble understanding it, since it's written much like your posts are (overly verbose and not very clear).
Quote:
Whether all levels will use the new tileset layout, or match list of levels that shall. This will influence collision behavior (onwall script function, serverside projectile hit detection, etc.) on server-side only.
If all your levels use type 1, newtilesets=true
If none or some of your levels use type 1, newtilesets=false

If some of your levels use type 1, newtilesetlevels=level1.nw,level2.nw,level3.nw

I'd guess it only checks the level start in newtilesetlevels, but haven't tested.
__________________
Reply With Quote
  #26  
Old 04-08-2012, 10:01 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by cbk1994 View Post
I'd guess it only checks the level start in newtilesetlevels, but haven't tested.
You can check for both level start and actual level names.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #27  
Old 04-08-2012, 10:22 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by xXziroXx View Post
You can check for both level start and actual level names.
but if level1.nw were in there and there was a level stupidly named level1.nwlevel.nw it would probably also count
Reply With Quote
  #28  
Old 04-08-2012, 10:23 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Mark Sir Link View Post
but if level1.nw were in there and there was a level stupidly named level1.nwlevel.nw it would probably also count
Well, yes, but that'd be a pretty stupid thing to name a level in the first place.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #29  
Old 04-08-2012, 10:26 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by xXziroXx View Post
Well, yes, but that'd be a pretty stupid thing to name a level in the first place.
obv but the underlying point is to be explicit with what you're doing and avoid stupid naming conventions
Reply With Quote
  #30  
Old 04-09-2012, 12:07 AM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Quote:
Originally Posted by DustyPorViva View Post
You don't, they don't go together(that's why one is commented out). The first one(Boolean, or true/false) is for servers like Era that don't use pics1 at all. They can just set it globally without worrying about defining each level that uses a type 1 tileset. The second one is for servers in your instance, where you use type 0 and type 1 at the same time. The problems you encountered are exactly why that one exists.
Ooh I see, well I'm glad they added that in lol..



Quote:
Originally Posted by cbk1994 View Post
It is not ambiguous, but maybe not the most direct—I'm surprised you have trouble understanding it, since it's written much like your posts are (overly verbose and not very clear).


If all your levels use type 1, newtilesets=true
If none or some of your levels use type 1, newtilesets=false

If some of your levels use type 1, newtilesetlevels=level1.nw,level2.nw,level3.nw

I'd guess it only checks the level start in newtilesetlevels, but haven't tested.
I give examples and show things... much like you just did which was perfectly understandable and would have been helpful if Dusty had not have already done so lol..

You say you never I don't understand how you can say you don't yet answer things dead on usually. D: I must have written it lengthy enough to explain it enough.. usually simple is good, but I want people to fully understand so I tend to write more...
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



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


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