Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-15-2006, 10:31 PM
LeetKrew LeetKrew is offline
Registered User
Join Date: Nov 2006
Posts: 8
LeetKrew is on a distinguished road
Disable Rupee Dropping

What's the code to disable the S+A rupee dropping ability, and where would I put it?
Reply With Quote
  #2  
Old 11-15-2006, 11:39 PM
Joey_P2P Joey_P2P is offline
Banned
Join Date: Oct 2006
Posts: 36
Joey_P2P is on a distinguished road
Quote:
Originally Posted by LeetKrew View Post
What's the code to disable the S+A rupee dropping ability, and where would I put it?
enablefeatures(float);

ex: enablefeatures(2 + 8 + 0x10); <- Disables Pause, Rating, and Dropping of Money.

Game features (for enablefeatures)

2 P key
4 Q key
8 R key
0x10 S+A combo
0x20 S+D combo
0x40 TAB key
0x80 chat text
0x100 hearts overhead
0x200 display of nicknames
0x400 toall/PM bubbles
0x800 right-click profiles
0x1000 emoticons
0x2000 Alt+5 snapshots
0x4000 Alt+8/9 zooming
0x8000 logframe
allfeatures all features
Reply With Quote
  #3  
Old 11-15-2006, 11:54 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
hmm, when I use enablefeatures I always have to use like
PHP Code:
enablefeatures(allfeatures 0x10);
// for example 
because it enables, so I think you have to enable
all the features, then pick out the parts that is not going to be enabled.

PHP Code:
enablefeatures(allfeatures & ~(0x10 0x20)); 
/*
  would enable everything, except dropping of items (all items for S+A combo)         
  and S+D combo for switching weapons.
*/

// 0x10      S+A key combination for dropping items
// 0x20      S+D key combination for switching weapons 
Also, enablefeatures can go in a timeout, or when creating the script/initializing
(Not sure about this, I usually uses a timeout)
__________________
Reply With Quote
  #4  
Old 11-16-2006, 12:43 AM
LeetKrew LeetKrew is offline
Registered User
Join Date: Nov 2006
Posts: 8
LeetKrew is on a distinguished road
Okay

I can put it in an NPC, but is there an easier way so that I don't have to put it in every level?
Reply With Quote
  #5  
Old 11-16-2006, 01:13 AM
smirt362 smirt362 is offline
Tee Hee
smirt362's Avatar
Join Date: Feb 2005
Location: Texas
Posts: 2,101
smirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant future
Send a message via AIM to smirt362 Send a message via MSN to smirt362
Quote:
Originally Posted by LeetKrew View Post
I can put it in an NPC, but is there an easier way so that I don't have to put it in every level?
You put it in a systems NPC that gets adds to every player when they login if they don't already have it.
__________________

Don Hertzfeldt <3
Reply With Quote
  #6  
Old 11-16-2006, 03:26 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
LeetKrew, you forgot too mention, are you doing this on a gserver or offline?
__________________
Reply With Quote
  #7  
Old 11-16-2006, 03:29 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Quote:
Originally Posted by Chompy View Post
LeetKrew, you forgot too mention, are you doing this on a gserver or offline?
Your signature is freaky. o.o
__________________
Reply With Quote
  #8  
Old 11-16-2006, 03:46 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Gerami View Post
Your signature is freaky. o.o
*Points at Galdor*

don't got anything else funny
I wish I was a gfx artist :[
(btw, I like my avatar, I'll make add somelike like my avatar in my sig)
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:04 PM.


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