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 12-05-2007, 02:23 AM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
No Nicknames/ classic GUI?

how would that work? i hate the damn GUI showing in the corner of my test GUI and my Q-menu test. and i am making a mouse thing how would this work?!
__________________
I am the devil, I am here to do to devils work.
Reply With Quote
  #2  
Old 12-05-2007, 02:38 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
PHP Code:
enablefeatures(allfeatures-0x200-4);
showstats(allstats & ~(0x40 0x80)); 
Reply With Quote
  #3  
Old 12-06-2007, 03:10 AM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
Quote:
Originally Posted by oo_jazz_oo View Post
PHP Code:
enablefeatures(allfeatures-0x200-4);
showstats(allstats & ~(0x40 0x80)); 
would this go in my system script?
__________________
I am the devil, I am here to do to devils work.
Reply With Quote
  #4  
Old 12-06-2007, 04:03 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Knightmare1 View Post
would this go in my system script?
Put it wherever: just make sure it's clientside. If you're gonna change it alot, try and make some kind of way to easily change between temporary and more permanent states.

Also,
Enable Features
PHP Code:
Value      Description
1     M key 
(map)
2     P key (pause)
4     Q key (weapon select)
8     R key (show ratings)
0x10     S+A key combination for dropping items
0x20     S
+D key combination for switching weapons
0x40     TAB key 
(if disabled then you cannot switch to the chat field with TAB)
0x80     Display of chat text
0x100     Display of the hearts over player heads
0x200     Display of nicknames
0x400     Toall
/PM-icons on the minimap
0x800     Right
-click on players opens their profile
0x1000     Emoticons 
(disable it if you want to do other stuff with control+keys)
0x2000     Alt+for making snapshots (deprecated)
0x4000     Alt+8/for zooming (deprecated)
0x8000     Allows F2 output (savelog()/echo())
allfeatures     All of the previously stated feature flags enabled 
Show Stats
PHP Code:
Value      Description
1     ASD
2     Icons 
(for rupeesbombsarrows)
4     Rupees count
8     Bombs count
0x10     Arrows count
0x20     Hearts
0x40     Alignment 
(apbar
0x80     Magic points 
(mpbar
0x100     Minimap 
(you can only hide ityou can't show it when the player pressed Alt+3)
0x200     Inventory NPCs
0x400     Players
0x800     Right-click on players opens their profile
allstats     All of the previously stated stats flags enabled 
I generally keep those commented somewhere near the code
Reply With Quote
  #5  
Old 12-06-2007, 07:31 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
preferably you want to call it at the begging of your script. such as, in the onCreated() section. Also in a timeout or what put, player.hearts = player.fullhearts if you have a custom hp sys with it.
__________________
Deep into the Darkness peering...
Reply With Quote
  #6  
Old 12-06-2007, 12:33 PM
Shakaraja Shakaraja is offline
Developer In Practice
Join Date: Oct 2007
Location: netherlands
Posts: 29
Shakaraja is on a distinguished road
hey i had the same question
and angel_light, thx for that becuz we are gonna create a custom HP system and i never tought of that xD
Reply With Quote
  #7  
Old 12-07-2007, 04:33 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
To hide all the GUIs (show nothing but the player, basically).

PHP Code:
showstats1024 ); 
The nicknames are a feature, so it is something like:

PHP Code:
enablefeaturesallfeatures 0x200 ); 
Put both of those in the onCreated or onTimeOut of a system script.
__________________
Reply With Quote
  #8  
Old 12-07-2007, 02:43 PM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
yay, it works!
__________________
I am the devil, I am here to do to devils work.
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 06:43 AM.


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