Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-11-2001, 04:57 AM
Guest
Posts: n/a
Adding Weapons

I am having trouble adding weapons to my weapon list. For some reason, it just won't work. Do I put the weapon script in a class file? Do I put it all in the script of the NPC? Do I put some in the script and the rest in the class? Someone please help.
  #2  
Old 07-11-2001, 06:52 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
What do you mean you cannot make weapons? Class file? and Weapons are e-z!
---------------------
if (playerenters) {
toweapons *I made this weapon for a guy who cannot script;
}
if (weaponfired) {
hurt 20;
}
  #3  
Old 07-11-2001, 09:00 AM
Guest
Posts: n/a
Quote:
Originally posted by Poogle
What do you mean you cannot make weapons? Class file? and Weapons are e-z!
---------------------
if (playerenters) {
toweapons *I made this weapon for a guy who cannot script;
}
if (weaponfired) {
hurt 20;
}
O WOW THNX MR. MAN THAT JUST FIXERS UP ALL MUH PROBLESM

Jackass.

Okay, for the smart people who didn't ignore the class part, clearly identifying it as npc server, I need help on this ASAP.
  #4  
Old 07-11-2001, 09:13 AM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
Quote:
Originally posted by Poogle
What do you mean you cannot make weapons? Class file? and Weapons are e-z!
---------------------
if (playerenters) {
toweapons *I made this weapon for a guy who cannot script;
}
if (weaponfired) {
hurt 20;
}
*******.. Actually thats what i thought otaku meant at first 2 but i know better that he's not stupid.
__________________
Xerphier Dintch
Featuring
  #5  
Old 07-11-2001, 09:21 AM
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
Re: Adding Weapons

Quote:
Originally posted by Napster69
I am having trouble adding weapons to my weapon list. For some reason, it just won't work. Do I put the weapon script in a class file? Do I put it all in the script of the NPC? Do I put some in the script and the rest in the class? Someone please help.
try saying

addweapon <weaponsname>

w/o the <>'s

that makes it add it and update it (this is if you have a npc server)

if not then use

toweapons
__________________
Thanks,
-KJL
  #6  
Old 07-11-2001, 09:25 AM
MoonAngel MoonAngel is offline
Banned
MoonAngel's Avatar
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
MoonAngel is on a distinguished road
Send a message via ICQ to MoonAngel Send a message via AIM to MoonAngel
otaku, if ur talking about the staff npcz, remember, i protected them with a tag check =P so put yer tag to make the weapon work for you. if its another weapon, then do what KJS said
  #7  
Old 07-11-2001, 09:27 AM
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
Cool oh yea and...

dont put the npc script in a class file...

you dont need to...

and I am not sure if it will work (never tried it)..
__________________
Thanks,
-KJL
  #8  
Old 07-11-2001, 09:58 AM
Guest
Posts: n/a
Silver, I took off all that tag protection crap.

And toweapons and addweapon don't work, I touch it and I get disconnected for "Recieving Illegal Data".
  #9  
Old 07-17-2001, 10:32 PM
DuckyJ DuckyJ is offline
Registered User
Join Date: Jun 2001
Location: Maryland
Posts: 93
DuckyJ is on a distinguished road
Send a message via ICQ to DuckyJ Send a message via AIM to DuckyJ
uhmmmm toweapons...errrrr...hmmm
for NPC server eh? yeah npcserver loves to make it harder...hmm
beats me =D
__________________
"Death is like being locked in a closet - locked away from life." - Me

"Sympathy is a Virtue, but only if your on the receiver side, otherwise, it's just another hole in your wallet." - Me

Ducky Vs The Devil
Devil:Give me your soul and I will give you anything.
Ducky:What happens when I give you my soul?
Devil:When you die you go straight to hell, no if ands or buts, but while your alive you get anything you want!
Ducky:Okay*signs soul certificate entitling the Devil to his soul*
Devil:Now whats the first thing you want?
Ducky:Too live forever.



Bill Clinton VS the Big Dubya
Bill:I get alot of *****.
Bush:I try to lower the eco-projects to keep gas in your car.
Bill:Im Democrat and I hate Doctors.
Bush:Im Republican and my daughter drinks alcohol and Im Proud of it!
Bill:Atleast I get some.
Bush:Look who won the election, then look at who almost got Impeached!
Bill:Whats Impeached? A Peach that was Imed?
Bush: Democraps...oops, did I just say that?
Bush:Monicas a fat pig.
Bill:SHES ONLY 200 POUNDS!
visit my LiveJournal
  #10  
Old 07-17-2001, 11:02 PM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
The weapon cannot be client side, make sure its before
NPC Code:
//#CLIENTSIDE

or else the server thinks you are adding weapons with GameTrainer or some other cheating program...
__________________
Eric Kraft
  #11  
Old 07-18-2001, 01:43 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
lol

It's a new feature in the npc control people.

Otaku: make sure Stefan updated your npc server, if he has, it should work just fine using addweapon.
  #12  
Old 08-29-2001, 11:46 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Quote:
Originally posted by kyle0654
lol

It's a new feature in the npc control people.

Otaku: make sure Stefan updated your npc server, if he has, it should work just fine using addweapon.
Kyle ish da bomb :-)
  #13  
Old 08-31-2001, 03:19 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 think it has to be in the npc server weapons list and you just do like
PHP Code:
if (action) {addweapon Weapon name;} 
  #14  
Old 09-15-2001, 10:31 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
Quote:
Originally posted by Warcaptain

Kyle ish da bomb :-)
Warcaptain your a ***
__________________


Zorg (Era Staff) - Contact : [email protected]
  #15  
Old 09-20-2001, 11:46 PM
toad1413 toad1413 is offline
toad@graal:~$ ./Oldbie
Join Date: May 2001
Location: Aust.
Posts: 3,819
toad1413 is on a distinguished road
Send a message via ICQ to toad1413
Quote:
Originally posted by ZORG1986

Warcaptain your a ***
And you're a *******.
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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:58 AM.


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