Battle damage messages are done in fight.c, theyre kinda burried and rather difficult to search for given the usually odd colorations and extra chars involved to screw up the search pattern.
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Amended on Mon 10 Feb 2003 10:51 PM (UTC) by Nick Gammon
Message
"Use the Source, Luke" ...
You can answer questions like that by doing a "grep" in the source directory for SMAUG (or a Find In Files if you are using some sort of Windows GUI editor). eg.
$ grep -n Supreme *.c
act_info.c:2640: case MAX_LEVEL - 0: class = "Supreme Entity"; break;
db.c:4285: case MAX_LEVEL - 0: towizfile( " Supreme Entity" ); break;
player.c:351: case 10: send_to_pager( "You are a Supreme Entity.\n\r", ch ); break;
player.c:770: case 10: send_to_pager( "You are a Supreme Entity.\n\r", ch ); break;
player.c:1150: case 10: send_to_pager( "You are a Supreme Entity.\n\r", ch ); break;
update.c:1908: case 21: t = "Ahh... the power of a Supreme Entity... what to do...\n\r"; break;
That shows what files to edit (and what line numbers), then do a "make" if you are using Cygwin.
Hey guys, I got in all compiling, changed a few of the things round..
Okay, I have looked on a few diffrenet tutorials, but I cant seem to find out how I edit the battle messages? How do I go about it? At the start, when you first start a battle I want a message, then custom messages all through that. How do I go about it?
Also - how do I set my pretitle? I cant figure it out! 'Supreme Entity' is starting to annoy me >.<
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.