2 // a list of system command that run at server startup.
\r
6 //NegFiltersDebug += { "LNET", "HNET", "FEVIS"};
\r
7 //NegFiltersInfo += { "LNET", "HNET", "VISION_DELTA", "FEIMPE", "FEVIS" };
\r
8 // NegFiltersWarning += { "LNET", "FEHACK", "FERECV"};
\r
9 // NegFiltersWarning += { "positional", "faction", "pet" };
\r
11 //////////////////////////////////////////////////////////////////////////////
\r
12 //- Basic (specific) heal profile parameters ---------------------------------
\r
13 // Downtime for normal heal (on other bots of the group)
\r
14 HealSpecificDowntime = 100;
\r
15 // Downtime for self heal
\r
16 HealSpecificDowntimeSelf = 100;
\r
17 //////////////////////////////////////////////////////////////////////////////
\r
19 // Disable caching of ligo primitive in binary files
\r
23 // do not log the corrected position.
\r
24 LogAcceptablePos = 0;
\r
25 // do not log group creation failure
\r
26 LogGroupCreationFailure = 0;
\r
27 // do not log aliad tree owner construstion.
\r
28 LogAliasTreeOwner = 0;
\r
29 // do not log outpost info
\r
30 LogOutpostDebug = 0;
\r
31 // Speed factor, for debug purpose only. Don't set to high speed factor !
\r
33 // Speep up the timer triggering. Set a value between 1 (normal) and INT_MAX.
\r
36 // Default timer for wander behavior
\r
37 DefaultWanderMinTimer = 50; // 5s
\r
38 DefaultWanderMaxTimer = 100; // 10s
\r
40 // Fame and guard behavior
\r
41 // Fame value under witch the guard attack the player in sigth
\r
42 FameForGuardAttack = -450000;
\r
43 // The minimum of fame for guard to help the player
\r
44 FameForGuardHelp = -200000;
\r
46 // The default aggro distance for NPC
\r
47 DefaultNpcAggroDist = 15;
\r
48 // The default escort range for escort behavior
\r
49 DefaultEscortRange = 10;
\r
51 //////////////////////////////////////////////////////////////////////////////
\r
53 //////////////////////////////////////////////////////////////////////////////
\r
54 AggroReturnDistCheck = 15.0;
\r
55 AggroReturnDistCheckFauna = 15.0;
\r
56 AggroReturnDistCheckNpc = 1.5;
\r
57 AggroD1Radius = 250.0;
\r
58 AggroD2Radius = 150.0;
\r
59 AggroPrimaryGroupDist = 0.0;
\r
60 AggroPrimaryGroupCoef = 0.0;
\r
61 AggroSecondaryGroupDist = 0.0;
\r
62 AggroSecondaryGroupCoef = 0.0;
\r
63 AggroPropagationRadius = 60.0;
\r
68 // used mainly in event handlers to determine to which groups events apply
\r
69 KeywordsGroupNpc = {
\r
71 "patrol", // a group of bots who guard a patrol route or point
\r
72 "convoy", // a group with pack animals who follow roads from place to place
\r
73 "with_players", // a group who may travel with players
\r
77 // used mainly in npc_state_profile to determine which ai profiles to assign to which bots
\r
80 "team_leader", // a bot who leads the way in front of their team (and acts as leader
\r
81 // in discussion with players)
\r
82 "animal_leader", // a bot who leads pack animals
\r
83 "guard", // a bot who is a guard of some sort (eg karavan guard)
\r
84 "emissary", // eg karavan emissary
\r
85 "preacher", // eg kami preacher
\r
86 "guardian", // typically kami guardians
\r
87 "vip", // someone who has an escort of players or NPCs (assumed to be harmless)
\r
91 // used mainly in event handlers to determine to which state events apply
\r
92 // eg: when a player goes link dead if the team that this player is escorting
\r
93 // is in a dangerous area the team may enter a 'protect ourselves and wait for
\r
94 // players' punctual state
\r
95 KeywordsStateNpc = {
\r
97 "safe", // eg the gathering point at town entrance
\r
98 "dangerous", // eg a route through the wilds
\r
117 StartCommandsWhenMirrorReady = {
\r
120 //---------------------------------------------------------
\r
121 // commands for multi IA configuration
\r
122 // For multi IA config, use the -m command line switch folowed
\r
123 // by a semicolon separated list of command block to run.
\r
125 // -mCommon:Matis:Post
\r
126 // will execute the folowing command blocks in order :
\r
127 // * StartCommandsWhenMirrorReadyCommon
\r
128 // * StartCommandsWhenMirrorReadyMatis
\r
129 // * StartCommandsWhenMirrorReadyPost
\r
130 //---------------------------------------------------------
\r
131 // common commands before loading continents
\r
132 StartCommandsWhenMirrorReadyCommon =
\r
134 "RandomPosMaxRetry 6400",
\r
135 "fightRangeRange 4 60",
\r
136 "LogOutpostDebug 1",
\r
137 "grpHistoryRecordLog",
\r
139 "verboseAIProfiles",
\r
140 "verboseAliasNodeTreeParserLog",
\r
141 "verboseCombatLog",
\r
142 "verboseFaunaMgrLog",
\r
143 "verboseFaunaParseLog",
\r
144 "verboseNPCBotProfiles",
\r
145 "verboseNPCMgrLog",
\r
146 "verboseNPCParserLog",
\r
147 "verboseNpcDescriptionMsgLog",
\r
148 "verbosePrimitiveParserLog",
\r
149 // "verboseSwitchMultipleChangesOfAProperty",
\r
153 // commands for indoors continent
\r
154 StartCommandsWhenMirrorReadyIndoors =
\r
156 "loadContinent indoors",
\r
157 "createStaticAIInstance indoors",
\r
158 "loadMapsFromCommon indoors_all",
\r
161 // commands for Matis continent
\r
162 StartCommandsWhenMirrorReadyMatis =
\r
164 "loadContinent matis",
\r
165 "createStaticAIInstance matis",
\r
166 "loadMapsFromCommon matis_all",
\r
169 // commands for Matis newbie continent
\r
170 StartCommandsWhenMirrorReadyMatisNewbie =
\r
172 "loadContinent matis",
\r
173 "createStaticAIInstance matis_newbie",
\r
174 "loadMapsFromCommon matis_newbie_all",
\r
177 // commands for Zorai continent
\r
178 StartCommandsWhenMirrorReadyZorai =
\r
180 "loadContinent zorai",
\r
181 "createStaticAIInstance zorai",
\r
182 "loadMapsFromCommon zorai_all",
\r
185 // commands for Zorai newbie continent
\r
186 StartCommandsWhenMirrorReadyZoraiNewbie =
\r
188 "loadContinent zorai",
\r
189 "createStaticAIInstance zorai_newbie",
\r
190 "loadMapsFromCommon zorai_newbie_all",
\r
193 // commands for Fyros continent
\r
194 StartCommandsWhenMirrorReadyFyros =
\r
196 "loadContinent fyros",
\r
197 "createStaticAIInstance fyros",
\r
198 "loadMapsFromCommon fyros_all",
\r
201 // commands for Fyros newbie continent
\r
202 StartCommandsWhenMirrorReadyFyrosNewbie =
\r
204 "loadContinent fyros_newbie",
\r
205 "createStaticAIInstance fyros_newbie",
\r
206 "loadMapsFromCommon fyros_newbie_all",
\r
209 // commands for Tryker continent
\r
210 StartCommandsWhenMirrorReadyTryker =
\r
212 "loadContinent tryker",
\r
213 "createStaticAIInstance tryker",
\r
214 "loadMapsFromCommon tryker_all",
\r
217 // commands for Tryker newbie continent
\r
218 StartCommandsWhenMirrorReadyTrykerNewbie =
\r
220 "loadContinent tryker_newbie",
\r
221 "createStaticAIInstance tryker_newbie",
\r
222 "loadMapsFromCommon tryker_newbie_all",
\r
225 // commands for bagne continents
\r
226 StartCommandsWhenMirrorReadyBagne =
\r
228 "loadContinent bagne",
\r
229 "createStaticAIInstance bagne",
\r
230 "loadMapsFromCommon bagne_all",
\r
233 StartCommandsWhenMirrorReadyNexus =
\r
235 "loadContinent nexus",
\r
236 "createStaticAIInstance nexus",
\r
237 "loadMapsFromCommon nexus_all",
\r
240 StartCommandsWhenMirrorReadyRouteGouffre =
\r
242 "loadContinent route_gouffre",
\r
243 "createStaticAIInstance route_gouffre",
\r
244 "loadMapsFromCommon route_gouffre_all",
\r
247 StartCommandsWhenMirrorReadySources =
\r
249 "loadContinent sources_interdites",
\r
250 "createStaticAIInstance sources",
\r
251 "loadMapsFromCommon sources_all",
\r
254 StartCommandsWhenMirrorReadyTerre =
\r
256 "loadContinent terre_oubliee",
\r
257 "createStaticAIInstance terre",
\r
258 "loadMapsFromCommon terre_all",
\r
261 // commands for Fyros Island continent
\r
262 StartCommandsWhenMirrorReadyFyrosIsland =
\r
264 "loadContinent fyros_island",
\r
265 "createStaticAIInstance fyros_island",
\r
266 "loadMapsFromCommon fyros_island_all",
\r
269 // commands for Zorai Island continent
\r
270 StartCommandsWhenMirrorReadyZoraiIsland =
\r
272 "loadContinent zorai_island",
\r
273 "createStaticAIInstance zorai_island",
\r
274 "loadMapsFromCommon zorai_island_all",
\r
277 // commands for Tryker Island continent
\r
278 StartCommandsWhenMirrorReadyTrykerIsland =
\r
280 "loadContinent tryker_island",
\r
281 "createStaticAIInstance tryker_island",
\r
282 "loadMapsFromCommon tryker_island_all",
\r
285 // commands for Matis island continent
\r
286 StartCommandsWhenMirrorReadyMatisIsland =
\r
288 "loadContinent matis_island",
\r
289 "createStaticAIInstance matis_island",
\r
290 "loadMapsFromCommon matis_island_all",
\r
293 // commands for Newbieland continent
\r
294 StartCommandsWhenMirrorReadyNewbieland =
\r
296 "loadContinent newbieland",
\r
297 "createStaticAIInstance newbieland",
\r
298 "loadMapsFromCommon newbieland_all",
\r
301 // commands for Kitiniere continent
\r
302 StartCommandsWhenMirrorReadyKitiniere =
\r
304 "loadContinent kitiniere",
\r
305 "createStaticAIInstance kitiniere",
\r
306 "loadMapsFromCommon kitiniere_all",
\r
309 // commands for post continents loading
\r
310 StartCommandsWhenMirrorReadyPost =
\r
318 // commands for Ring continents
\r
319 StartCommandsWhenMirrorReadyRing =
\r
321 "loadContinent r2_desert",
\r
322 "createDynamicAIInstance 10000",
\r
323 "loadPrimitiveFile dummy.primitive",
\r
325 // "loadContinent r2_forest",
\r
326 // "createDynamicAIInstance 10001",
\r
327 // "loadPrimitiveFile dummy.primitive",
\r
329 // "loadContinent r2_lakes",
\r
330 // "createDynamicAIInstance 10003",
\r
331 // "loadPrimitiveFile dummy.primitive",
\r
333 // "loadContinent r2_jungle",
\r
334 // "createDynamicAIInstance 10002",
\r
335 // "loadPrimitiveFile dummy.primitive",
\r
337 // "loadContinent r2_roots",
\r
338 // "createDynamicAIInstance 10004",
\r
339 // "loadPrimitiveFile dummy.primitive",
\r
341 // "spawnInstances",
\r
345 // L5 connect to the shard unifier
\r
346 "unifiedNetwork.addService ShardUnifier ( address="+SUAddress+" sendId external autoRetry )",
\r
348 // Create a shard AIS Module
\r
349 "moduleManager.createModule AisControl ais",
\r