Lowering Experience-Drain-At-Death %?

Technical and coding related questions.

Moderator: Board moderators

Post Reply
Andrew

Lowering Experience-Drain-At-Death %?

Post by Andrew »

Hi, I'm just messing around in a LAN game with a friend, and we were wondering if there was a way to reduce the amount of experience drain suffered at death (something like 10% instead of 20%?). Just, you know, because we're wimps. :)

Is there a runtime option/flag I can set, or do I need to do something more dubious?



(I'm running the server on Windows, btw).

Any help is appreciated.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Unfortunately, those are hard-coded values...
So you need to change code & recompile server ^.^;;;

Hint in case you manage to get code: common/living.c, lines around 1818
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Personally, this value needs to added into a config file;

----
sugggested format:

permadeath: off
deathxplosspercent: 20
deathdrainlossperstats: 1
--
But this is just my idea to put most of CF's hardcoded variables into a config file. :P
lordyoukai.DA
My wraith is cooler than your dragon.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

bort wrote:Personally, this value needs to added into a config file;
Then what are you waiting to make a patch i'm sure everyone will love? :)
lalo
Luser
Posts: 19
Joined: Mon Jul 14, 2003 7:40 pm
Location: on the internet
Contact:

Post by lalo »

what about making permanent experience configurable instead? (Or both? But I think permanent exp may do the trick alone)
Post Reply