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 11-23-2001, 07:33 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
1 script for newbies

if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
}
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #2  
Old 11-25-2001, 05:30 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Re: 1 script for newbies

Quote:
Originally posted by fireball_dolphonia
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
}
Did you know your a *****?
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #3  
Old 11-25-2001, 05:33 AM
Mustang1988 Mustang1988 is offline
Registered User
Mustang1988's Avatar
Join Date: Mar 2001
Location: California
Posts: 0
Mustang1988 is on a distinguished road
Is this spam or a joke?
__________________
Reply With Quote
  #4  
Old 11-25-2001, 05:34 AM
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
NPC Code:
if (grimsqueaker.status==baffled) {
post(weird,stuff);
;P;
}

__________________

Reply With Quote
  #5  
Old 11-25-2001, 05:35 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
No, I don't think it's a spam or a joke. I think he thinks he's the best scripter ever.
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #6  
Old 11-25-2001, 05:35 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
NPC Code:

// NPC made by Stefan Knorr
//#COMMENTS The standard light, all values between 0 and 1
//#EDIT Red 1
//#EDIT Green 1
//#EDIT Blue 1
//#EDIT Alpha 0.99
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect Red,Green,Blue,Alpha;
drawaslight;
}


It's a default NPC...you should have explained how to use them
Reply With Quote
  #7  
Old 11-25-2001, 05:37 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Did you ever notice that fireball_dolphonia is always in NPC Scripting and he can't even script?
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #8  
Old 11-25-2001, 05:39 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
He probly steals peoples work lol
Attached Images
 
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #9  
Old 11-25-2001, 05:40 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Look at my beautiful Poe Mole! I made it . It's a creature that roams around on Renegade.
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #10  
Old 11-25-2001, 08:04 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
...

I like the predifined npc thingy
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #11  
Old 11-25-2001, 08:12 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Prefabs are nice =)

I can script stuff and put them in there and add them to levels when i need it. like waterfall effects and stuffs.
__________________

subliminal message: 1+1=3
Reply With Quote
  #12  
Old 11-25-2001, 04:50 PM
SkooL SkooL is offline
somebody to love
Join Date: Jun 2001
Location: bat country.
Posts: 3,446
SkooL is on a distinguished road
Send a message via AIM to SkooL
Iracious:

Predefined NPCs are fun. =)

-Iracious
Reply With Quote
  #13  
Old 11-25-2001, 04:54 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
that npc is predefined
Reply With Quote
  #14  
Old 11-26-2001, 02:14 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
It is.
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #15  
Old 11-26-2001, 10:42 PM
-_Soulhunter_- -_Soulhunter_- is offline
Registered User
Join Date: Nov 2001
Location: Near my computer :D
Posts: 154
-_Soulhunter_- is on a distinguished road
Reply With Quote
  #16  
Old 12-09-2001, 04:47 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
shouldn't those be this.vars?

if you have 2 lights of different colors in the same level...

won't they both end up the same color becouse it's just a regular var... red.... green.... blue...
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #17  
Old 12-09-2001, 05:28 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Talking

One guy posted about Renagade.Thats a l33t server.........OH WAIT! IT GOT REJECTED!
__________________
Save Classic!
Reply With Quote
  #18  
Old 12-09-2001, 05:54 AM
Sennema Sennema is offline
Registered User
Join Date: Nov 2001
Location: Ontario, Canada
Posts: 132
Sennema is on a distinguished road
Send a message via ICQ to Sennema Send a message via AIM to Sennema
Quote:
Originally posted by Falcor
Prefabs are nice =)

I can script stuff and put them in there and add them to levels when i need it. like waterfall effects and stuffs.
Yeah they are nice, except I hate using setshape and if you dont it screws up all the predefined npcs and when you load the level it says "Variant is not an array" and crashes the level.

...At least, it did to me...
__________________
~Draemus Windblade


Just over 90% of all messages have no point or meaning.

"In order to preserve ourselves we seek out and eliminate anything that may do use harm. In doing so, we destroy things that, though possibly hazzardous, may be important to survival. So you see, in trying to save ourselves, we ultimately bring about our own destruction"


Luminar
Reply With Quote
  #19  
Old 12-09-2001, 07:34 AM
aesquivel aesquivel is offline
Registered User
Join Date: Sep 2001
Location: Whitewright
Posts: 346
aesquivel is on a distinguished road
Send a message via AIM to aesquivel
Quote:
Originally posted by Sennema


Yeah they are nice, except I hate using setshape and if you dont it screws up all the predefined npcs and when you load the level it says "Variant is not an array" and crashes the level.

...At least, it did to me...
thats *** its never happened to me !!
__________________
Reply With Quote
  #20  
Old 12-09-2001, 09:20 AM
ShockwaveISTHEBEST ShockwaveISTHEBEST is offline
Registered User
Join Date: Nov 2001
Location: never never land
Posts: 208
ShockwaveISTHEBEST is on a distinguished road
Send a message via AIM to ShockwaveISTHEBEST Send a message via Yahoo to ShockwaveISTHEBEST
Spare us the DragonballZ
__________________
[img]http://rick.*******ers.net/ss/users/jerrytyrrell64/Shockwave%20Sig%2003.jpg[/img]
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 03:14 PM.


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