Jump to content


Photo

Death Penalties


  • Please log in to reply
4 replies to this topic

#1 stuartpierce

stuartpierce
  • Member
  • 19 posts

Posted 25 May 2005 - 12:04 PM

I see where I change the value of rezpenalty, but I want to use a flat XP / level + % gold / level penalty.
The jm_respawnsystem has options for all of this, but I changed the values here and they did nothing, so I guess this part of the code isn't used by default.

Stuart

#2 stuartpierce

stuartpierce
  • Member
  • 19 posts

Posted 26 May 2005 - 09:53 AM

Thought I had it. Changed jm_respawnsystem line 276 to read:

ireturn = 50 * nHD;

No matter what I change, it always seems to take 2% of my XP, and it never takes any of my gold, even though I have RS_GOLDLOSS_PERCENT set to 10.00

This script won't even compile? I uncommented the void main() {} at the bottom so it would.

Stuart

#3 jedi156

jedi156
  • Member
  • 18 posts

Posted 26 May 2005 - 05:23 PM

Thought I had it.  Changed jm_respawnsystem line 276 to read:

ireturn = 50 * nHD;

No matter what I change, it always seems to take 2% of my XP, and it never takes any of my gold, even though I have RS_GOLDLOSS_PERCENT set to 10.00

This script won't even compile?  I uncommented the void main() {} at the bottom so it would.

Stuart

View Post


It is a include file, and will not compile. For changes to take effect you have to compile all the scrips that include it, same with hc_defaults for your resting question. You do NOT need to do a full build, takes way too long. In build, build module, make sure just compile scripts is checked then click build.  Oh and recomment void main stuff.

#4 stuartpierce

stuartpierce
  • Member
  • 19 posts

Posted 27 May 2005 - 12:21 PM

"It is a include file, and will not compile. For changes to take effect you have to compile all the scrips that include it, same with hc_defaults for your resting question. You do NOT need to do a full build, takes way too long. In build, build module, make sure just compile scripts is checked then click build. Oh and recomment void main stuff."

Ah! Wondered why the things I was changing were having no effect. Thanks!

The funny thing about the resting is that it was already set to RESTSYSTEM = 1; RESTBREAK = 6; but it still allows me to rest whenever I want. I didn't make any changes to it. It also restores 100% of my hp.

I even downloaded a fresh copy from the vault, just to make sure. With no modifications, it let me rest anytime? Maybe because Horred is using fatigue and hunger/thirst systems, he felt the rest restrictions aren't necessary? I turned those off, and I want some limits so I don't get full HP restored any second I want.

Stuart

#5 stuartpierce

stuartpierce
  • Member
  • 19 posts

Posted 27 May 2005 - 05:44 PM

Yay, that worked. I now have it set to take 50 XP / level, you can lose a level, and it takes 10% of your gold for every respawn.

Now to figure out why the rest isn't restricted. Anyone look into this?

Stuart

P.S. Yes I have LIMITEDRESTHEAL = 1;

Edited by stuartpierce, 27 May 2005 - 06:30 PM.