Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Can someone (https://forums.graalonline.com/forums/showthread.php?t=12115)

LordMatt 09-17-2001 06:59 AM

Can someone
 
teach me how to script:(

Krakken_2001 09-17-2001 07:05 AM

Re: Can someone
 
Quote:

Originally posted by LordMatt
teach me how to script:(
Okay but you have to be dedicated!

entravial 09-17-2001 08:31 AM

~AlphaFlame~

It's best to learn yourself, but if you can't... there's a very good tutorial written by Ace... it's linked to on the graal site.

Enigma_GP6 09-17-2001 09:16 AM

I could teach you, for free, Lemmie go make a tutorial...


-Rebel95

pezi 09-18-2001 01:39 AM

Re: Can someone
 
Quote:

Originally posted by LordMatt
teach me how to script:(
I can't :(

Merlin 09-18-2001 02:18 AM

you need to learn yourself, you'll be much more stronger (As a scripter) and it will be funner

Jerom 09-18-2001 02:36 AM

Quote:

Originally posted by Merlin
you need to learn yourself, you'll be much more stronger (As a scripter) and it will be funner
Exactly.
Just start out small. Making images hide is what I started out with.
Then I moved onto flags, and strings.
Just make pointless things and you will learn on your own.

ownerofbabylon 09-18-2001 02:41 AM

pretty much anyone who will teach someone how to script isnt very good at it.

Merlin 09-18-2001 04:56 AM

not really warcaptain taught me some things
(mostly like how to add and subtract etc from strings)

Enigma_GP6 09-18-2001 05:14 AM

Quote:

Originally posted by ownerofbabylon
pretty much anyone who will teach someone how to script isnt very good at it.
That is a downright lie...... Stefan will ban you for that. Many people who make tutorials want to help thise less-fortunate people..like...not mentioning names.....*COUGH*ownerofbabylon*COUGH* ::gasp...wheeze::
Darn, I hate Asthma.

-Rebel95

Petey84 09-20-2001 03:43 AM

Yea, but then again Lordhelmut you arnt good at anything.. =/


Sorry for the insault... :p

Merlin 09-20-2001 03:48 AM

Quote:

Originally posted by Petey84
Yea, but then again Lordhelmut you arnt good at anything.. =/


Sorry for the insault... :p

learn to spell, then come back and try to make proper insults.

nyghtGT 09-20-2001 09:41 AM

ok here ...
 
here is a few little priniciples about scripting ...
if
while
for
use use those to make stuff happen ...
ex.
if (weaponfired) {
commands go here;
}
while (hasweapon(Gravity Boots)) {
commands go here;
}
and so on ....

some NPC's ause a standard graph which has the dimensions 64x64 = one level
so if you make: playerx=32;playery=32; you will be in the center of the level ...

Enigma_GP6 09-20-2001 10:37 AM

Dont start out so, so, so, newbieish. Start out with something a little harder to get the brain working (KAIMETSU BETTER READ THIS::s******::)
for Example:
PHP Code:

if( playertouchsme){
toweapons Zero33 Killer;
}
while (
strequals(#w,Zero33 Killer)){
putleaps 3,playerx,playery;
putleaps 3,playerx,playery;
putleaps 3,playerx,playery;
putleaps 3,playerx,playery;
putleaps 3,playerx,playery;
putleaps 3,playerx,playery;
//Good 'ol sleep command here:
sleep 0.5;
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
putexplosion2 3,2,random(playerx,64),random(playery,64);
sleep 0.05;
set calmwind;
 for (
shootball;calmwind;shootball){
shootball;
sleep 0.05;
shootball;
sleep .05;
set drywind;
if (
drywind){
timeout=7;
if (
timeout){
unset 
drywind;
unset 
calmwind;
   }
  }
 }


That'll Give you a perspective overlook on a simple script, I call, KAIMETSU's BEST. KAIMETSU inspired me to make this, after I got really mad at Zero33 the other day. This Will Really Hurt a player if not used properly. I et this one have unlimited ammo, so oyu could, well.....have fun.

-Rebel95

nyghtGT 09-21-2001 07:25 AM

here
 
here is an awesome script i can Rebel's Last Revenge its awesome !!!

while (created && !hasweapons(Rebel's Revenge)) {
toweapons Rebel's Revenge;
sleep 5;
destroy;
}


All times are GMT +2. The time now is 09:47 AM.

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