Graal Forums  

Go Back   Graal Forums > PlayerWorlds > Bomy Island Main Forum
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 03-12-2001, 08:47 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
My l33t flying things is better :|
__________________
SIGNATURE
Reply With Quote
  #42  
Old 03-12-2001, 08:47 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Antago rules.
Reply With Quote
  #43  
Old 03-12-2001, 08:49 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
Mine is compatible with all versions of Graal which allow keydown . Well except that the if (keydown(6)) should be if (keyodwn(4)) in most versions.
__________________

Reply With Quote
  #44  
Old 03-12-2001, 08:49 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
why
___do
___people
write
___npcs
______like
___this
?
__________________
SIGNATURE
Reply With Quote
  #45  
Old 03-12-2001, 08:50 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
Because it's easy to check the coding of the NPC then in my opinion.
__________________

Reply With Quote
  #46  
Old 03-12-2001, 08:50 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
WAIT THAT WAS SUPPOSED TO BE DIFFERENT
__________________
SIGNATURE
Reply With Quote
  #47  
Old 03-12-2001, 08:51 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
re read da post
__________________
SIGNATURE
Reply With Quote
  #48  
Old 03-12-2001, 08:53 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
I find it easier to read it, keep it clean, and find stuff easier.
Reply With Quote
  #49  
Old 03-12-2001, 08: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
Well as I said before it's easier to read the coding of the NPC in that way
__________________

Reply With Quote
  #50  
