bug? Lite-C car template in A8

Posted By: sitrep

bug? Lite-C car template in A8 - 04/29/15 17:20

I have followed all the instructions on A8 car template.

I loaded race track from AUM 90, and I am using the templates which are created with the new physics in the Lite-C template.

The Good: I got the player car running, and the rearview mirror working.

The bad: Once the AI cars go to the starting line , there is no sound for start, semaphor, and AI cars don't run. if I drive through the finish line, I don't see my time.

I have read and reread, and read the manual.

Ugly: could this possibly be a bug ?

I realize most people here are interested and FPS(which is cool), but hopefully someone can shed some light on this A8 issue.

Best Regards,


SitRep
Posted By: Anonymous

Re: bug? Lite-C car template in A8 - 04/29/15 18:05

Quote:
I realize most people here are interested and FPS(which is cool), but hopefully someone can shed some light on this A8 issue.

<--- Is not at all interested

The track and set up from AUM 90 is for the A7 not the A8

This is not likely a bug. However it's Physics stuff so I can't help. You need to be able to read and understand the code you are using to find issues with the code or your implementation of it.

Use the current template from the gs folders and build a new track following the current design methods, that's my best advice.
Posted By: sitrep

Re: bug? Lite-C car template in A8 - 04/29/15 18:32

Mal,

Hey man I appreciate the input. I do realize that its originally for A7.

I am only using the Race track from Aum90.

Actual code in my Proj folder is copied from new A8 templates with the new Physics.

If i load up a different terrain, my player car falls through the floor.

perhaps I am so deep in the forest I can't see the trees.

Thanks
Posted By: Reconnoiter

Re: bug? Lite-C car template in A8 - 04/29/15 19:23

Quote:
If i load up a different terrain, my player car falls through the floor.
, increase the car z when you create it, that probably works. Otherwise the template maybe has a bug in the collision system. But those are only wild quesses since I personally never used these templates.
Posted By: Anonymous

Re: bug? Lite-C car template in A8 - 04/29/15 19:26

Actual it sounds like the terrain is not a collision object for the physic system.
Posted By: DLively

Re: bug? Lite-C car template in A8 - 04/29/15 19:31

A working demo can be downloaded here:
http://www.devonlively.com/3dgs-demos.php
Posted By: 3run

Re: bug? Lite-C car template in A8 - 04/29/15 19:36

Originally Posted By: Malice
Actual it sounds like the terrain is not a collision object for the physic system.
Guys make sure that you don't scale your terrains! Native physX plugin won't work correct if you have scaled terrain, you need to scale it in MED. Also, it has to be registerd as a static object with poly collusion hull (I think this one is obvious).

Greets
Posted By: sitrep

Re: bug? Lite-C car template in A8 - 04/29/15 20:20

Is that a working demo with timer, semphor, and Ai cars moving?

I got the car running from templates, but the other is where I'm stuck
Posted By: 3run

Re: bug? Lite-C car template in A8 - 04/29/15 22:03

Originally Posted By: sitrep
Once the AI cars go to the starting line , there is no sound for start, semaphor, and AI cars don't run. if I drive through the finish line, I don't see my time.
Of course it's not a bug. I'll upload tomorrow working versions of AI (one from car template AUM 90 and another one from AUM 37).

greets
Posted By: 3run

Re: bug? Lite-C car template in A8 - 04/30/15 11:51

First of all, I hate templates, and I STRONGLY recommend to do not use them! They simply suck (the only one I really LOVE is the multiplayer template created by Superku). They are very good to learn from, but they do not fit any playable projects! So I suggest you take a look at the code and workshops, to understand how things work and create something on your own!

About those two demos (AUM90 and AUM37), I've mixed them together to get more or less good looking results, with AI finishing the lap and at the end of the race showing up results with the lap time. So note that demo is pretty basic (and not made to be used in your games, but more for learning purpose!), everything is the same as in the original code (no collusion for cars between each other etc...). BTW, AI cars never user physics engine, only the player's car did (in all car workshops and templates around the forum). So that's why you can notice some strange collusion issues in templates.

So here is the demo:
http://www.filedropper.com/carai

Screen:


Originally Posted By: sitrep
Is that a working demo with timer, semphor, and Ai cars moving?

I got the car running from templates, but the other is where I'm stuck
Take a look at this:
PhysX-based car and AI traffic cars
Note: download link is down, but you can easily download it from AUM 101 under 'Hot at the forum' section (don't forget thanks painkiller for such an awesome contribution).

Greets

Edit: I can suggest you to take a look at the source code of Ackmania. It's one of the best racing cars around the forum! But I'm pretty sure the code is too complex for newbie, but don't give up, it worth a try!
Posted By: sitrep

Re: bug? Lite-C car template in A8 - 04/30/15 18:45

Hey you guys,

thanks !!!

Really appreciate your posts and suggestions.

when I get up to speed I look forward to contributing also.
© 2024 lite-C Forums