April 18, 2019, 10:40:24 pm

News:

GP Bikes beta15b available!

LCD, Analog gauge and 1p view camera!

Started by Blackheart, April 23, 2016, 09:47:48 am

Blackheart

April 23, 2016, 09:47:48 amLast Edit: April 23, 2016, 09:49:46 am by Blackheart
LCD

I need to create an LCD that indicates the speed and gear, but I have not figured out how to do, I created a texture called "lcd" took the coordinates from photoshop and tried to use the fonts of a default bike (are just black images?  ) but i see nothing.

Anyone can pass a test files or explain how to do it the easy way?

Analog gauge

Same problem above and;

Quotegauges
{
scene = 0
rpm_analog
{
enable = 1
needle = rpmneedle
axis = y-
step0value = 5000
step0angle = 0
step1value = 17000
step1angle = -225

Scene? I've to create the needle? where are the coordinates? what are the steps? I do not understand anything!

Camera

Where i can change the position of the 1p view camera?

Help me pls!

h106frp

April 23, 2016, 10:15:18 am #1
Camera is set in the geom file, its the rider view ones

needle=rpmneedle; rpmneedle should be the 3D object name

axis=y-; should be the same as the local axis of the needle object i.e. it should match the inclination of the dial so rotate objects carefully, its also the direction it rotates in. Once dorrect it should rotate in your 3D app the same way. Angles and values just set the rpm start/stop equivalent in degrees

your texture name in 3D app, texture tga name and declaration in .cfg all need to be the same - again the local co-ords need to be 'plane' to the draw surface

Blackheart

April 23, 2016, 10:39:29 am #2
Ty now i try again

h106frp

April 23, 2016, 10:59:01 am #3
Check PM, sent you a file

Blackheart

April 23, 2016, 12:35:27 pm #4
Very useful to see the proper orientation of the axes, in my first attempt, the needle moved on the contrary

for the LCD I still have doubts, perhaps now I think only to analog instruments

Blackheart

April 26, 2016, 07:19:43 pm #5
Guys can u make a list with analog instruments supported by gbp? I know the rpm and water temp.

And above all, how to create a lcd onboard for speed and gear?

h106frp

April 26, 2016, 07:58:23 pm #6
oil pressure has been mentioned but you will need to experiment to find 'names'

Blackheart

April 26, 2016, 08:11:43 pm #7
Quote from: h106frp on April 26, 2016, 07:58:23 pm
oil pressure has been mentioned but you will need to experiment to find 'names'

Need a bike with this