PiBoSo Official Forum

GP Bikes => Mods => Topic started by: Blackheart on April 23, 2016, 09:47:48 AM

Title: LCD, Analog gauge and 1p view camera!
Post by: Blackheart on April 23, 2016, 09:47:48 AM
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!  ;D ;D ;D

Camera

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

Help me pls!  :-[
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: h106frp on April 23, 2016, 10:15:18 AM
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
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: Blackheart on April 23, 2016, 10:39:29 AM
Ty now i try again  :P
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: h106frp on April 23, 2016, 10:59:01 AM
Check PM, sent you a file  :)
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: Blackheart on April 23, 2016, 12:35:27 PM
Very useful to see the proper orientation of the axes, in my first attempt, the needle moved on the contrary  ;D

for the LCD I still have doubts, perhaps now I think only to analog instruments  ;D
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: Blackheart on April 26, 2016, 07:19:43 PM
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?
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: h106frp on April 26, 2016, 07:58:23 PM
oil pressure has been mentioned but you will need to experiment to find 'names'
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: Blackheart on April 26, 2016, 08:11:43 PM
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  ;D
Title: Re: LCD, Analog gauge and 1p view camera!
Post by: h106frp on April 26, 2016, 08:16:09 PM
Check your PM  :)

The key is probably oil_analog, oilpressure_analog or oil_analog  ... you get the idea  ;)