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-06-2001, 11:13 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Post Farming Script

Hi, im making a farming script.
Its for faheria, i need help with it.
Yes i do.
.
SPAM.


ok heres the water can script:

NPC Code:


//NPC Made by GÄ$†£Ÿ
if (playertouchsme) {

toweapons Water Can;
canpower=1;
}
if (weaponfired) {freezeplayer 1.7;
setani watercanspread,watercan2.gif;
triggeraction playerx+1.5+vecx(playerdir)*2,
playery+2+vecy(playerdir)*2,farming,#v(canpower);

}

__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #2  
Old 11-06-2001, 11:15 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Can anyone help to make the tree script?

THis is how i made, but it didnty work.

True.
Very True.
SPAM.
.

NPC Code:


//NPC Made by GÄ$†£Ÿ
if(playerenters)

setcharani appletree1,;
{
this.power=200;
}
if (actionfarming) {
canpower = strtofloat(#p(0));
this.power-=1;
}

if (this.power<=180){

setcharani appletree2,;
}

if (this.power<=160){

setcharani appletree3,;
}

if (this.power<=140){

setcharani appletree4,;
}

if (this.power<=120){

setani appletree5,;
}

if (this.power<=100){
setcharani appletree6,;
}

if (this.power<=80){
setcharani appletree7,;
}

if (this.power<=60){
setcharani appletree8,;
}

if (this.power<=40){
setcharani appletree9,;
}

if (this.power<=20){
setcharani appletree10,;
}

if (this.power=0){

}


__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #3  
Old 11-07-2001, 01:25 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
just use a timeout around the power-ifs =)
__________________
No Webhost at the moment
Reply With Quote
  #4  
Old 11-07-2001, 02:37 AM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
What u mean
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #5  
Old 11-07-2001, 11:08 AM
jonny12 jonny12 is offline
Registered User
Join Date: Jun 2001
Location: washingtion--USA all the way!
Posts: 100
jonny12 is on a distinguished road
Send a message via AIM to jonny12 Send a message via Yahoo to jonny12
i do not get timeouts .


the script does not work on my puter.
__________________


Bomy Gang
Reply With Quote
  #6  
Old 11-07-2001, 05:34 PM
Petey84 Petey84 is offline
Registered User
Join Date: Sep 2001
Location: Johnstown PA, and Mobile AL
Posts: 308
Petey84 is on a distinguished road
Send a message via AIM to Petey84 Send a message via Yahoo to Petey84
Shakaku:
Quote:
i do not get timeouts .
LMAO, do you even know how to use them??
__________________
-Pete aka Wilddude
-Nishoku as well ;D!

AIM
Pete: WildDude2002
Nishoku: Nishoku, SaikoAkumu
-----------------------------------------------
StarX480: bai
Reply With Quote
  #7  
Old 11-07-2001, 08:57 PM
jonny12 jonny12 is offline
Registered User
Join Date: Jun 2001
Location: washingtion--USA all the way!
Posts: 100
jonny12 is on a distinguished road
Send a message via AIM to jonny12 Send a message via Yahoo to jonny12
i never under stood
timeouts and slides
__________________


Bomy Gang
Reply With Quote
  #8  
Old 11-07-2001, 10:12 PM
Brad_Elven Brad_Elven is offline
Registered User
Join Date: Jul 2001
Posts: 0
Brad_Elven is on a distinguished road
Send a message via AIM to Brad_Elven
well your screwed buddy, anyways, I know your lying because Shad showed me the scripts for farming and they were all down and extremely good
Reply With Quote
  #9  
Old 11-08-2001, 07:22 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Quote:
Originally posted by Brad_Elven
well your screwed buddy, anyways, I know your lying because Shad showed me the scripts for farming and they were all down and extremely good
Im making a new one for Faheria, faherias scripts are gonna be replaced, SHad isnt onwer there, TB3 is and he told me to do farming
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #10  
Old 11-08-2001, 07:38 PM
Faheria_LAT1 Faheria_LAT1 is offline
Seraphim Warrior
Faheria_LAT1's Avatar
Join Date: Oct 2001
Location: QUÉBEC!!!!!!1
Posts: 2,040
Faheria_LAT1 is on a distinguished road
Send a message via ICQ to Faheria_LAT1 Send a message via AIM to Faheria_LAT1
Quote:
Originally posted by mhermher

Im making a new one for Faheria, faherias scripts are gonna be replaced, SHad isnt onwer there, TB3 is and he told me to do farming
Tyriel's script is perfect, we dont need a new one and Shad is still owner.... I think...
__________________


"I like movies where the guy shoots stuff, and then it blows up, and then this other guy shoots him, and then the first guy drives through a Coke sign, and it blows up, and the car flips over in slow motion, and then the guy gets out and pops his arm back in place, and then they fight 'cause they're out of bullets, and the guy says something like "This is Walmart, boy...and you just got price-checked!" - Broken Saints

"There is no greater sorrow than to recall in misery when we were happy" - Dante

"If you know yourself but not the enemy, for every victory gained you will also suffer a defeat" - Sun Tzu, The Art Of War

"Kingdoms ...rising without word. Collapsing without warning." - Broken Saints

Account now used by Silver and Mmmmkay
yoshee15 account has run out :[[[
Reply With Quote
  #11  
Old 11-08-2001, 10:02 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
I know its perfect, i told TB3 that the one u already have will be better but he still wanted me to make one
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #12  
Old 11-09-2001, 06:00 AM
ArmadeusWarlock ArmadeusWarlock is offline
Registered User
Join Date: Jun 2001
Posts: 373
ArmadeusWarlock is on a distinguished road
If you cant script farming, then u must not be very good.

Of course, this is also for a npc server.... why cant he script it himself? Ive seen some of the scripts he's done, their 1337, so why couldnt he scirpt it himself?
Reply With Quote
  #13  
Old 11-09-2001, 06:03 AM
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 jonny12
i never under stood
timeouts and slides
Dude... timeouts are practically THE most important part of scripts.
Reply With Quote
  #14  
Old 11-09-2001, 09:02 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 ArmadeusWarlock
If you cant script farming, then u must not be very good.

Of course, this is also for a npc server.... why cant he script it himself? Ive seen some of the scripts he's done, their 1337, so why couldnt he scirpt it himself?
*sarcasm*
we are sorry o great script king ....
*sarcasm*
Reply With Quote
  #15  
Old 11-09-2001, 09:32 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
Smile Laying seeds.

I used your script and I made a farming thing for trees.It was very easy.Now I gotta make the seed thing so when you dig with a shovel you can plant your seeds in the whole.What kind of commands would you use?
__________________
Save Classic!
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 01:58 AM.


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