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 01-05-2002, 02:13 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
new (graal2002) hiden commands

this is what i dug up so far. They might not all be graal2002 commands, but they are new commands that are not in commands.rtf and not in newfeatures2001.txt

this is what ive found so far, and ill try to explain each

----
setcursor <filename>
setcursor2 <filename>
setshootparams
groundheights[x]=x
waterheight=x (0-normal x>0 - playerswims on land)
selectedsword=x
tiletype(x,x)=x
getz(x,x)=x
getflagkeys(x)=x
savelog
npcs[i].z=x
players[i].z=x
playermaxhp=x
playerhp=x
playerz=x
setfocus x,y (finally works!)
resetfocus
setz x,x,x,x,x,x,x,x (must have 8 params)
----
setcursor(2) doesnt seem to work, but i think it changes the look of your mouse

setshootparams i have no idea, probably for arrows going up and down the z line

groundheight[x]=x; this sets the ground height. Im not sure how it works, and what should go in place of the x's.

waterheight=x; this sets the level's waterheight i guess. when x<=0 its seems normal. anymore than that, and youre swimming in nonblocked tiles.

selectedsword=x; im not sure you're supposed to use it like this, but i cannot figure out what its used for.

tiletype(x,x)=x; i think this goes along with addtiledefs image,,0 or however it works. Probably can be altered from 0 to 1

getz(x,x)=x; not sure, but i think it changes the z on the coordinates (x,x) to the height of the 3rd x

getflagkeys(x)=x; This is probably meant to be an if(clause) kinda thing. Im not sure though.

savelog; this is a command. I looks like it saves a log maybe its the alt+0 log....

npcs[i].z=x; sets the z for the i'th npc

players[i].z=x; same as npcs except for player

playermaxhp=x; works the same as playerfullhearts

playerhp=x; works the same as playerhearts

playerz=x; works the same as players[i].z=x;

setfocus x,y; Not a new command, but it just works now. Centers the player's view on x,y without moving the player

resetfocus; changes the player's view back to normal

setz x,x,x,x,x,x,x,x; not quite sure what all the params are for, or any of the for that matter. There MUST be 8, no more, no less.


Thats all i got. if any of these are defined somewhere, or were in an old topic, feel free to scold me. if you know what these commands do and how to use them, please post in reply. If you want to praise me and say thanx, go ahead. If you want to yell at me and call me a n00b, the choice is yours.


Well, i hope these prove usefull to you all.

laterz
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #2  
Old 01-05-2002, 04:25 AM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Will those work offline?
Reply With Quote
  #3  
Old 01-05-2002, 04:35 AM
PhenomX PhenomX is offline
Registered User
Join Date: Jan 2002
Location: Holliday, Texas
Posts: 38
PhenomX is on a distinguished road
Send a message via AIM to PhenomX
Yes, please, do tell us. I would like to know that, I have been otying aroujnd with them and I get nothing. Do they work offline?
__________________
-GForce
Reply With Quote
  #4  
Old 01-05-2002, 04:44 AM
Faheria_LAT1 Faheria_LAT1 is offline
Seraphim Warrior
Faheria_LAT1's Avatar
Join Date: Oct 2001
Location: QUÉBEC!!!!!!1
Posts: 2,040
Faheria_LAT1 is on a distinguished road
Send a message via ICQ to Faheria_LAT1 Send a message via AIM to Faheria_LAT1
set hp thing is from G2K2, it's their personal Heart system built in the game
__________________


"I like movies where the guy shoots stuff, and then it blows up, and then this other guy shoots him, and then the first guy drives through a Coke sign, and it blows up, and the car flips over in slow motion, and then the guy gets out and pops his arm back in place, and then they fight 'cause they're out of bullets, and the guy says something like "This is Walmart, boy...and you just got price-checked!" - Broken Saints

"There is no greater sorrow than to recall in misery when we were happy" - Dante

"If you know yourself but not the enemy, for every victory gained you will also suffer a defeat" - Sun Tzu, The Art Of War

"Kingdoms ...rising without word. Collapsing without warning." - Broken Saints

