Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 08-23-2001, 06:06 PM
toad1413 toad1413 is offline
[email protected]:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
I have a good, working, non-laggy hat script that I made just using this.vars. I'm sure it could be fixed up and made better, but it's still good. If enough people want me to post it here, I might. And I don't mean just people like IcePick who'll steal it then call it their own. It's even commented fully.
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
Reply With Quote
  #17  
Old 08-23-2001, 09:22 PM
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
Unhappy pleez?

may i please see it? ill give credit to u if i put it in my p2p server.(i dont know if its gonna be p2p with bomys or non-p2p without bomys)
cuz im still workin on it.)so pleez? can u pm it to me? pleez? :o :o
__________________
==========================
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
  #18  
Old 08-24-2001, 09:18 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
OMG !!!

I GOT HE CAPS ON ICE AND YOUR GONNA GET IT NOW !!!!
FIRST OF ALL YOU NEVER SHOWED ME ANYTHING ... YOU NEVER TALK(ED) TO ME ... ALL YOU CARED THAT I MADE WAS THOSE STAFF STUFF FOR DELTERIA AND DONT TRY TO ACT LIKE YOU MADE EM AND I DIDN'T EVEN MAK EM .... JEDIMASTER GAVE EM TO ME ... AND I MEANT TO SAY THATTI IS WHAT I THINK HTS WILL WORK FOR .... SO DONT GIVE ME S*IT ABOUT STEALING CAUE I DONT STEAL ... I WILL TRY TO SCRIPT IT THEN IF I CANT I ASK FOR HELP ... UNLIKE YOU ....!!!!!!!!!!!!!
SO F*CK OFF !!!!!!!!!!!
Reply With Quote
  #19  
Old 08-25-2001, 01:57 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Could someone tell me the point of all that scripting?

here you go:

NPC Code:

if (playerchats && strequals(#c,knighthelmet)) {
set haton;
setplayerprop #P1,hat0.png;
}



oh and for the hat item:

NPC Code:

if (playerenters) {
toweapons Hat;
setimg haticon.png;
}
if (weaponfired&&!haton&&knighthelmet) {
set haton;
setplayerprop #P1,hat0.png;
setani haton,;
freezeplayer 0.6;
sleep 0.6;
}
// taking hat off
if(weaponfired&&haton){
unset haton;
setani hatoff,;
freezeplayer 0.6;
sleep 0.6;
setplayerprop #P1,;
}

__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!



Last edited by konidias; 08-25-2001 at 02:03 AM..
Reply With Quote
  #20  
Old 08-25-2001, 03:09 AM
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 is on a distinguished road
Quote:
Originally posted by konidias
Could someone tell me the point of all that scripting?

here you go:

NPC Code:

if (playerchats && strequals(#c,knighthelmet)) {
set haton;
setplayerprop #P1,hat0.png;
}



oh and for the hat item:

NPC Code:

if (playerenters) {
toweapons Hat;
setimg haticon.png;
}
if (weaponfired&&!haton&&knighthelmet) {
set haton;
setplayerprop #P1,hat0.png;
setani haton,;
freezeplayer 0.6;
sleep 0.6;
}
// taking hat off
if(weaponfired&&haton){
unset haton;
setani hatoff,;
freezeplayer 0.6;
sleep 0.6;
setplayerprop #P1,;
}

NPC Code:
if (weaponfired) {
if (strlen(#P1)>0) {
setplayerprop #P1,#s(client.hat);
setani haton,;
freezeplayer 0.6;
sleep 0.6;
}
else {
setani hatoff,;
freezeplayer 0.6;
sleep 0.6;
setplayerprop #P1,;
}
}

__________________

Reply With Quote
  #21  
Old 08-25-2001, 07:34 PM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
I just happened to have the code.. I didn't make it.. nor did I edit it..
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


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 12:34 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.