Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

View Poll Results: How Do U Think Its Gonna Be?
COOL! 3 42.86%
DeAd (not cool) 2 28.57%
Kill Me Cuz Its So Cool 0 0%
LEMME BE UR FRIEND!!!! (if u vote this post that u wanan be my friend) 2 28.57%
Voters: 7. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-27-2001, 05:05 AM
Vinvect Vinvect is offline
Registered User
Join Date: Aug 2001
Location: U.S.A,California,Milpitas,In A House,In Room,On A Seat,On a Computer
Posts: 157
Vinvect is on a distinguished road
Send a message via ICQ to Vinvect Send a message via Yahoo to Vinvect
Cool Read This Cool Thing Its So Cool U Wont Believe Ur Eyes!

okay im makin a game where u control a ball that bounces around then when u start you have to touch a brown block with a color in the middle then ur ball changes to that color. then you have to touch a fully colored block thats the same color.
the only thing i wanna know is how to make stuff bounce leik hazards leik sumthin that keeps on bouncing left and right, or up and down.ok thanx its gonna be cool so dont think its gonna be ugly.oh yea only one of my friends can test if u ask leik esiah, u can try and ownerofbabylon, u can test it too and
kamistu (r however u spell it) can test it. and liqidice (owner of unholy nation) and brady2 and stuff leik that blah..
__________________
==========================
I Script Really Good
&
Looking For A NAT Job
==========================
Quote:
That's like a big lugee!
-Evolution The Movie
Quote:
Ha Ha Ha Give It Up!
-Cyrus From Bomberman
I'm not a Bomy anymore.
I'm a MUTATED BROCLI MONSTER!
(or SIGN MONSTER)
If you make me angry,
I'LL EAT YOU WHOLE!
ME, MUTATED BROCLI MONSTER MASTER
(or SIGN MONSTER)
WILL EAT YOU ALL UP!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Quest Valley Owner
Looking For Staff
Pm Me
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
O.o Still Have My Braen Damaegd o.O


Thanks To Esiah, He Made This For Me!
Thanks Esiah!

Last edited by Vinvect; 09-27-2001 at 05:41 AM..
Reply With Quote
  #2  
Old 09-27-2001, 05:08 AM
freddyfox freddyfox is offline
Banned
freddyfox's Avatar
Join Date: Mar 2001
Posts: 6,705
freddyfox is on a distinguished road
?
Reply With Quote
  #3  
Old 09-27-2001, 05:08 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
?111111111?1111111
DIEUYRDIDHYEKFNDSJNGFJSDNGJD G :WOMP:
Reply With Quote
  #4  
Old 09-27-2001, 05:51 AM
Vinvect Vinvect is offline
Registered User
Join Date: Aug 2001
Location: U.S.A,California,Milpitas,In A House,In Room,On A Seat,On a Computer
Posts: 157
Vinvect is on a distinguished road
Send a message via ICQ to Vinvect Send a message via Yahoo to Vinvect
Question Why Wont THis Work?

Why Wont This WOrk?
NPC Code:

if (playery=49){playery--;
set up;
unset down;
}
while(up){
playery--;
}
if(playery=11){
playery++;
unset up;
set down;
}
while(down){
playery++;
}


and dont say flags suck and OH NOO I HATE FLAGSS! plz. thx.
and post a script that works for this plz.
__________________
==========================
I Script Really Good
&
Looking For A NAT Job
==========================
Quote:
That's like a big lugee!
-Evolution The Movie
Quote:
Ha Ha Ha Give It Up!
-Cyrus From Bomberman
I'm not a Bomy anymore.
I'm a MUTATED BROCLI MONSTER!
(or SIGN MONSTER)
If you make me angry,
I'LL EAT YOU WHOLE!
ME, MUTATED BROCLI MONSTER MASTER
(or SIGN MONSTER)
WILL EAT YOU ALL UP!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Quest Valley Owner
Looking For Staff
Pm Me
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
O.o Still Have My Braen Damaegd o.O


Thanks To Esiah, He Made This For Me!
Thanks Esiah!
Reply With Quote
  #5  
Old 09-27-2001, 05:57 AM
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
flags

flags suck dude ...
Reply With Quote
  #6  
Old 09-27-2001, 05:59 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
...hmm....it works perfectly, it move itself up 1000 times if up is set
and moves itself down 1000 times when down is set

or maybe you wanted it to have a sleep command in there somewhere?
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote
  #7  
Old 09-27-2001, 08:20 AM
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
variables

i prefere the variable approach a lot better:
NPC Code:

if (playery=49){playery--;
this.varup=1;
this.vardown=0;
}
while(#v(this.varup=1)){
playery--;
}
if(playery=11){
playery++;
this.varup=0;
this.vardown=1;
}
while(#v(this.down=1)){
playery++;
}


that may work ....
Reply With Quote
  #8  
