NemesisNeS wrote: ↑Fri Dec 24, 2021 11:04 pm
After some thorough testing and thanks to jmartin for the map...
What's up with jmartin, for my personal curiosity ?
Resuming Editing purpose
After 21 Years of UT, this IS NOT how to add PathNodes, it was generated useless data out of paths-net and more than 6000 ReachSpecs. In edited version which I touched, map is even smaller than original empty one, with only 1107 ReachSpecs added at this moment. All is doable under 2000 ReachSpecs which is under hard-coded value from UE1 at 3000 - Inside Engine with other words.
Code: Select all
UnPath.h: Path node creation and ReachSpec creations and management specific classes
Copyright 1997-1999 Epic Games, Inc. All Rights Reserved.
* Created by Steven Polge 3/97
#define DEBUGGINGPATHS 1 //1 to put path info in log
#define MAXMARKERS 3000 //bound number of turn markers
#define MAXREACHSPECS 3000 //bound number of reachspecs
#define MAXCOMMONRADIUS 70 //max radius to consider in building paths
#define MAXCOMMONHEIGHT 70
#define MINCOMMONHEIGHT 48 //min typical height for non-human intelligent creatures
#define MINCOMMONRADIUS 24 //min typical radius for non-human intelligent creatures
#define COMMONRADIUS 52 //max typical radius of intelligent creatures
#define HUMANRADIUS 18 //normal player pawn radius
#define HUMANHEIGHT 39 //normal playerpawn height
//Reachability flags - using bits to save space
Overloading arrays was never good disregarding usual hands clapping.
- Polge was writing "PlayerPawn" forgetting to explain that human player might crash game if is trying intensive to mess with paths-net in game. UTPG was "fixing" problem by removing that "Test" feature - with other words fixing nothing - they disabled the bug instead of fixing it.
- #define MAXCOMMONRADIUS 70 //max radius to consider in building paths
- I'm sorry for plain Titan which won't ever patrol because Titans are bigger than 70 × 70 (unless you put them on 0.6 DrawScale letting them to self-adjust their cyclinder), having actually 110 × 115 and also being discarded from R_Special paths because they are not that smart as a Skaarj/Bot/Bots.