I took some code from the Holoemitter, High-speed Ranger and the Console Screen, put it together and managed to make a High-speed Holoemitter.
The structure of it's memory:
Offset - Meaning
0 - 1 = Active
1 - If you press 'use' on a point, its number will be put here
2 - Point size
3 - Flags - bit 0 = show beam, bit 1 = use GPS coords, bit 2 = individual color for each point
4 - Number of points
5..2047 - Point data, format depending on the mode
All points in one color mode:
5 - point 1 X
6 - point 1 Y
7 - point 1 Z
8 - point 2 X
... etc, you get the idea.
Individual colors mode:
5 - point 1 X
6 - point 1 Y
7 - point 1 Z
8 - point 1 Red
9 - point 1 Green
10 - point 1 Blue
11 - point 1 Alpha
12 - point 2 X
...
Also, there are 2 inputs: "Active" and "Reset". "Active" works like byte 0. If you input 1 to the "Reset" input, it will put 0 to byte 4, making the holoemitter display nothing.
Maximum is 681 points, but it gets pretty laggy then, as the points don't fade, so be careful with what you are drawing.
I was creating it in my UWSVN directory, hence the structure of the attachment, ready to put into UWSVN if someone would like to do it.
Hope you like it
Thanks to Lord Wagener for the idea and the code for changing byte 3 into flags and individual color mode.
EDIT: I removed the attachment, the most recent version is in the UWSVN.


LinkBack URL
About LinkBacks








Reply With Quote
. It's making HoloEmitter more useable 





Bookmarks