1 |
root |
1.1 |
# This file is used various system settings. It removes the need for |
2 |
|
|
# some config.h files. Format is: |
3 |
|
|
# variable<space>value which can have spaces |
4 |
|
|
# |
5 |
|
|
# Lines starting with # are comments. |
6 |
|
|
# |
7 |
|
|
# Some fields may be numeric, other string. The program will skip over |
8 |
|
|
# spaces after the setting. |
9 |
|
|
# |
10 |
|
|
|
11 |
|
|
# values for the new big worldmap, and weather. Only use if you are using the |
12 |
|
|
# new bigmap. |
13 |
|
|
# |
14 |
|
|
|
15 |
|
|
worldmapstartx 100 |
16 |
|
|
worldmapstarty 100 |
17 |
|
|
worldmaptilesx 30 |
18 |
|
|
worldmaptilesy 30 |
19 |
|
|
worldmaptilesizex 50 |
20 |
|
|
worldmaptilesizey 50 |
21 |
|
|
|
22 |
|
|
# dynamiclevel sets the level of change on the worldmaps, this should be 0 |
23 |
|
|
# unless you are using bigworld maps (or set up the above values properly for your maps) |
24 |
|
|
# and want to run weather. Differnet values increase the amount of dynamism from |
25 |
|
|
# weather to growth to erosion. (see documents for more info). |
26 |
|
|
# If dynamiclevel is not 0, first run of the server will generate the weather maps |
27 |
elmex |
1.3 |
# which could be a lengthy process. |
28 |
root |
1.1 |
|
29 |
|
|
dynamiclevel 0 |
30 |
|
|
fastclock 0 |
31 |
|
|
|
32 |
|
|
# item_power_factor is the relation of how the players equipped item_power |
33 |
|
|
# total relates to there overall level. If 1.0, then sum of the characters |
34 |
|
|
# equipped item's item_power can not be greater than their overall level. |
35 |
|
|
# if 2.0, then that sum can not exceed twice the character overall level. |
36 |
|
|
# by setting this to a high enough value, you can effectively disable |
37 |
|
|
# the item_power code. |
38 |
|
|
|
39 |
|
|
item_power_factor 1.0 |
40 |
|
|
|
41 |
elmex |
1.3 |
# See notes for most of these in include/config.h |
42 |
root |
1.1 |
|
43 |
|
|
# dm_mail your_email@addr.here |
44 |
|
|
|
45 |
|
|
# Makes death non permanent. If enabled and you die, you lose a bunch of |
46 |
|
|
# exp, a random stat, and go back to starting town. |
47 |
|
|
# If not defined, if you die, you are dead. If an a multiplayer server, |
48 |
|
|
# resurrection may be possible |
49 |
|
|
# |
50 |
|
|
# This option changes the game significantly one way or the other - it makes |
51 |
|
|
# adventuring right at the edge of death something more reasonable to do |
52 |
|
|
# (death still hurts here). On the other hand, it certainly makes the |
53 |
|
|
# game a bit safer and easier. |
54 |
|
|
# not_permadeth true |
55 |
|
|
|
56 |
|
|
# define resurrection if you want to let players bring other players |
57 |
|
|
# back to life via some spells. If resurrection is undefined, then a |
58 |
|
|
# death is permanent. NOTE: resurrection (either defined or undefined) |
59 |
|
|
# has no meaning if not_permadeth is true. |
60 |
|
|
|
61 |
|
|
resurrection false |
62 |
|
|
|
63 |
|
|
# set the following if you wish to allow players to set their title |
64 |
|
|
# and to save it on the disk. There really isn't much reason not |
65 |
|
|
# allow players to set this. |
66 |
|
|
|
67 |
|
|
set_title true |
68 |
|
|
|
69 |
|
|
|
70 |
|
|
# Enables the 'search-item command; a method to find equipment |
71 |
|
|
# in shops. Like set_title, probably no reason to ever disable this. |
72 |
|
|
|
73 |
|
|
search_items true |
74 |
|
|
|
75 |
|
|
# SPELL_ENCUMBRANCE -- If you're carrying a weapon or wearing heavy armour, |
76 |
|
|
# you have a chance of fumbling your spellcasting with this on. More |
77 |
|
|
# armors/weapons, higher chance of failure. If this is false, then |
78 |
|
|
# you can basically always cast a spell, no matter what you are wearing. |
79 |
|
|
|
80 |
|
|
spell_encumbrance true |
81 |
|
|
|
82 |
elmex |
1.3 |
# spell_failure_effects only has meaning if spell_encumbrance is true. |
83 |
root |
1.1 |
# What it does, is that when the player fails a spell, various effects |
84 |
|
|
# will happen (player is paralyzed, confused, wonder spell is cast, etc.) |
85 |
|
|
# I disabled it because I think it would make life much too hazardous |
86 |
|
|
# for low level casters. They either need to wear light armor (which |
87 |
|
|
# means that they will get pounded on by monsters), or will get |
88 |
|
|
# confused/paralyzed/other effects often. High level casters would |
89 |
|
|
# be mostly unaffected, since they would be casting spells that are |
90 |
|
|
# below their level. |
91 |
elmex |
1.3 |
# Note- it seems that you still get some failure effects even with this |
92 |
root |
1.1 |
# not defined - most notably when reading scrolls and fail to read |
93 |
|
|
# them properly. |
94 |
|
|
# |
95 |
|
|
|
96 |
|
|
spell_failure_effects false |
97 |
|
|
|
98 |
|
|
# casting times for spells, if you have this defined then it takes a |
99 |
|
|
# specific amount of time for a spell to go off. You may attack or |
100 |
|
|
# be hit during this time, and this will cause you to lose the spell. |
101 |
|
|
# I commented this out on my copy - I don't like the 'double clutch' |
102 |
|
|
# needed to cast it (first direction key starts casting, the |
103 |
|
|
# next actually puts the spell into effect.) It could perhaps |
104 |
|
|
# be changed so that the initial direction is where it goes, and it |
105 |
|
|
# is cast automatically in that direction (so only 1 key is needed.) |
106 |
|
|
# But this could be undesirable as various things move while you cast it. |
107 |
|
|
# this also slows down the rate you can cast spells considerably. |
108 |
|
|
|
109 |
|
|
casting_time false |
110 |
|
|
|
111 |
|
|
# Name of the motd file - really no reason to change this. |
112 |
|
|
motd motd |
113 |
|
|
|
114 |
|
|
# Calling this real_Wiz is probably not really good. Something like |
115 |
|
|
# mud_wiz might be a better name. |
116 |
|
|
# |
117 |
|
|
# Basically, if real_wiz is set then the WIZ/WAS_WIZ flags for objects |
118 |
|
|
# are not set - instead, wizard created/manipulated objects appear as |
119 |
|
|
# normal objects. This makes the wizard a little more mudlike, since |
120 |
|
|
# manipulated items will be usable by normal players. |
121 |
|
|
|
122 |
|
|
real_wiz true |
123 |
|
|
|
124 |
|
|
# spellpoint_level_depend -- Causes the spellpoint cost |
125 |
|
|
# of spells to vary with their power. Spells that become very |
126 |
|
|
# powerful at high level cost more. The damage/time of |
127 |
|
|
# characters increases though. |
128 |
|
|
|
129 |
|
|
spellpoint_level_depend true |
130 |
|
|
|
131 |
|
|
# This should only be set on private single player servers - basically, |
132 |
|
|
# it lets you wander around with no penalty if you die, but otherwise |
133 |
|
|
# doesn't give any extra powers, like the wiz has. If in explore |
134 |
|
|
# mode, your characters score is not recorded. However, to prevent |
135 |
|
|
# abuses, if in explore mode, no other players can join (as they |
136 |
|
|
# would not be in explore mode, so they could be abused by a player |
137 |
|
|
# in explore mode. |
138 |
|
|
|
139 |
|
|
explore_mode false |
140 |
|
|
|
141 |
|
|
# Set this to false if you don't want characters to loose a random stat when |
142 |
|
|
# they die - instead, they just get depleted. |
143 |
|
|
# Setting it to true keeps the old behaviour. This can be |
144 |
|
|
# changed at run time via -stat_loss_on_death or +stat_loss_on_death. |
145 |
|
|
|
146 |
|
|
stat_loss_on_death false |
147 |
|
|
|
148 |
elmex |
1.3 |
# This makes repeated stat loss at lower levels more merciful. Basically, |
149 |
root |
1.1 |
# the more stats you have lost, the less likely that |
150 |
|
|
# you will lose more. Additionally, lower level characters are shown |
151 |
|
|
# a lot more mercy (there are caps on how much of a stat you can lose too). |
152 |
elmex |
1.3 |
# On the nasty side, if you are higher level, you can lose multiple stats |
153 |
root |
1.1 |
# _at_once_ and are shown less mercy when you die. But when you're higher |
154 |
|
|
# level, it is much easier to buy back your stats with potions. |
155 |
|
|
# Turn this on if you want death-based stat loss to be more merciful |
156 |
|
|
# at low levels and more cruel at high levels. |
157 |
|
|
# Only works when stats are depleted rather than lost. This option has |
158 |
|
|
# no effect if you are using genuine stat loss. |
159 |
|
|
|
160 |
|
|
balanced_stat_loss false |
161 |
|
|
|
162 |
elmex |
1.3 |
# This defines how much of a player's experience should be 'permanent' and |
163 |
|
|
# not able to be lost on death. A high value makes multiple frequent deaths |
164 |
|
|
# less devastating, and also ensures that any character will make some |
165 |
|
|
# gradual progress even if they die all of the time. This value is the minimum |
166 |
|
|
# amount of a player's exp that can ever be 'permanent' so setting this to 0 |
167 |
|
|
# would allow all exp to be lost, and setting it to 100 would stop exp loss |
168 |
|
|
# entirely (the same effect would be achieved by setting the two |
169 |
|
|
# death_penalty settings below to 0). |
170 |
|
|
|
171 |
|
|
permanent_experience_percentage 25 |
172 |
|
|
|
173 |
|
|
# When a player dies, they lose a proportion of their experience, which is |
174 |
|
|
# defined by the following two values. They will lose either |
175 |
|
|
# death_penalty_percentage% of their experience, or no more than |
176 |
|
|
# death_penalty_levels levels, or half of their non-permenent experience, |
177 |
|
|
# whichever is the least of these. Note that this is calculated per-skill, |
178 |
|
|
# so which method is used could vary for different skills. |
179 |
root |
1.1 |
|
180 |
elmex |
1.3 |
death_penalty_percentage 20 |
181 |
|
|
death_penalty_levels 3 |
182 |
root |
1.1 |
|
183 |
|
|
# This is the penalty to luck that is given to a player who kills another |
184 |
|
|
# player (PK's). The value here is deducted from their luck value, so set this |
185 |
|
|
# high to discourage PK-ing and zero (or negative) to encourage it. |
186 |
|
|
# Range is limited to -100 to 100, since this is the value range that the luck |
187 |
|
|
# stat can be within. |
188 |
|
|
|
189 |
|
|
pk_luck_penalty 1 |
190 |
|
|
|
191 |
|
|
# This allows reduced damage against other players when in |
192 |
|
|
# peaceful mode. The value is the percent of damage done |
193 |
|
|
# compared to normal. This does not change damage done |
194 |
|
|
# by not targeted things like walls, explosions, cone spells, disease, poison... |
195 |
|
|
|
196 |
|
|
set_friendly_fire 5 |
197 |
|
|
|
198 |
|
|
# This deals with armor enchantment. |
199 |
|
|
# |
200 |
|
|
# armor_max_enchant: maximum enchantments an armor will take. |
201 |
|
|
# default: 5 |
202 |
|
|
# |
203 |
|
|
# armor_weight_reduction (in percent) and armor_weight_linear control how weight is reduced: |
204 |
|
|
# * when armor_weight_linear is TRUE, armor weight is |
205 |
|
|
# 'base weight - armor enchantment * armor_weight_reduction' |
206 |
|
|
# * when armor_weight_linear is FALSE, armor weight is reduced by armor_weight_reduction % |
207 |
|
|
# per enchantment. |
208 |
|
|
# |
209 |
|
|
# example: |
210 |
|
|
# * with 10 and TRUE, if armor base weight is 100, it'll become: |
211 |
|
|
# 100 -> 90 -> 80 -> 70 -> 60 -> ... |
212 |
|
|
# * with 10 and FALSE, it'll be: |
213 |
|
|
# 100 -> 90 -> 81 -> 73 -> 66 -> ... |
214 |
|
|
# |
215 |
|
|
# Note that the code will enforce a minimum weight of 1, else players can't pick up armor. |
216 |
|
|
# |
217 |
|
|
# default values: 10 and TRUE. |
218 |
|
|
# |
219 |
|
|
# armor_speed_improvement and armor_speed_linear do the same for speed increase. |
220 |
|
|
# default values: 10 and TRUE |
221 |
|
|
|
222 |
|
|
#armor_max_enchant 5 |
223 |
|
|
#armor_weight_reduction 10 |
224 |
|
|
#armor_weight_linear TRUE |
225 |
|
|
#armor_speed_improvement 10 |
226 |
|
|
#armor_speed_linear TRUE |
227 |
|
|
|
228 |
|
|
# disable stealing from other players, if you wish to enable stealing from other players |
229 |
|
|
# then replace the below with: no_player_stealing FALSE |
230 |
pippijn |
1.8 |
no_player_stealing TRUE |
231 |
pippijn |
1.4 |
|
232 |
|
|
# enable creating town portals in homes |
233 |
pippijn |
1.8 |
create_home_portals TRUE |
234 |
|
|
|
235 |
|
|
# location of the log file |
236 |
|
|
logfilename /var/log/crossfire/logfile |