How to select a custom made puna ball?

Discussion related to Turbo Sliders and beta version feedback.

Moderator: Forum Moderators

Post Reply
Jeffrey
Community User Level: 3
Community User Level: 3
Posts: 432
Joined: Sun Jan 08, 2006 12:57 pm
Contact:

How to select a custom made puna ball?

Post by Jeffrey » Wed Apr 19, 2006 8:29 am

I ve created a new puna ball named soccerball.png, by problem is how to use it. Because always the default one is comming up.

Thanks

Tijny
Community User Level: 5
Community User Level: 5
Posts: 1514
Joined: Sat Nov 06, 2004 7:59 pm

Re: How to select a custom made puna ball?

Post by Tijny » Wed Apr 19, 2006 8:44 am

Jeffrey wrote:I ve created a new puna ball named soccerball.png, by problem is how to use it. Because always the default one is comming up.

Thanks
First you need to make a .car-file with 'Ball 1' in its car definition. Then you change the BallCarType value in sliders.ini (PunaBall by default) to whatever name you gave to your ball. If this doesn't work, I don't know what will. :)

Jeffrey
Community User Level: 3
Community User Level: 3
Posts: 432
Joined: Sun Jan 08, 2006 12:57 pm
Contact:

Post by Jeffrey » Wed Apr 19, 2006 9:09 am

it does n't work that way :(

Tijny
Community User Level: 5
Community User Level: 5
Posts: 1514
Joined: Sat Nov 06, 2004 7:59 pm

Post by Tijny » Wed Apr 19, 2006 9:16 am

That's weird. Can you post the contents of your new .car file here so I can see what's wrong?

Punatiainen
Community User Level: 1
Community User Level: 1
Posts: 97
Joined: Fri Nov 19, 2004 3:49 pm
Contact:

Post by Punatiainen » Wed Apr 19, 2006 11:05 am

Have you changed the name of the ball to something different?

The name is in line 2 if i remember correctly, like Ball or PunaBall.
Change that to something like Je_Ball etc.

Jeffrey
Community User Level: 3
Community User Level: 3
Posts: 432
Joined: Sun Jan 08, 2006 12:57 pm
Contact:

Post by Jeffrey » Wed Apr 19, 2006 1:00 pm

It worked! I left the same name punaball instead of soccerball. Thanks.

So the only way to change the ball is from sliders.ini right? Is there any command for this while running server?

Car
SoccerBall
description 1
Soccer Ball by Jeffrey
ball 1
acceleration 100
enginefriction 0
viscosity 0.60
nonslidesector 5
slidebraking 0
slidedeceleration 0
braking 50
steering 2.5
elasticity 1
grip 1
weight 1.5
mask punaball-pat.png 0 0 32 32
image soccerball.png 0 0 32 32 2
tire 11.5 22.0
tire 20.5 22.0
enginesample silence.wav
End

User avatar
Ande
Game Developer
Game Developer
Posts: 487
Joined: Thu Oct 14, 2004 9:43 pm

Post by Ande » Wed Apr 19, 2006 3:05 pm

Jeffrey wrote: So the only way to change the ball is from sliders.ini right? Is there any command for this while running server?
Unfortunately there is no server command for that. However, you can specify the default ball for a track by putting the ball name after PunaBallTrack in the trk file.

Post Reply