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 05-19-2001, 09:57 AM
Bravo_NPC-Admin1 Bravo_NPC-Admin1 is offline
Registered User
Join Date: May 2001
Location: Olympia, Washington USA
Posts: 25
Bravo_NPC-Admin1 is on a distinguished road
Send a message via AIM to Bravo_NPC-Admin1 Send a message via Yahoo to Bravo_NPC-Admin1
Cool Undocumented Commands

Stefan. I found some undocumented commands that aren't explained anywhere. The first one I can think of at the top of my head is onwall2 and onwater2 (?). What are those and how are they used? Also, if you create an NPC that has:
if (playertouchsme) { toweapons /Test; }

You can touch it many times and each time you will get the Weapon named Test. Is that supposed to happen, or is that a bug? Thanks.

-Boco
__________________
-Boco
  #2  
Old 05-19-2001, 12:11 PM
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
i think that the undocummented commands only work with .nw levels like those on G2K1 and since they are undocummented it means Stefan doesnt want them revealed or something like that
  #3  
Old 05-19-2001, 08:10 PM
FxChiP FxChiP is offline
Registered User
Join Date: Mar 2001
Location: Pittsburgh, PA
Posts: 451
FxChiP is on a distinguished road
Send a message via ICQ to FxChiP Send a message via AIM to FxChiP
That's nothing.

Try putting this as your script:
NPC Code:

if (weaponfired) {
spyfire 10,10;
}



Last I checked, it was still undocumented.

How did I find this (and some other) commands? I opened Graal with Notepad. It has every command and built-in flag in there.

You'll even find the bomb/bow script in there.
__________________


"The administrators of Graal Online will not be responsible for corrupting of young minds. " -User Agreement.. heh-heh-heh

"4. Racial intolerance is not allowed. [NEW!]" -User License Agreement (I love the "[NEW!]" part)

"No more drugs for THAT man!" -TrueHeaT

"... or does
it stand for something like
'[B]hala is the [M]an who decides so lets [X]ross the fingers'?)" -Stefan, in response to a guild dispute over the guild name "BMX"

[img src=http://www.lucitanica.f2s.com/shaun-revolutionsig.gif]
Time to piss Lycia off!
  #4  
Old 05-19-2001, 08:49 PM
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
i did the same ; ) and anyways.. they arent such powerful commands, spyfire is great though =)
  #5  
Old 05-19-2001, 09:29 PM
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 think spyfire was mentioned in the
newfeaturesxxx.txt somewhere

onwall2 and onwater2 are like onwall/onwater,
but for a rectangle
  #6  
Old 05-19-2001, 09:31 PM
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
spyfire is not supported on the npcserver yet,
but it will be easy to add it
  #7  
Old 05-19-2001, 09:33 PM
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
and could you read my thread on the NPC Scripting forum? its about a problem im having with a showimg npc
  #8  
Old 06-06-2001, 06:50 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
Dont help much hehe

It would realy be helpfull if u listed the commands and such like
onwall(x,y,width,height) or whatever they were supposed to be so that i wouldnt have to test this stuff so much I myself dont have that much time on graal no more and a list of new commands such as putnpc2 ect and their val and format would be great thanx
__________________

To the sun of your age, I arise
  #9  
Old 06-11-2001, 12:10 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
You don't have the npcserverdoc.txt?
It doesn't describe putnpc2 and timevar2
yet but everything else should be somehow
explained
  #10  
Old 06-11-2001, 12:34 AM
slp slp is offline
Registered User
slp's Avatar
Join Date: Apr 2001
Location: MN, USA
Posts: 892
slp is on a distinguished road
Send a message via AIM to slp Send a message via Yahoo to slp
spi fire lol

i remeber last year me and kjl were looking through graal.exe and found that command alonge w/ other ones that we didnt understand
__________________
Thanks,
-SLP / SLP Omega-
Im Back >: D.
  #11  
