Difference between revisions of "File:SAPathNodes.png"

From GTAMods Wiki
Jump to navigation Jump to search
(This is an image representing path nodes for land vehicles in GTA: SA. The colours of each node (zoom in to see them) indicate certain attributes of that node. Refer to the below code to see how. <code> int[] cols = new int[] { flags.isHighwayNode...)
 
m (Formatted code)
Line 2: Line 2:
 
This is an image representing path nodes for land vehicles in GTA: SA. The colours of each node (zoom in to see them) indicate certain attributes of that node. Refer to the below code to see how.
 
This is an image representing path nodes for land vehicles in GTA: SA. The colours of each node (zoom in to see them) indicate certain attributes of that node. Refer to the below code to see how.
  
<code>
+
<syntaxhighlight lang="java">
 
int[] cols = new int[] {
 
int[] cols = new int[] {
 
     flags.isHighwayNode()        ?  Color.BLUE.getRGB()  : Color.RED.getRGB(),
 
     flags.isHighwayNode()        ?  Color.BLUE.getRGB()  : Color.RED.getRGB(),
Line 9: Line 9:
 
     flags.isRoadblockNode()      ?  Color.PINK.getRGB()  : 0
 
     flags.isRoadblockNode()      ?  Color.PINK.getRGB()  : 0
 
};
 
};
</code>
+
</syntaxhighlight>

Revision as of 12:06, 20 August 2020

Summary

This is an image representing path nodes for land vehicles in GTA: SA. The colours of each node (zoom in to see them) indicate certain attributes of that node. Refer to the below code to see how.

int[] cols = new int[] {
    flags.isHighwayNode()        ?  Color.BLUE.getRGB()   : Color.RED.getRGB(),
    flags.getSpawnLevel() != 15  ?  Color.GREEN.getRGB()  : 0,
    node.width()          != 0   ?  Color.ORANGE.getRGB() : 0,
    flags.isRoadblockNode()      ?  Color.PINK.getRGB()   : 0
};

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:19, 20 August 2020Thumbnail for version as of 12:19, 20 August 20201,500 × 1,500 (681 KB)Squ1dd13 (talk | contribs)Smaller
12:05, 20 August 2020Thumbnail for version as of 12:05, 20 August 20206,000 × 6,000 (980 KB)Squ1dd13 (talk | contribs)This is an image representing path nodes for land vehicles in GTA: SA. The colours of each node (zoom in to see them) indicate certain attributes of that node. Refer to the below code to see how. <code> int[] cols = new int[] { flags.isHighwayNode...
  • You cannot overwrite this file.

The following page uses this file:

Metadata