Difference between revisions of "File:SAPathNodes.png"
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...) |
(Squ1dd13 uploaded a new version of File:SAPathNodes.png) |
||
(One intermediate revision by the same user not shown) | |||
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. | ||
− | < | + | <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 | ||
}; | }; | ||
− | </ | + | </syntaxhighlight> |
Latest revision as of 12:19, 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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 12:19, 20 August 2020 | 1,500 × 1,500 (681 KB) | Squ1dd13 (talk | contribs) | Smaller | |
12:05, 20 August 2020 | 6,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.
File usage
The following page uses this file: