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-10-2002, 04:39 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Darkness scripts

Can someone tell me how to script an area to be dark.
__________________

Last edited by Kaimetsu; 04-10-2002 at 03:40 PM..
Reply With Quote
  #2  
Old 04-10-2002, 04:43 AM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
Re: Rock walls and darkness scripts

Quote:
Originally posted by Googi
Also, can someone tell me how to script an area to be dark.
NPC Code:

setbackpal dusk1.png;

seteffect 0,0,0,alpha; // 0 = transparent, 1 = opaque (sp)



*remembers he's getting at t-shirt that says most programmers can't speeel :P*
Reply With Quote
  #3  
Old 04-10-2002, 04:49 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Re: Rock walls and darkness scripts

From my knowledge asking for scripts is illegal!
__________________

Last edited by Kaimetsu; 04-10-2002 at 03:40 PM..
Reply With Quote
  #4  
Old 04-11-2002, 12:11 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Re: Re: Re: Rock walls and darkness scripts

Quote:
Originally posted by Kaimetsu


You are correct!
Oh, damn, I thought it was okay as long as you didn't use the scripts. So, I'll rephrase the question...

Can someone tell me the variable/string for the Mining Bomb
__________________
Reply With Quote
  #5  
Old 04-11-2002, 10:58 AM
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
Re: Re: Rock walls and darkness scripts

Quote:
Originally posted by Goboom
From my knowledge asking for scripts is illegal!
wtf thats ***?
the point of these forums is to get help.

somepeople learn from example.

and they cant pull examples out from advice can they NO.

asking for scripts is fine, giving scripts is your own risk.
Reply With Quote
  #6  
Old 04-12-2002, 12:00 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Re: Re: Re: Re: Rock walls and darkness scripts

Quote:
Originally posted by Kaimetsu
playerworld or whatever.
Umm...why the hell would I need a playerworld.
__________________
Reply With Quote
  #7  
Old 04-12-2002, 02:33 AM
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
Re: Re: Re: Re: Rock walls and darkness scripts

Quote:
Originally posted by Kaimetsu


There was a big debate about this a while ago and this is how the majority voted. It basically boils down to this:

Posting examples is fine. Posting "plz give me the mining script from G2K1" is not. Because, contrary to what you say, this is not trying to learn. They're just trying to get a script for their playerworld or whatever.
its a forum, i think its better if we post whatever we want.

if soeone wants to give something they scripted, or have away, they have that right.

in the US its a constitutional right for freedom of the press, technicaly that rule violates it.

asking for something shouldnt be illigal.

i think making them illigal to use in circumstances is good enough (ie:not using p2p material on free servers)
Reply With Quote
  #8  
Old 04-12-2002, 02:40 AM
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
Re: Darkness scripts

Quote:
Originally posted by Googi
Can someone tell me how to script an area to be dark.
NPC Code:

if (playerenters) {
seteffect 0,0,0,<gamma here>;
}



gamma=1 full black
0=no black (no darkness at all)
Reply With Quote
  #9  
Old 04-12-2002, 03:46 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Re: Re: Re: Re: Re: Rock walls and darkness scripts

Quote:
Originally posted by Warcaptain


its a forum, i think its better if we post whatever we want.

if soeone wants to give something they scripted, or have away, they have that right.

in the US its a constitutional right for freedom of the press, technicaly that rule violates it.

asking for something shouldnt be illigal.

i think making them illigal to use in circumstances is good enough (ie:not using p2p material on free servers)
Graal is in France I believe, and the US constitution means nothing there.
__________________
Reply With Quote
  #10  
Old 04-12-2002, 05:36 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
Re: Re: Re: Re: Re: Rock walls and darkness scripts

Quote:
Originally posted by Warcaptain


its a forum, i think its better if we post whatever we want.

if soeone wants to give something they scripted, or have away, they have that right.

in the US its a constitutional right for freedom of the press, technicaly that rule violates it.

asking for something shouldnt be illigal.

i think making them illigal to use in circumstances is good enough (ie:not using p2p material on free servers)
Ummmm...
It doesn't matter, its the rules, this is a private organization, you cannot apply US Constutional points here, thats like saying that someone should be able to put signs in your yard that say, "Give me food free" or stuff. If at anytime anyone on this forum does something that is "against the rules" this is open for banning tham, and the US Constution can't do crap about it.
__________________

!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
  #11  
Old 04-13-2002, 04:47 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Re: Re: Re: Re: Re: Rock walls and darkness scripts

Quote:
Originally posted by Kaimetsu


Wha? There is no one definitive variable or string for that system.
Isn't the script for Glyco somethign like this?

NPC Code:

if (playerchats&&strequals(#c, buy bomb)&&playergralats=<5) {
playerrupees-=5;
toweapons Mining Bomb;
playerminingbombs+=5;
say2 You got a mining bomb;

__________________
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 02:37 PM.


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