View Single Post
  #22  
Old 12-01-2007, 06:13 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

to make the rules work(or to even compile properly).. need to add them to the rulesys..

Code:
--- ruletypes.h	2007/11/14 06:13:36	1.11
+++ ruletypes.h	2007/12/01 18:11:14	1.12
@@ -84,6 +84,17 @@
 RULE_BOOL (NPC, UseItemBonusesForNonPets, true)
 RULE_CATEGORY_END()
 
+RULE_CATEGORY( Map )
+RULE_BOOL ( Map, FixPathingZAtWaypoints, false )
+RULE_BOOL ( Map, FixPathingZWhenMoving, false )
+RULE_BOOL ( Map, FixPathingZOnSendTo, false )
+RULE_BOOL ( Map, FixPathingZWhenLoading, false )
+RULE_REAL ( Map, FixPathingZMaxDeltaSendTo, 20.0 )
+RULE_REAL ( Map, FixPathingZMaxDeltaLoading, 20.0 )
+RULE_REAL ( Map, FixPathingZMaxDeltaMoving, 20.0 )
+RULE_REAL ( Map, FixPathingZMaxDeltaWaypoint, 20.0 )
+RULE_CATEGORY_END()
+
 #undef RULE_CATEGORY
 #undef RULE_INT
 #undef RULE_REAL
Code:
--- waypoints.cpp	2007/11/30 19:06:27	1.6
+++ waypoints.cpp	2007/12/01 18:11:14	1.7
@@ -31,6 +31,7 @@
 #include "parser.h"
 #include "StringIDs.h"
 #include "../common/MiscFunctions.h"
+#include "../common/rulesys.h"
 #include "features.h"
 
 static inline float ABS(float x) {
Edit:: im not sure if this was already added to the nightly builds or not.. but it wasnt in cvs.
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com

Last edited by Cripp; 12-01-2007 at 02:16 PM..
Reply With Quote