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-12-2001, 08:21 AM
vergil vergil is offline
Registered User
vergil's Avatar
Join Date: Mar 2001
Posts: 1,408
vergil will become famous soon enough
Send a message via ICQ to vergil
Okay, I got bored and I was thinking of this idea, a newspaper. Can't you just see The Graalian Times being sold on every server with it's own local section?

- order/buy newspaper (weapon) at various locations
- Read the newspaper's current issue by using the weapon after buying it. Using say2 server.news or whatever this is very possible.. in fact, easy
- News paper staff (Graal News) or whatever to update the "news" via telling the Newspaper Chief the news (they dont get access to add news, you know how hectic that would become)
-(Graal News Chief) would get access to the admin newspaper to add news

I DID actually try a little to put my own script together. Okay, it didn't work but that was truthfully the first time i used Gscript (hah i copied doors). I dont want to whine but believe me i am WAY too busy to learn how to use some scripting language with school and my web design hobby keeping me busy

Is there anyway someone could do this for me (Yes I know I sound ignorant, selfish, and lazy)? I dont want to take credit i just want to contribute my idea to Stefan...

i attatched the levels (lol at least i did something, even if it takes 2 seconds )
Attached Files
File Type: zip graalnews.zip (2.5 KB, 242 views)
Reply With Quote
  #2  
Old 04-12-2001, 09:23 AM
Spearman Spearman is offline
Registered User
Join Date: Mar 2001
Location: Indiana, USA
Posts: 498
Spearman is on a distinguished road
Send a message via ICQ to Spearman Send a message via AIM to Spearman
That would take some time to script..
Reply With Quote
  #3  
Old 04-12-2001, 10:29 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
Actually, it'd be quite simple...but with the MOTD (server message I believe, it pops up when you log on and there's a new one) it's kind of worthless.
Reply With Quote
  #4  
Old 04-12-2001, 10:33 AM
Spearman Spearman is offline
Registered User
Join Date: Mar 2001
Location: Indiana, USA
Posts: 498
Spearman is on a distinguished road
Send a message via ICQ to Spearman Send a message via AIM to Spearman
Too bad graal can't read .txt that just contain messages and message code
Reply With Quote
  #5  
Old 04-12-2001, 11:12 AM
vergil vergil is offline
Registered User
vergil's Avatar
Join Date: Mar 2001
Posts: 1,408
vergil will become famous soon enough
Send a message via ICQ to vergil
Kyle I don't thin kit would be worthless because it would allow for more updates, besides it would employ Graalians even if they made as much as a a Nike factory worker hey its still money for newbies right?

Besides it could contain advertisements. You know, you go up to the newspaper department and say "i want blah blah this bomy is for sale blah blah" and then they post it in the newspaper for 5 gralat or 10 or something. Probably higher because they'd get full pretty quick with ads.

anyway since you think it is simple, is there anyway you could do it..? I am sorry for being stupid and selfish but i just dont have the time to figure it out. I am more of a web programmer myself.
Reply With Quote
  #6  
Old 04-12-2001, 11:29 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
uhm...I'm too busy too >.<

It'd depend on what kind of server you had too...if it has an NPC Server, you can sell ads dynamically...otherwise you kind of have to add them yourself...

(btw, you could sell ad space in the MOTD, and I don't think it's too hard to change)
Reply With Quote
  #7  
Old 04-12-2001, 11:40 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
(Reads Kyle's signature)
Prince Ralse is...
Oops!
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #8  
Old 04-12-2001, 07:53 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Blah.

I'm bored so blah:
NPC Code:
//Newspaper code
if (playerchats&&strequals(#c,buy newspaper)&&!isweapon) {
if (playerrupees>=5) {
if (!hasweapon(Newspaper)) {
toweapons newspaper;
say2 Here you go.;
}
else say2 You've already got one.;
}
else say2 You need more Gralats!;
}
if (weaponfired) {
say2 #s(server.news);
destroy;
}


NPC Code:
//News poster code
if (playerchats&&strequals(#g,editor)) {
if (strequals(#c,edit news)&&this.mode==0) this.mode=1;
else {
setstring server.news,#c;
this.mode=0;
}
}


This is a really primitive example of how you could make one of those things
__________________

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 08:21 AM.


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