Old 09-27-2001, 08:28 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
if (playerenters||created) {
timeout = .5;
}
if (timeout) {
timeout = .5;
if (playery = 49) {
playery--;
this.dir=up;
}
if (this.dir==up) {
playery--;
}
if (playery==11) {
playery++;
this.dir=down;
}
if (this.dir==down) {
playery++;
timeout = .2;
}
}

you need the timeout to make it looped
Reply With Quote
  #9  
Old 09-27-2001, 08:31 AM
Vinvect Vinvect is offline
Registered User
Join Date: Aug 2001
Location: U.S.A,California,Milpitas,In A House,In Room,On A Seat,On a Computer
Posts: 157
Vinvect is on a distinguished road
Send a message via ICQ to Vinvect Send a message via Yahoo to Vinvect
nun of those work
__________________
==========================
I Script Really Good
&
Looking For A NAT Job
==========================
Quote:
That's like a big lugee!
-Evolution The Movie
Quote:
Ha Ha Ha Give It Up!
-Cyrus From Bomberman
I'm not a Bomy anymore.
I'm a MUTATED BROCLI MONSTER!
(or SIGN MONSTER)
If you make me angry,
I'LL EAT YOU WHOLE!
ME, MUTATED BROCLI MONSTER MASTER
(or SIGN MONSTER)
WILL EAT YOU ALL UP!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Quest Valley Owner
Looking For Staff
Pm Me
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
O.o Still Have My Braen Damaegd o.O


Thanks To Esiah, He Made This For Me!
Thanks Esiah!
Reply With Quote
  #10  
Old 09-27-2001, 08:32 AM
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
Quote:
Originally posted by Merlin
you need the timeout to make it looped
Thats right ... thanx for correcting me ....
Reply With Quote
  #11  
Old 09-27-2001, 08:47 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
Precisely!
__________________

-=Shard IceFire=-
Reply With Quote
  #12  
Old 09-27-2001, 09:14 PM
freddyfox freddyfox is offline
Banned
freddyfox's Avatar
Join Date: Mar 2001
Posts: 6,705
freddyfox is on a distinguished road
Quote:
Originally posted by Kaimetsu
Use velocities instead of direction-specific changes.
Velocowhats?

You're speaking alien to me, Kai.
Reply With Quote
  #13  
Old 09-27-2001, 10:37 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
they're where yer moving, not what direction you're facing but i still don't know how to use 'em
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #14  
Old 09-27-2001, 11:03 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
velocities, am i wrong =(
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #15  
Old 09-27-2001, 11:37 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
hooray, i was right for once =)
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #16  
Old 09-27-2001, 11:52 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
well, i dont know exactly how to use velocities, and i dont know what/how to use vectors, do they have something to do with arrays?
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #17  
Old 09-28-2001, 01:30 AM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
didnt think so...
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #18  
Old 09-28-2001, 09:41 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
do they have to do with kaimetsu's !@#$?
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote
  #19  
Old 09-28-2001, 09:56 PM
Enigma_GP4 Enigma_GP4 is offline
Registered User
Join Date: Aug 2001
Location: Cardboard Box
Posts: 115
Enigma_GP4 is on a distinguished road
Send a message via AIM to Enigma_GP4
lol
Im confused
Reply With Quote
  #20  
Old 09-29-2001, 02:46 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

*plays around in boredom*

if (playerenters){
timeout=.05;
this.dir=2;
this.velocity=.5;
}
if (timeout){
playery+=vecy(this.dir)*this.velocity;
if (playery<11 && this.dir=0){this.dir=2;this.velocity-=.5;}
if (playery>50 && this.dir=2){this.dir=0;this.velocity-=.5;}
if (playery in |11,50| && this.velocity<2){this.velocity+=.01;}
timeout=.05;
}

Hmm... *tilts head* y'know... I don't think I got what Kaimetsu meant by velocity either

*shrug* Oh well, at least it bez bouncy and shortish...
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #21  
Old 09-29-2001, 02:47 AM
SSj_Link SSj_Link is offline
Registered User
Join Date: Jul 2001
Location: i r live in texas
Posts: 244
SSj_Link is on a distinguished road
Send a message via ICQ to SSj_Link Send a message via AIM to SSj_Link
Well, you see
the velocity of the lips times the vector of his @$$ that they kiss equals how much time it takes to kiss Kais @$$ !
__________________
-People with my Password: Me (Boozy), Ghostface Killa, bgraven, Freaky Carnie, Dark Warlock, and SoulReaver.
-So they can all post.-

-I hate my account name -

~Old Names: Link, Darklink, Neo, then Boozy when Bravo died. (So some people will recognize me)~

AIM: boozyneo
ICQ: 116030736
Msn: [email protected]
Email: [email protected]


-DANCE SPAM DANCE!- Dark Warlock
Reply With Quote
  #22  
Old 09-29-2001, 11:43 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
Quote:
Originally posted by SSj_Link
Well, you see
the velocity of the lips times the vector of his @$$ that they kiss equals how much time it takes to kiss Kais @$$ !
if (created){
graal.Kaimetsu=#s(laughing-at-idiot);
graal.idiot=SSj_Link;
}
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:11 AM.


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