I dislike the movement point system and wish to remove it from the game, how do I go about doing this? Also I will need to change the default prompt for that and don't know how to.
I downloaded this bank snippet where the NPC needs a banker flag. In area editor is there a way to add this flag?
And if I do indeed put banking into the game, I want the player to lose all the money on their corpse at the time of death.
Someone please help me with this stuff :)
I dislike the movement point system and wish to remove it from the game, how do I go about doing this?
Look for references to ch->move and remove them.
For example:
if ( ch->move <= 0 ) {
send_to_char( "You're too exhausted to flee from combat!\n\r", ch );
return;
}
As for the default prompt, remove "%vmv" from functions default_fprompt and default_prompt.
Quote:
In area editor is there a way to add this flag?
You can add or change flags in the Area Editor by editing the configuration file. You can only do this for registered copies, however with an unregistered copy look at the smaugconfig.dat file to see the general idea.
Quote:
And if I do indeed put banking into the game, I want the player to lose all the money on their corpse at the time of death.
Thanks a lot for your responses to my questions, Nick Gammon, they really did help me a whole bunch :)
One last brief question I forgot to post before I'm all set:
Your starting level is at level 2, is it possible to make it that you start at level '0' and on completion of the newbie area you become level 1?
Thanks again for your help in the past.
Akula
I suppose. You might need to be careful, a whole lot of code might assume the lowest level is 1, and if you have a player at level 0 you might get "array out of bounds" errors, in other words, a crash.
Thanks, so now I made it that you start off at level 1. Now when completing the newbie area (entering a certain room the challenge is finding the key to open it) is there a prog or somthing I can add to make it that you are now level 2? Also it would be nice to automatically 'save' as if someone would forget to save their character will be deleted.
Thanks a lot.
Akula