PDA

View Full Version : Disable Rupee Dropping


LeetKrew
11-15-2006, 10:31 PM
What's the code to disable the S+A rupee dropping ability, and where would I put it?

Joey_P2P
11-15-2006, 11:39 PM
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

Chompy
11-15-2006, 11:54 PM
hmm, when I use enablefeatures I always have to use like
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.


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)

LeetKrew
11-16-2006, 12:43 AM
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?

smirt362
11-16-2006, 01:13 AM
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.

Chompy
11-16-2006, 03:26 PM
LeetKrew, you forgot too mention, are you doing this on a gserver or offline?

Crono
11-16-2006, 03:29 PM
LeetKrew, you forgot too mention, are you doing this on a gserver or offline?

Your signature is freaky. o.o

Chompy
11-16-2006, 03:46 PM
Your signature is freaky. o.o
*Points at Galdor* :p

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)