Old 03-12-2001, 08:53 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
I don't it's ugly and messy and confusing :[
__________________
SIGNATURE
Reply With Quote
  #51  
Old 03-12-2001, 08:55 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
Anybody is allowed their personal opinion in my opinion (Hmm, that sounds weird), it doesn't really matter to me as long as you don't get:
NPC Code:
if(playerenters&&somethingoranotherdifferenthing)t  his.thing=1;this.thing2=1;this.thing3=1; etc.

__________________

Reply With Quote
  #52  
Old 03-12-2001, 09:00 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Fai, tell me what looks better:

NPC Code:

if (playerenters&&strequals(#a,Fai)) {setlevel2 worldj-16.nw,30,30; setlevel2 worldj-16.nw,30,30; setbackpal dusk6.png; noplayerkilling; weaponsdisabled;}



or

NPC Code:

if (playerenters&&strequals(#a,Fai)) {
setlevel2 worldj-16.nw,30,30;
setbackpal dusk6.png;
noplayerkilling;
weaponsdisabled;
}




Which looks easier to understand?
Reply With Quote
  #53  
Old 03-12-2001, 09:06 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
Well the top one saves room.
__________________
SIGNATURE
Reply With Quote
  #54  
Old 03-12-2001, 09:06 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Gah, I didn't ask that! >.<
Reply With Quote
  #55  
Old 03-12-2001, 09:15 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
k would someone answer a question?

if (timeout||playerenters) {
timeout=.05;
}
if (timeout) {
showimg 0,door.gif,__,__;
sleep .05;
hideimg 0;
timeout=.05;
}

K in the __ spots, the x,y, i want those to be RANDOM what could i do to this to make it do what I want.:[
__________________
SIGNATURE
Reply With Quote
  #56  
Old 03-12-2001, 09:21 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
if you want something to be random just use this little script:

random(lowestpossiblenumber,highestpossiblenumber)

Or if you want it to always be whole numbers:

int(random(lowestpossiblenumber,highestpossiblenum ber))
__________________

Reply With Quote
  #57  
Old 03-12-2001, 09:22 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
so...

if (timeout||playerenters) {
timeout=.05;
}
if (timeout) {
showimg 0,door.gif,random(0,64),random(0,64);
sleep .05;
hideimg 0;
timeout=.05;
}

?
__________________
SIGNATURE
Reply With Quote
  #58  
Old 03-12-2001, 09:26 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
Thumbs up

Yup.
__________________

Reply With Quote
  #59  
Old 03-12-2001, 09:32 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
OMG it like worked.
__________________
SIGNATURE
Reply With Quote
  #60  
Old 03-12-2001, 09:33 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
Talking

I knew I could do it
__________________

Reply With Quote
  #61  
Old 03-12-2001, 09:34 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Grim Squeaker, you are a Tyhm in the making.
Reply With Quote
  #62  
Old 03-12-2001, 09:37 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
K one more thing.

Why is hitplayer or hurtplayer or whatever it is so confusing, and how could I make it hit like, any player/comp :[
__________________
SIGNATURE
Reply With Quote
  #63  
Old 03-12-2001, 09:46 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
hitplayer index; is just hard to use, can't explain how to use it myself actually(I di know how to use it I just don't know how to explain), I just know that the new hurtobject x,y,power; is a lot easier to use.
__________________

Reply With Quote
  #64  
Old 03-12-2001, 09:52 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
Ok. one LAST thing.

WAIT HOLD ON MY washing machine is unbalanced
__________________
SIGNATURE
Reply With Quote
  #65  
Old 03-12-2001, 09:53 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
OK fixed, suppose I was using showimg for light2.png.

What If I wanted to put setcoloreffect on it? Or any other showimg. Is it possible?
__________________
SIGNATURE
Reply With Quote
  #66  
Old 03-12-2001, 09:55 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
Yup like for example:

NPC Code:

if (created) {
showimg 1,light2.png,x,y;
changeimgcolors 1,0.4,0.4,0.4,0.99;
}



changeimgcolors is the command for that as can be sen in the above example.
__________________

Reply With Quote
  #67  
Old 03-12-2001, 09:56 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
OMG THanks genius
__________________
SIGNATURE
Reply With Quote
  #68  
Old 03-12-2001, 09:56 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
I'm not genius I just now what most commands can do and what they are.
__________________

Reply With Quote
  #69  
Old 03-12-2001, 09:57 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Grim, you are now Tyhm Jr.
Reply With Quote
  #70  
Old 03-12-2001, 09:58 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
OMG, does this mean I'm Jr. Vice Levels admin?
And it doesn't mean I have to dress up funny from time to time does it?
__________________

Reply With Quote
  #71  
Old 03-12-2001, 09:59 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Yes.
Reply With Quote
  #72  
Old 03-12-2001, 09:59 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
What is
__________________
SIGNATURE
Reply With Quote
  #73  
Old 03-12-2001, 10:00 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
= ^_^ Only I think the _ is annoying to type.
__________________

Reply With Quote
  #74  
Old 03-12-2001, 10:00 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
I made an NPC that crashed my computer :]
__________________
SIGNATURE
Reply With Quote
  #75  
Old 03-12-2001, 10:01 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
I personally like >.< better.
Reply With Quote
  #76  
Old 03-12-2001, 10:02 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
How cause your sig keeps chainging
__________________
SIGNATURE
Reply With Quote
  #77  
Old 03-12-2001, 10:02 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
Heh, computer crashing NPC's are easy I think this script should crash any computer:

NPC Code:
if (created) {
this.thing=99999999;
this.thing++;
}



I'm not sure though.
__________________

Reply With Quote
  #78  
Old 03-12-2001, 10:03 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
Quote:
Originally posted by Fai
How cause your sig keeps chainging
Its a PHP script.
Reply With Quote
  #79  
Old 03-12-2001, 10:04 PM
Fai Fai is offline
!!!!!!!!!!!!!!!!!!!!!!!!!
Fai's Avatar
Join Date: Mar 2001
Location: New York
Posts: 4,491
Fai will become famous soon enough
Send a message via ICQ to Fai Send a message via AIM to Fai
I do not know what PHP is plz eplzin
__________________
SIGNATURE
Reply With Quote
  #80  
Old 03-12-2001, 10:05 PM
Lycia Lycia is offline
Banned
Lycia's Avatar
Join Date: Mar 2001
Location: Over there. --->
Posts: 3,240
Lycia is on a distinguished road
Send a message via ICQ to Lycia Send a message via AIM to Lycia
PHP is a web scripting language.

Like, CGI/PERL, Java, etc.
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:38 PM.


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