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 06-21-2001, 03:18 AM
Termina_GP7 Termina_GP7 is offline
Registered User
Join Date: May 2001
Posts: 155
Termina_GP7 is on a distinguished road
Cool ok help me out some one who is good

Ok you know the lat telporter how it moves let say i want my gp net to be that why and when i get it in the right spot i press d agin and it will put a net in that spot ........


And i have been tryin to make this but i keep messing up...
__________________

-= Rice Was Here -=
Reply With Quote
  #2  
Old 06-21-2001, 03:19 AM
Termina_GP7 Termina_GP7 is offline
Registered User
Join Date: May 2001
Posts: 155
Termina_GP7 is on a distinguished road
k

heres the LAT Teleporter code -=Did not make this-=


if (playersays(drop LAT Teleporter)) {
destroy;
}
if (playertouchsme) {
toweapons LAT Teleporter;
}
if (weaponfired) {
if (this.inuse=0) {
this.inuse=1;
this.showimg=1;
this.x=playerx;
this.y=playery;
timeout = .05;
} else {
playerx=this.x;
playery=this.y;
this.inuse=0;
}
}
if (this.inuse=0) {
this.showimg=0;
hideimg 0;
}
if (this.showimg=1) {
showimg 0,shadoworb.gif,this.x,this.y;
}
if (this.inuse=1) {
if (timeout) {
if (playerdir=0) {
this.y--;
}
if (playerdir=2) {
this.y++;
}
if (playerdir=1) {
this.x--;
}
if (playerdir=3) {
this.x++;
}
if (this.x>64) {
this.x = 0;
}
if (this.x<0) {
this.x = 64;
}
if (this.y>64) {
this.y = 0;
}
if (this.y<0) {
this.y = 64;
}
timeout = .05;
}
}
__________________

-= Rice Was Here -=
Reply With Quote
  #3  
Old 06-22-2001, 08:26 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
There's that LAT Teleporter I made back in my newbie days...

GP nets are evil so i refuse to help with this one. I remember when Graal Classic had them... It sucked.
__________________
Eric Kraft
Reply With Quote
  #4  
Old 06-22-2001, 08:34 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
GP NETS ARE SO 1999-2000
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #5  
Old 06-22-2001, 08:35 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
GP Nets are satan
Reply With Quote
  #6  
Old 06-22-2001, 09:31 AM
Brad0629 Brad0629 is offline
Karakaze Troupe
Brad0629's Avatar
Join Date: Apr 2001
Posts: 0
Brad0629 is on a distinguished road
Send a message via ICQ to Brad0629 Send a message via AIM to Brad0629 Send a message via Yahoo to Brad0629
GP Nets....

GP Nets?

uggh...i remember them back in the old GOOD El days....jesus they were annoying....half of em never worked too...
__________________
- Brad
Reply With Quote
  #7  
Old 06-22-2001, 09:46 AM
Guest
Posts: n/a
Post

Hmmm... It took my awhile to make this but here it is. By the way!! It's EVIL!!!

NPC Code:

//NPC Made by Ice Pick
if (playertouchsme) {
toweapons GP Net;
}
if (weaponfired) {
if (this.inuse=0) {
this.inuse=1;
this.showimg=1;
this.x=playerx;
this.y=playery;
timeout = .05;
} else {
this.inuse=0;
}
}
if (this.inuse=0) {
this.showimg=0;
hideimg 0;
}
if (this.showimg=1) {
showimg 0,gopoliceneticon.gif,this.x,this.y;
}
if (this.inuse=1) {
if (timeout) {
if (playerdir=0) {
this.y--;
}
if (playerdir=2) {
this.y++;
}
if (playerdir=1) {
this.x--;
}
if (playerdir=3) {
this.x++;
}
if (this.x>64) {
this.x = 0;
}
if (this.x<0) {
this.x = 64;
}
if (this.y>64) {
this.y = 0;
}
if (this.y<0) {
this.y = 64;
}
timeout = .05;
}
}
if (this.showimg=0) {
putnpc gopolicenet.gif,policenet.txt,this.x,this.y;
}
if (playertouchsme){
hide;}



Now make a txt named policenet.txt and put this script in it.

NPC Code:


if (playertouchsme) {block;
}


Reply With Quote
  #8  
Old 06-22-2001, 10:25 AM
Termina_GP7 Termina_GP7 is offline
Registered User
Join Date: May 2001
Posts: 155
Termina_GP7 is on a distinguished road
k

thanks icepick
ice pick is my best buddy now.....lol
__________________

-= Rice Was Here -=
Reply With Quote
  #9  
Old 06-22-2001, 10:35 AM
Guest
Posts: n/a
LoL, Why thank you. I just got board with graal not beging down, I wanted to take a look at the Graal scripting board.
Reply With Quote
  #10  
Old 06-22-2001, 08:30 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
Maybe it's just me, but are the Termina GP's ALWAYS asking for scripts????
__________________

-=Shard IceFire=-
Reply With Quote
  #11  
Old 06-22-2001, 10:25 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
Quote:
Originally posted by Kaimetsu
Use... dirgo...

(or its new equivalent, but I don't like that)
vecx and vecy? I always just use those because they're shorter.
__________________

Reply With Quote
  #12  
Old 06-23-2001, 10:54 AM
Termina_GP7 Termina_GP7 is offline
Registered User
Join Date: May 2001
Posts: 155
Termina_GP7 is on a distinguished road
lol

i am just a gp hehehe
who is makeing my own server and i am just asking you guys for some good scripts but my lvls are cool....... will post a snap shot of one on the lv making bord part =)
__________________

-= Rice Was Here -=
Reply With Quote
  #13  
Old 06-23-2001, 10:55 AM
Termina_GP7 Termina_GP7 is offline
Registered User
Join Date: May 2001
Posts: 155
Termina_GP7 is on a distinguished road
=(

Icepick
the gp net had a bug in it =(
but i will have some one fix it
__________________

-= Rice Was Here -=
Reply With Quote
  #14  
Old 06-23-2001, 10:57 AM
Guest
Posts: n/a
Re: =(

Quote:
Originally posted by Termina_GP7
Icepick
the gp net had a bug in it =(
but i will have some one fix it
I know, counting it only took my 15 mins to make ; /
Reply With Quote
  #15  
Old 06-23-2001, 01:49 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
about GP nets

GP nets where a Pre-RC tool, Befor RC was ever made , Vangel reated GP nets (Old code. VERY old, thats why it goofs up nowadays) Galen explained that to me. way back when LostWorld was still up. lol... Anyhow. DO NOT USE GP NET ON YOUR SERVER OR ELSE YOUR SERVER IS DOOMED!
__________________

subliminal message: 1+1=3
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 03:51 AM.


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