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 03-29-2006, 10:59 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Archetype folder

Remind me, what's the name of the folder used for archetypes?
It isn't placed in the 'levels' folder.
Reply With Quote
  #2  
Old 03-30-2006, 01:20 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
... Oh right, I always spell it with an 'e' after 'arch'. x-x
Reply With Quote
  #3  
Old 03-30-2006, 03:58 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
o_o What do you mean? I wasn't aware that the placement of your archetype folder mattered, unless you were using the Kingdoms Mudlib?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #4  
Old 03-30-2006, 08:39 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
If you put 'archtypes/' (I think that's it) in the folder config, it will create an archtypes/ folder. It won't be a subfolder of 'levels'
Maybe it's archtype/.. :/
Reply With Quote
  #5  
Old 03-30-2006, 08:46 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
The word "archetype" means "original model of character", so I guess it's reasonable to assume that you want that "e" there.

Question is, is why does it really matter whether your archetypes folders is inside levels/ or not?
__________________
Skyld
Reply With Quote
  #6  
Old 03-30-2006, 08:50 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Why does it really matter if you put your brackets on the same line as the function or on the next line?

I just think it looks nicer.
Reply With Quote
  #7  
Old 03-30-2006, 08:56 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Yen
Why does it really matter if you put your brackets on the same line as the function or on the next line?

I just think it looks nicer.
Well, if you're only using the archetype files on the serverside anyway, then there isn't any point in adding a folder configuration line, so it makes little difference.
__________________
Skyld
Reply With Quote
  #8  
Old 03-30-2006, 09:37 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
When I go to look at the script and I see that ugly "levels/" I frown.
Reply With Quote
  #9  
Old 03-30-2006, 09:58 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Yen
When I go to look at the script and I see that ugly "levels/" I frown.
What I'm saying, is that you do not need a folder configuration line in order to use folders. In fact, being that folder configuration is relative to levels/ anyway, it would make even less sense to try.
__________________
Skyld
Reply With Quote
  #10  
Old 03-30-2006, 10:13 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
My archetypes folder on Thamhic is just /archetypes/, there is no point in puting it in the folder config unless you are for some reason wanting to download it with update packages or such.

To just create folders, all you have to do is edit your folder rights and place something in the folder (placeholder.txt or so)
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #11  
Old 03-30-2006, 10:17 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Yes you do not need to have it in the folder configuration for it to be a folder and for it to be able to be accessed.

Actually, you dont even need it to be an actual folder to even use it.

Stefan says (and I havent tried it yet) that you can simply use a file saving function and if the folder doestn exist it will create it.. or so he says.


But this I havent tried..
Reply With Quote
  #12  
Old 03-30-2006, 10:40 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
ZzZzZz
I was thinking of it in a file manager sense, where the folder needs to have proper rights to be readable. I forgot that a file doesn't need to be downloadable to be loaded with loadvars.
Reply With Quote
  #13  
Old 03-31-2006, 01:23 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Warcaptain
Stefan says (and I havent tried it yet) that you can simply use a file saving function and if the folder doestn exist it will create it.. or so he says.
It does exactly that.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
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 01:19 AM.


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