27 lines
637 B
Ucode
27 lines
637 B
Ucode
//=============================================================================
|
|
// RoadPathNode
|
|
// Useful for vehicles, particularly on terrain
|
|
//=============================================================================
|
|
|
|
#exec Texture Import File=Textures\Road.tga Name=S_RoadPath Mips=Off MASKED=1
|
|
|
|
class RoadPathNode extends PathNode
|
|
native;
|
|
|
|
var() float MaxRoadDist;
|
|
|
|
cpptext
|
|
{
|
|
INT ProscribedPathTo(ANavigationPoint *Nav);
|
|
UBOOL ReviewPath(APawn* Scout);
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
Texture=S_RoadPath
|
|
SoundVolume=128
|
|
DrawScale=+0.4
|
|
bVehicleDestination=true
|
|
MaxRoadDist=+10000.0
|
|
}
|