Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-06-2001, 08:33 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Putnpc2??? Helpplease

Ok ill delete this when i get a response.
I just need to know how to use putnpc2 like its format and val...
such as onwall(x,y) so that i know how to work it
i need the same with onwall2 how is it used like its variables and format?
Example: setlevel2 x,y,levelname;
Just give me an example on how to use the command
and for putnpc2 where in the server should i put the script? in scripts folder or levels? Putnpc got it from levels so i dont know which for this one .... wow 50 posts.... . . ok thanks im sure kyle or ka.im..etsu co .. ould ans...wer... this.....quessss.....ti...on *passes out*
__________________

To the sun of your age, I arise

Last edited by TB3; 06-06-2001 at 08:36 PM..
  #2  
Old 06-06-2001, 08:46 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
No no no no bad command bad bad command

No stefan posted that it was working a while ago but he didnt say how to work it its what he used in the items for trade item where u can drop items in inventory but he didnt explain how to work it and i need it for alot alot of stuff on faheria please help ! =P *passes out*
__________________

To the sun of your age, I arise
  #3  
Old 06-06-2001, 08:56 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Gah im not an idiot im just sleepy

I know what it does it places an npc in the level or where ever it is the npcserver equivalent of the putnpc but i just need to know the valences in it like putnpc uses gif,txt,x,y i need to know what this uses in it O_o.

__________________

To the sun of your age, I arise
  #4  
Old 06-06-2001, 09:00 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
Well according to Graal the format should be:
putnpc2 filename,filename,real,real;
Or in other words, it uses the same format.
__________________

  #5  
Old 06-06-2001, 09:04 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Hmmmmm

I tried that ill try it again hopefully i can get it to work O_o
I have many new things to add if it will work thanks =P
But i thought that it didnt include the image or something.
And i still need to know whether to put the txt script in the scripts folder or the level folder
__________________

To the sun of your age, I arise
  #6  
Old 06-11-2001, 12:06 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I guess you already know now,
it is

NPC Code:

putnpc2 x,y, {
script
};



So you put the code inside the
command itself. If you want to make
an npc duplicating itself then you
will need to use join.
To give parameters to the new npcs,
do

NPC Code:

with (npcs[npcscount-1]) {
this.vars = ...
}



after you have used putnpc2
  #7  
Old 06-15-2001, 06:15 AM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Thanks!

Ok now someone can delete this post if you want
__________________

To the sun of your age, I arise
  #8  
Old 06-16-2001, 04:07 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Other people might to look at this,
or someone could make a summary
about things posted here
  #9  
Old 06-18-2001, 10:06 PM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
Hmmm...Stefan, as you know with Murasamune it uses many different weapons, but i'm looking for a good way to use weapon changing...i've already made a version where you need all the weapon NPCs, but I have a hthing with putting tons of unneccessary NPCs in inventory....with putnpc2, are you able to script a completely new NPC within a NPC and make it go toweapons? (please say yes...please say yes..... *repeats many times*)
  #10  
Old 06-18-2001, 11:01 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
Kai

Its VERY usefull script... You can change its params with triggeraction also.. (I did that on one of my projects) And its owkring fine... Although canwarp dont work on my NPC for somereason.. Even though he is facing the warp.. (He uses move)
__________________

subliminal message: 1+1=3
  #11  
Old 06-18-2001, 11:39 PM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
well the reason i need is so i dont need to give the player 15 weapons hidden weapons...but I think putnpc (thats what its called right?) would be better, because it doesnt combine with the current script (at least I think....) im not really sure..I can really only try this stuff with putnpc and such when Murasamune is up...
Oh and kai, it is pretty useful...it isnt combining NPCs, I think, its 2 seperate NPCs (I think and I hope) which would let you do many things....instead of me putting in NPCs like -swallow or -axe with every type of weapon, instead I could use putnpc2 and give a central -weapon NPC that can be change with the variables i set when putting the NPC......that is it putnpc2 works the way i hope it does....
roflol i wrote this much for a simple point...i gotto get out of this habbit....
  #12  
Old 06-19-2001, 10:13 PM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
woah thats not good....whats this join thing? kyle0654 was telling me how "powerful" NPC Server and join is, but i didnt really understand....probably cause ive never used NPC Control >.< bah im gonna figure this all out in the future....
  #13  
Old 06-19-2001, 11:31 PM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
hmmm....well i guess i can only learn about it when my server goes up...
 


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


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