Old 06-12-2001, 09:39 PM
Marco2002 Marco2002 is offline
Registered User
Join Date: Jun 2001
Location: Germany
Posts: 77
Marco2002 is on a distinguished road
Send a message via ICQ to Marco2002
Quote:
Stefan. I found some undocumented commands that aren't explained anywhere. The first one I can think of at the top of my head is onwall2 and onwater2 (?). What are those and how are they used? Also, if you create an NPC that has:
if (playertouchsme) { toweapons /Test; }
the toweapons /Weapon is for sub menus in the Weapon menu (with toweapons Bombs/Megabomb you will add the Megabombs into the submenu "Bombs")

btw. does setfocus/resetfocus do anything or will It do anything in the future?
__________________
  #12  
Old 06-13-2001, 07:13 AM
LilbrojX LilbrojX is offline
why dont you marry it?
LilbrojX's Avatar
Join Date: Mar 2001
Location: hmm
Posts: 1,465
LilbrojX is on a distinguished road
Send a message via AIM to LilbrojX Send a message via Yahoo to LilbrojX
Quote:
Originally posted by Marco2002


the toweapons /Weapon is for sub menus in the Weapon menu (with toweapons Bombs/Megabomb you will add the Megabombs into the submenu "Bombs")
WOAH, I'm confused, how does that work??? I did it, but I can't open another menu for it, or something
__________________

http://www.dictionary.com/search?q=arrogant
kai is an expert on all things arrogant
  #13  
Old 06-13-2001, 11:16 PM
Krakken_2001 Krakken_2001 is offline
Posts: 1337
Krakken_2001's Avatar
Join Date: Mar 2001
Location: Staffs, England Quote: "Bomy in Progress" Looks: Amazingly Stunning Popularity: 10,000%
Posts: 1,325
Krakken_2001 is on a distinguished road
Quote:
Originally posted by Stefan
timevar2
OOOOOOOOOOOOOoooooooooooooooh
__________________
------------------------


- UnOfficial Graalian Story Teller
- Holder Of The 1000th Upgraded Graalian Account (Not This One)
------------------------------------------------------------------------------
"The Fairy Princess - Zorro" - A New Beggining
  #14  
Old 06-14-2001, 12:47 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
I tried toweapons Bombs/Megabombs, Its not working
  #15  
Old 06-14-2001, 05:54 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Hmm. Old thread. But...

toweapons /Megabombs;

If you keep on getting the weapon, you will get multiple of it
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
  #16  
Old 06-14-2001, 06:08 AM
LilbrojX LilbrojX is offline
why dont you marry it?
LilbrojX's Avatar
Join Date: Mar 2001
Location: hmm
Posts: 1,465
LilbrojX is on a distinguished road
Send a message via AIM to LilbrojX Send a message via Yahoo to LilbrojX
we all know that, thanks boco, your a genius
__________________

http://www.dictionary.com/search?q=arrogant
kai is an expert on all things arrogant
  #17  
Old 06-16-2001, 04:21 AM
JoMomma JoMomma is offline
Registered User
Join Date: Mar 2001
Posts: 43
JoMomma is on a distinguished road
Quote:
Originally posted by FxChiP
[B]That's nothing.

Try putting this as your script:
NPC Code:

if (weaponfired) {
spyfire 10,10;
}

try 10,3

it's: spyfire length, type;
if type is 3, it'll be a jolt bomb style fire.
__________________
Temporary disabled
Stefan Knorr
  #18  
Old 06-16-2001, 06:51 PM
FxChiP FxChiP is offline
Registered User
Join Date: Mar 2001
Location: Pittsburgh, PA
Posts: 451
FxChiP is on a distinguished road
Send a message via ICQ to FxChiP Send a message via AIM to FxChiP
...

I never played with that...
__________________


"The administrators of Graal Online will not be responsible for corrupting of young minds. " -User Agreement.. heh-heh-heh

"4. Racial intolerance is not allowed. [NEW!]" -User License Agreement (I love the "[NEW!]" part)

"No more drugs for THAT man!" -TrueHeaT

"... or does
it stand for something like
'[B]hala is the [M]an who decides so lets [X]ross the fingers'?)" -Stefan, in response to a guild dispute over the guild name "BMX"

[img src=http://www.lucitanica.f2s.com/shaun-revolutionsig.gif]
Time to piss Lycia off!
 


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 11:34 PM.


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