Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Using the A7 Car_project template #240051
12/09/08 01:43
12/09/08 01:43
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Hey, I am using the Car_project template that came with A7 and i am trying to get my vehicle to act like its driving on snow. I don't want it to roll over at all. I would like it to be like real life where if you are going fast and try to stop you start sliding and have little control over steering. And When you go slow and brake you have complete control over the car and little to no sliding. Can someone please help me with finding the exact values on the PlCar01 action. Thanks the help would be greatly appreciated.

Re: Using the A7 Car_project template [Re: xbox] #244821
01/07/09 01:22
01/07/09 01:22
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
No hits?

Re: Using the A7 Car_project template [Re: xbox] #245635
01/10/09 23:44
01/10/09 23:44
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Oh c'mon, nothing?

Re: Using the A7 Car_project template [Re: xbox] #245783
01/11/09 21:45
01/11/09 21:45
Joined: Jan 2006
Posts: 53
New Jersey, USA
J
jimc74 Offline
Junior Member
jimc74  Offline
Junior Member
J

Joined: Jan 2006
Posts: 53
New Jersey, USA
The way I would go about doing it:

1- make certain areas slippery
(almost like a collision detection - try to
detect through progrmamming certain areas)


2- there is a command in the physics where you
can change the friction (in the middle of
the game, too!)

I think it is: ph_setfriction.
do this to the tires.

You can also change the friction
based on the speed of a car (if it is
going a certain slow speed, give it
more friction, if it is going fast,
reduce friction a little)....

Also, I wouldn't use the PlCar01, because you would
manually have to add each vehicle.

I would go to the Wiki and download the newer car physics
that someone made
(although I discoveres 3 problems, it never seemed to get out
of beta - but I figured it out and got it working after about
10-15 hours worth of work)


-Jimc74

Re: Using the A7 Car_project template [Re: jimc74] #245802
01/12/09 01:30
01/12/09 01:30
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Thank you so much for your reply. I did what you said and went to the Wiki and downloaded the UPDATED Version, and It worked amazingly. If you would, could you please write a piece of code that would tell the car not to roll over? If not its okay but thank you so much for this code i really appreciate it.

Re: Using the A7 Car_project template [Re: xbox] #245809
01/12/09 03:34
01/12/09 03:34
Joined: Jan 2006
Posts: 53
New Jersey, USA
J
jimc74 Offline
Junior Member
jimc74  Offline
Junior Member
J

Joined: Jan 2006
Posts: 53
New Jersey, USA
I am not familiar with that one. ( i think I used
a different one)
Can you use more than 1 car with the updated one?

I think it would be really hard just to write
code not to tell it to roll over... I think you
just have to mess around with the physic settings
(I never had my vehicles rolling over.... they just
slide everywhere)... But if you know you are sliding,
you can change certain settings (not easy, but it is good
to learn how to use the physics)... like changing gravity, friction,
etc.

by the way, if you ever need to "reset" a vehicle, it is rather
easy... just disable the chassis and tires, move everything
somewhere (and change the pan, tilt, roll), and restart the
physics for the objects....

-Jimc

Last edited by jimc74; 01/12/09 03:40.
Re: Using the A7 Car_project template [Re: jimc74] #245811
01/12/09 03:38
01/12/09 03:38
Joined: Jan 2006
Posts: 53
New Jersey, USA
J
jimc74 Offline
Junior Member
jimc74  Offline
Junior Member
J

Joined: Jan 2006
Posts: 53
New Jersey, USA
opps... that would be

phent_setfriction, not ph_setfriction...


if you are having too much trouble, I can just send you
my code (I spent over a year with it....) so I can
send you what I did so far
(there were times I wanted to give up...)
Eventually it got really easy for me
after a while, though...


-Jimc74
jimowencassidy74@yahoo.com





Last edited by jimc74; 01/12/09 03:39.
Re: Using the A7 Car_project template [Re: jimc74] #247393
01/20/09 17:05
01/20/09 17:05
Joined: Nov 2008
Posts: 41
????????????
D
Dansta Offline
Newbie
Dansta  Offline
Newbie
D

Joined: Nov 2008
Posts: 41
????????????
can u give me the link for the things 2 download plz jimc74?


Mmmmmmmmmmmmmmmmmmmmmm...Donuts!!!
Re: Using the A7 Car_project template [Re: Dansta] #247405
01/20/09 17:32
01/20/09 17:32
Joined: Jun 2008
Posts: 146
London
T
Truth Offline
Member
Truth  Offline
Member
T

Joined: Jun 2008
Posts: 146
London
Can i have a link too, my car hardly moves!

Re: Using the A7 Car_project template [Re: Truth] #247431
01/20/09 20:47
01/20/09 20:47
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
I know im not the user you wanted but here is the link, CLICK. Just scroll down to the UPDATED VERSION and read the comments to see how to use it. I know you have to put one of the functions in main.

cheers

Page 1 of 2 1 2

Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1