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 07-31-2001, 09:35 PM
TheFox1 TheFox1 is offline
Registered User
TheFox1's Avatar
Join Date: Mar 2001
Location: The Land Down Under
Posts: 696
TheFox1 is on a distinguished road
NPC person...

I wanna know a script to make a NPC squirrel to run around
__________________
Temporary Unbanned
Stefan Knorr
Reply With Quote
  #2  
Old 07-31-2001, 09:39 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
ok...

ok well this has no onwall detections (it wouldn't be hard to add)
I just made this off the top of my head and didn't feel like adding onwall lol...

this is the basic stuff
NPC Code:
if(created){
//ani junk
timeout=0.05;
}
if(timeout){
this.rnd=int(random(0,4))
if(this.rnd==0) y--;
elseif(this.rnd==1) x--;
elseif(this.rnd==2) y++;
elseif(this.rnd==3) x++;
}

__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 07-31-2001, 10:26 PM
ZORG1986 ZORG1986 is offline
Registered User
ZORG1986's Avatar
Join Date: Jul 2001
Location: England - Yes thats the small Island in Europe that Ownz you all.
Posts: 783
ZORG1986 is on a distinguished road
Send a message via ICQ to ZORG1986 Send a message via AIM to ZORG1986
Yeah but that one doesny change the direction of the squirrel gif, we need to know the GFX names, or just show us the files themselfs. Besides u should make badgers run around badgers are much better than squirrels.

BIG MEATY BADGERS!
FULL OF MEATY GOODNESS!
__________________


Zorg (Era Staff) - Contact : [email protected]
Reply With Quote
  #4  
Old 07-31-2001, 10:27 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
well you could use
showcharacter

and use a gani that bases off the direction of the character...

but hten you have to set the dir also in the if then statments
__________________
Thanks,
-KJL
Reply With Quote
  #5  
Old 07-31-2001, 10:33 PM
TheFox1 TheFox1 is offline
Registered User
TheFox1's Avatar
Join Date: Mar 2001
Location: The Land Down Under
Posts: 696
TheFox1 is on a distinguished road
....
i want to get the fullscript so i can make the little guy run around..
Attached Images
 
__________________
Temporary Unbanned
Stefan Knorr
Reply With Quote
  #6  
Old 07-31-2001, 11:00 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
I dont think anyone wants to make full scripts here...

basically most people will help you but they dont want to make the whole script that is not what we are here for..
__________________
Thanks,
-KJL
Reply With Quote
  #7  
Old 07-31-2001, 11:25 PM
TheFox1 TheFox1 is offline
Registered User
TheFox1's Avatar
Join Date: Mar 2001
Location: The Land Down Under
Posts: 696
TheFox1 is on a distinguished road
Quote:
Originally posted by KJS
I dont think anyone wants to make full scripts here...

basically most people will help you but they dont want to make the whole script that is not what we are here for..

I suck at NPC's
__________________
Temporary Unbanned
Stefan Knorr
Reply With Quote
  #8  
Old 08-01-2001, 01:29 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
FLUFFY.
Reply With Quote
  #9  
Old 08-01-2001, 02:40 AM
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
Quote:
TheFox1 quote:
I suck at NPC's
Point being...? Y'know it'd be better to go out there and learn to script instead of begging us for long scripts that no one really feels like doing...



__________________

-=Shard IceFire=-
Reply With Quote
  #10  
Old 08-01-2001, 03:24 AM
Guest
Posts: n/a
I'll make it... I already started i probly only need a half houre to a houre more.
Reply With Quote
  #11  
Old 08-01-2001, 03:31 AM
TrueHeaT TrueHeaT is offline
Zatoichi
Join Date: Jun 2001
Posts: 7,277
TrueHeaT is an unknown quantity at this point
Quote:
Originally posted by TheFox1
....
i want to get the fullscript so i can make the little guy run around..
Erm, that's the squirrel from Zelda, it's copywritten. Make your own.
__________________

If anyone has any of my tilesets and graphics, please PM me as I would really love to have them.
Reply With Quote
  #12  
Old 08-01-2001, 03:39 AM
Guest
Posts: n/a
Quote:
Originally posted by TrueHeaT

it's copywritten. Make your own.
yep, i noticed that. So now I am not so sure if i want to script it for him now.
Reply With Quote
  #13  
Old 08-01-2001, 04:29 AM
TheFox1 TheFox1 is offline
Registered User
TheFox1's Avatar
Join Date: Mar 2001
Location: The Land Down Under
Posts: 696
TheFox1 is on a distinguished road
Quote:
Originally posted by TrueHeaT


Erm, that's the squirrel from Zelda, it's copywritten. Make your own.
I found it in my Graal folder... in Webgif's....
__________________
Temporary Unbanned
Stefan Knorr
Reply With Quote
  #14  
Old 08-01-2001, 04:44 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
i bet it's from deleteria.
Reply With Quote
  #15  
Old 08-01-2001, 08:13 AM
Guest
Posts: n/a
Quote:
Originally posted by Merlin
i bet it's from deleteria.
dont be stupid now...
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 08:12 AM.


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