• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 28, 2024, 10:05:24 AM

News:

World Racing Series beta14 available! :)


Dashboard + Core.exe [SOLVED]

Started by Manu, December 08, 2016, 06:31:26 PM

Previous topic - Next topic

Manu

December 08, 2016, 06:31:26 PM Last Edit: December 09, 2016, 04:27:54 PM by Manu
@Piboso

I'm having problems when creating a custom dashboard. The dashboard in question contains a rpm needle plus a digital display containing the gears, speed and an additional rpm.spr for the rpm.

http://www.youtube.com/v/eqJDh6zUdOM

If I try to put everything together the game closes when going to track (core.exe) but if I remove the rpm.spr and let the rest (and vice versa) work properly .

Is there any limitation to creating a dashboard?


        gauges
{
scene = 0
rpm_analog
{
enable = 1
needle = rpmneedle
axis = y-
step0value = 0
step0angle = 0
step1value = 16000
step1angle = -222
}
lcd
{
enable = 1
texture = w_dash
emission = 0.5

screen0
{
enable = 1
rpm_graph
{
enable = 1
sprite = rpm.spr
min = 0
max = 16000
}
gear
{
enable = 1
spacing = 34
font = gear_font.tga
fontstring = 0123456789N
posx = 264
posy = 184
}
speed
{
enable = 1
spacing = 34
font = speed_font.tga
fontstring = 0123456789
posx = 325
posy = 302
padding = 3
}
}
}
}


SOLVED! The rpm.spr was too large. I've made it less complex and using split and splitpos in the .gfx


                                rpm_graph
{
enable = 1
sprite = rpm.spr
min = 0
max = 16000
split = 6000
splitpos = 0.57
It's Easier to Fool People Than It Is to Convince Them That They Have Been Fooled.

Manu

It's Easier to Fool People Than It Is to Convince Them That They Have Been Fooled.

tchemi

Manu is working on a H2R guys  8) ::)

Manu

December 09, 2016, 04:28:00 PM #3 Last Edit: December 09, 2016, 04:46:49 PM by Manu
SOLVED! The rpm.spr was too large. I've made it less complex and using split and splitpos in the .gfx


                                rpm_graph
{
enable = 1
sprite = rpm.spr
min = 0
max = 16000
split = 6000
splitpos = 0.57


https://www.youtube.com/v/xWOBCNPFtik
It's Easier to Fool People Than It Is to Convince Them That They Have Been Fooled.

iVolution

Nice work on the dash Manu! I hope Gpbikes allows you to put the turbo whistle in as well, would add a lot to the authenticity i guess

HornetMaX

Quote from: iVolution on December 11, 2016, 05:29:57 PM
Nice work on the dash Manu! I hope Gpbikes allows you to put the turbo whistle in as well, would add a lot to the authenticity i guess
It shouldn't be too hard I think, it's just rpm driven.

But technically it's not a turbo, just a supercharger :)