Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bomy Island Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=80)
-   -   X-Mas House (https://forums.graalonline.com/forums/showthread.php?t=18979)

milotheman 12-16-2001 01:11 AM

X-Mas House
 
I am thinking about making X-Mas set of levels, and also make it like an entery for my LAT Aplication, though there are some things that stop me!

1. Graal2002 on X-Mas and in it'z first minutes there will be all P2P accounts (That'll be funny), anyhow then who the hell needs thouse lvls and bowling ally?

2. I still don't get how to make those dumb light effects... so How do i do em?

zell12 12-16-2001 01:40 AM

0.o

Sennema 12-16-2001 01:56 AM

Re: X-Mas House
 
Quote:

Originally posted by milotheman
I am thinking about making X-Mas set of levels, and also make it like an entery for my LAT Aplication, though there are some things that stop me!

1. Graal2002 on X-Mas and in it'z first minutes there will be all P2P accounts (That'll be funny), anyhow then who the hell needs thouse lvls and bowling ally?

2. I still don't get how to make those dumb light effects... so How do i do em?

For light effects just use drawaslight,setcoloreffect, and for setcoloreffect, pick values between 0 and 1..

AlexH 12-16-2001 02:16 AM

Re: Re: X-Mas House
 
Quote:

Originally posted by Sennema


For light effects just use drawaslight,setcoloreffect, and for setcoloreffect, pick values between 0 and 1..

but those light effects are boring
we want light effects that flash, move in circles, move in all directions

Sjc2k1 12-16-2001 02:19 AM

Re: Re: Re: X-Mas House
 
Quote:

Originally posted by AlexH


but those light effects are boring
we want light effects that flash, move in circles, move in all directions

SPUDAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I tried light effects but i dont know if they worked cos i cant see em on my com bbbbbboooooooooooooooooo hhhhhhooooooooooooooooooo hhhhhhhhhhhoooooooooo

AlexH 12-16-2001 02:21 AM

Re: Re: Re: Re: X-Mas House
 
Quote:

Originally posted by Sjc2k1


SPUDAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I tried light effects but i dont know if they worked cos i cant see em on my com bbbbbboooooooooooooooooo hhhhhhooooooooooooooooooo hhhhhhhhhhhoooooooooo

mwuhahaha
i can do all kinda light effects
flashy, spinny, moving anywhere,
but i still cant do the exploding ones :(

MaximusP2P 12-16-2001 02:22 AM

anyone know how to make a command repeat its self? if i knew then i could complete my light effects that move.

AlexH 12-16-2001 02:24 AM

Quote:

Originally posted by MaximusP2P
anyone know how to make a command repeat its self? if i knew then i could complete my light effects that move.
timeout

MaximusP2P 12-16-2001 02:26 AM

could you explain? i just watched about 4hrs of t.v. and im so damm brain dead!!!!!! i dont know how im breathing right now!!!

AlexH 12-16-2001 02:28 AM

if (timeout) {
*code;
}
timeout = 0.1 <---- thats the lowest timeout can be

MaximusP2P 12-16-2001 02:32 AM

got ya

Beowulf2 12-16-2001 02:55 AM

Quote:

Originally posted by AlexH
if (timeout) {
*code;
}
timeout = 0.1 <---- thats the lowest timeout can be

except the timeout would have to be inside the brackets for it to loop.

MaximusP2P 12-16-2001 03:04 AM

Quote:

Originally posted by AlexH
if (timeout) {
*code;
}
timeout = 0.1 <---- thats the lowest timeout can be

heres what i got maybe you could add it in because i tried your idea and it doesnt work
i also tried putting the timeout = 0.1 inside the brackets but still it doesnt work

if (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}
if (playerenters && timeout==0) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........

.........sleep 0.05;
sprite=0;
}

then i tried

if (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}
if (playerenters && timeout==0) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........

.........sleep 0.05;
sprite=0;
}
timeout = 0.1;

also

f (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}
if (playerenters && timeout==0) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........

.........sleep 0.05;
sprite=0;
timeout = 0.1;
}

Beowulf2 12-16-2001 03:07 AM

you don't need to check to see if timeout is assigned a value, just make it

NPC Code:

timeout=.1;
if(playerenters&&timeout){
//other code in here;
timeout=.1;
}


AlexH 12-16-2001 03:07 AM

if (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}

if (timeout) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........

.........sleep 0.05;
sprite=0;
}

timeout = 0.1

Beowulf2 12-16-2001 03:09 AM

Quote:

Originally posted by AlexH
if (created) {
drawaslight;
dontblock;
setzoomeffect 1;
setcoloreffect 1,0,0,.99;
}

if (timeout) {
sleep 0.1;
y=37.5;
sprite=1;
dir=2;
sleep 0.05;........

.........sleep 0.05;
sprite=0;
}

timeout = 0.1

No. You need a timeout inside the timeout for it to loop, and another to initialize the timeout before the timeout code.

MaximusP2P 12-16-2001 03:09 AM

both of those dont work

Beowulf2 12-16-2001 03:10 AM

Quote:

Originally posted by MaximusP2P
both of those dont work
Well, you also haven't shown us a complete code yet. Unless your code has those "......." in it, which would probably screw up your code.

AlexH 12-16-2001 03:10 AM

try taking the sprite=1 out
why you have it there i have no idea

MaximusP2P 12-16-2001 03:23 AM

its a recording code
i press alt+6 start recording then alt+7 to stop
i take the recorede script (saved as a txt in levels folder) i add the script into the light effect script and there i have a moving light but i want it to repeat
the ...... are where i made breaks in the script so i could fit it in here because its very long

AlexH 12-16-2001 03:26 AM

dont use
if (playerenters && timeout=0) which is WRONG

just use

if (timeout) {
code
}
timeout = 0.1

MaximusP2P 12-16-2001 03:28 AM

ill try it
and pray

MaximusP2P 12-16-2001 03:31 AM

great! it works except for a little jolt type thing at the end when it starts over and it skips some lines but other than that it worked

AlexH 12-16-2001 03:35 AM

its probally the way youve done it
if youve made it go round in circles by changing the x,y its VERY scrappy
if youve made it move in random directions its VERY scrappy

MaximusP2P 12-16-2001 03:38 AM

i kept the same script but made the
if (playerenters && timeout==0)
into
if (timeout)
and added
timeout = 0.1
on the bottom

AlexH 12-16-2001 03:39 AM

yes but what im saying is making it move by changing the x and y is a very scrappy way to do it

MaximusP2P 12-16-2001 03:42 AM

it works though

AlexH 12-16-2001 03:48 AM

yes it works
but
a) there are better ways to do it
b) it is a lot harder to edit
c) there isnt a C yet


All times are GMT +2. The time now is 11:58 PM.

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