Account now used by Silver and Mmmmkay
yoshee15 account has run out :[[[
Reply With Quote
  #5  
Old 01-05-2002, 04:45 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by PhenomX
Yes, please, do tell us. I would like to know that, I have been otying aroujnd with them and I get nothing. Do they work offline?
Some of those commands are there for the '3d' effect of graal 2002, so unless you have the right type of image, it might not work, one of my friends says setfocus works, I need to try some of those commands out myself, some of them probably only work with the NPC Server
Reply With Quote
  #6  
Old 01-05-2002, 04:56 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
i don't understand?

how do you figure out hidden commands and how little of a life must you have, cause maybe i should do it.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #7  
Old 01-05-2002, 05:03 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Re: i don't understand?

Quote:
Originally posted by Saga2001
how do you figure out hidden commands and how little of a life must you have, cause maybe i should do it.
Stefan?
Reply With Quote
  #8  
Old 01-05-2002, 05:06 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Re: Re: i don't understand?

Quote:
Originally posted by Poogle
Stefan?

wait wait wait, you mean that he doesn't put it in the newfeatures, or commands.rtf (not that he ever adds anything to that) and he decides to randomly tell one person a lot of them? sounds a bit fishy.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #9  
Old 01-05-2002, 05:09 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
By HEX editing the Graal exe.
Reply With Quote
  #10  
Old 01-05-2002, 05:57 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Slaktmaster
By HEX editing the Graal exe.
yeah that would work...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #11  
Old 01-05-2002, 07:44 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
yeah, hex

yeah, i just opened graal up with notepad, searched for triggeraction, and it took me to the command section. I do it every so often. Every single command that i listed works offline, one way or another. There is some debugging of the params and yes, maybe certain images that are needed.

setfocus does work, and its awsome . Its great for things like sitting down in a spar arena, so you can watch the fight without missing some of it (if you dont play in full screen), ect.

I dont know if this is all of them, but this is all that i picked out. I saw a few more, but i kept getting errors, so i never wrote them down.

Man, a g2k2 server is hard to script, not saying that im making one, I'm just toying around with the images and the commands and tiledefs.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #12  
Old 01-05-2002, 08:22 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
*knows what each and every one of those do, and knows what you're missing*

setfocus shouldn't work...
Reply With Quote
  #13  
Old 01-05-2002, 08:32 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Quote:
Originally posted by kyle0654
*knows what each and every one of those do, and knows what you're missing*

setfocus shouldn't work...
Please please please be lying. lol...I have been waiting for something to offcenter the view to make little movies for the longest time. *off to test setfocus right now*
__________________
This account is no longer is use.
Reply With Quote
  #14  
Old 01-05-2002, 08:35 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
YES!!!!!!! Mwahaha. Get ready for INCREDIBLE movies in Murasamune! setfocus works!!
__________________
This account is no longer is use.
Reply With Quote
  #15  
Old 01-05-2002, 08:53 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Cool

Quote:
Originally posted by kyle0654
*knows what each and every one of those do, and knows what you're missing*

setfocus shouldn't work...
would you be so kind as to enlighten us kyle? Its no fun if you keep all the commands to yourself. You should share the knowlegde! Keeping tricks and tips to yourself is one thing

Which ones did i miss?
And could you explain them for us?

If you dont want to fine, its your call.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #16  
Old 01-05-2002, 09:02 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
No, I can't explain them, because they're g2k2/nw only. Setfocus is probably just a bug, and will most likely be taken back out in a newer version.
Reply With Quote
  #17  
Old 01-05-2002, 09:04 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
...

why would it be taken out? It works perfectly. Can you imagine all of the scripting that would have to be redone in effect of that being taken OUT? I would hope its not taken out, because that command is very useful.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #18  
Old 01-05-2002, 01:18 PM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Quote:
Originally posted by kyle0654
No, I can't explain them, because they're g2k2/nw only. Setfocus is probably just a bug, and will most likely be taken back out in a newer version.
I doubt it...I'm not trying to cause an arguement, so don't take it that way, but anyway Stefan needs g2k2 and g2k1 to work within the smae EXE. Meaning, g2k2 needs setfocus I'm sure, and it needs to stay in so it works with g2k2. Besides, why would you degrade a program? It needs to be upgraded, not degraded.
__________________
This account is no longer is use.
Reply With Quote
  #19  
Old 01-05-2002, 01:50 PM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
Quote:
Originally posted by BlKnight


I doubt it...I'm not trying to cause an arguement, so don't take it that way, but anyway Stefan needs g2k2 and g2k1 to work within the smae EXE. Meaning, g2k2 needs setfocus I'm sure, and it needs to stay in so it works with g2k2. Besides, why would you degrade a program? It needs to be upgraded, not degraded.
So there are larger, more meaningful updates.
Reply With Quote
  #20  
Old 01-05-2002, 03:20 PM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Quote:
Originally posted by kyle0654

So there are larger, more meaningful updates.

Oh...OH...I get it...
__________________
This account is no longer is use.
Reply With Quote
  #21  
Old 01-06-2002, 12:39 AM
PhenomX PhenomX is offline
Registered User
Join Date: Jan 2002
Location: Holliday, Texas
Posts: 38
PhenomX is on a distinguished road
Send a message via AIM to PhenomX
:grr: Well I dont! Tell us every aspect of these programming/scripting codes brfore I take a triggeraction and ram it up your...your.... HARD DRIVE!
__________________
-GForce
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 11:14 PM.


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