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 04-06-2002, 01:05 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Question Server Thoughts.

I was thinking about a few things...
P2P
Didn't want to put it in npc server because it is still npc related...
What would be the best way for me to do something with electricity? I was thinking how cool it would be to make playerhouses actually cost money as changes for electricity to encourage players to turn off their lights. . But what I was thinking is (not on a current server, but possibly just for fun and practice) to make building of electrical lines...However it alludes me what I should do to make the best check for connectivity between the two lines (cables between electrical lines)? Any thoughts? I thought I could use save[] vars and just keep track of vars thru there, and than I was thinking level vars, and I could just keep a level. array. But than I could also keep a database npc that would keep a server. array that I could use with(getnpc(name)) to get the value of it...Just a few suggestions would help.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #2  
Old 04-06-2002, 02:15 AM
Spanko Spanko is offline
Squeaker of Soles
Spanko's Avatar
Join Date: Nov 2001
Location: The Netherworl...lands
Posts: 1,366
Spanko is on a distinguished road
Send a message via ICQ to Spanko Send a message via AIM to Spanko Send a message via Yahoo to Spanko
The railroads on 2001 use save[] vars, though I personally would try settling for the database NPC controlled option. It would then suffer from some light delay when the player switches levels, but if you make a proper system in which a system NPC requests the information from the database NPC you could easily make it.

Plus it would mean there wouldn't have to be 1902841984 NPCs on the map just to make sure the whole place is connected.
__________________

ICQ: 125283920
MSN: [email protected]
AIM: Squeax0r
Squeaker seems unable to access the forum using this account.. tis a sad day.
Now with occasional Asuka flavour! Ooops a bit too much...
Asuka should be king of Dustari!

"Y'know, some days even my lucky rocketship underpants don't even help."
Reply With Quote
  #3  
Old 04-06-2002, 02:17 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
I was going to do something like that on TOT, and the easiest, and maybe best, way i could think of doing it was to make a bot NPC that would just follow the track/wire/whatever (kind of like the train on 2k1), and then if it doesn't make it all the way arround back to where it started you know that the track wasn't complete.
__________________
Eric Kraft
Reply With Quote
  #4  
Old 04-06-2002, 06:55 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Er1c
I was going to do something like that on TOT, and the easiest, and maybe best, way i could think of doing it was to make a bot NPC that would just follow the track/wire/whatever (kind of like the train on 2k1), and then if it doesn't make it all the way arround back to where it started you know that the track wasn't complete.
Thats not a bad idea. I'll work on that.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #5  
Old 04-06-2002, 07:49 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
Quote:
Originally posted by Saga2001


Thats not a bad idea. I'll work on that.
You need some yellow gfx of electric moving in X's down the cable lines. That would rock.
Reply With Quote
  #6  
Old 04-06-2002, 07:50 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by royce


You need some yellow gfx of electric moving in X's down the cable lines. That would rock.
yah it would.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #7  
Old 04-06-2002, 12:35 PM
dragoonvenganc dragoonvenganc is offline
Registered User
Join Date: Jul 2001
Location: USA
Posts: 331
dragoonvenganc is on a distinguished road
Send a message via ICQ to dragoonvenganc Send a message via AIM to dragoonvenganc
nice idea and nice approach u can have it also if the power does not flow though the line and then into the house and back out that the house will not get power
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
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:18 AM.


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