vestrial writes, "This is intended for newbie coders and adminstrators. If you have OLC and you like to increase the number of room sectors that you and your builders can choose from, then keep reading." I use version 12 of circle3.0 and OLC 1.6b so keep that in mind as well. First, make your way in constants.c. Then, Find the line that say const char*sector_type(about line 85). You will see a list of all the present sector type ending with /n. Put the new sector type just above the /n.(EG. "Swamp",) Go to const int movement_loss in constant.c(line 880 or so) You will see a column of number. Notice that the last number in the column is without a comma. The numbers tell what how movement a player will lose when moving in that sector. Structs.h You will need to define the sectors you put in constants.c. The list of defined sectors is approximately 70 lines down. (EG. for the new sector swamp, it would look like #DEFINE SECT_SWAMP xx OLC.H This is the last you will have to change and then you can compile and reboot. You need to update the number of sectors that are in your mud. Go to the line that say number_room_sectors. Just change the old number and replace with the new amount of sectors. You can compile and reboot now!!!! << Enhanced damage skill [by Gerold Fisher] | Reply | View as text | Flattened | FTP Uploads >>
|
|