Problems with realistic car script...
|
Michal Milosz
Amateur Piercer
Join date: 22 Oct 2005
Posts: 73
|
11-09-2005 08:20
I have a problem with the "realistic car script". I tried to build a simple, six-prim car just to check how does it work, but it simply doesn't. I have a plank for a "root prim" with base script attached, four cylinders for wheels - two front, two rear and a box for a seat, all scripted and ready to go. Then I link the whole stuff and... Nothing. Nada. Zilch. That piece of junk stands motionless and doesn't even have a "Release Controls" button. Where did I go wrong?
_____________________
Michal Milosz The New Guy. *whip crack*
|
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
|
11-09-2005 11:11
is the script in the root prim and running? (the running check box checked) I have doh moments all the time when I'm troubleshooting just to find that one of the scripts isn't even running, takes me like 20 min to find too as my brain refuses to realize that the check box even EXISTS 
|
Michal Milosz
Amateur Piercer
Join date: 22 Oct 2005
Posts: 73
|
11-10-2005 08:56
In the root prim... What checkbox?! Jeeeesus, what a mess... Graagh.
_____________________
Michal Milosz The New Guy. *whip crack*
|
Zapoteth Zaius
Is back
Join date: 14 Feb 2004
Posts: 5,634
|
11-10-2005 08:59
From: Michal Milosz In the root prim... What checkbox?! Jeeeesus, what a mess... Graagh. Root prim is the last linked prim of everything that is linked, which should be your driving seat.. So.. Is the last object you linked (by shift clicking all the others first, then the one you want to be root prim), is it your drivers seat.. If so does your drivers seat have the script in it.. If so, is the script running (using the "running" checkbox when you open the script by double clicking it).. 
_____________________
I have the right to remain silent. Anything I say will be misquoted and used against me.--------------- Zapoteth Designs, Temotu (100,50)--------------- 
|
Zapoteth Zaius
Is back
Join date: 14 Feb 2004
Posts: 5,634
|
11-10-2005 09:02
Just re read and got what you were asking.. The running check box is inside the script when you open it, on the script window.. Make sure its checked or the script'll be in active..
_____________________
I have the right to remain silent. Anything I say will be misquoted and used against me.--------------- Zapoteth Designs, Temotu (100,50)--------------- 
|
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
|
11-10-2005 10:52
also . . . if that all checks out . . . make sure you are under 31? prims. The built in vehicle stuff doesn't work with a too-many-prim object.
|
Aerolithe Mechanique
Registered User
Join date: 14 Jun 2005
Posts: 21
|
11-10-2005 11:57
I don't remember off hand, but does the script actually set the object as physical? I remember a few of the freebie ones didn't do so. you may want to manually set the object as physical in the object edit pane, and see if it works then.
|
Michal Milosz
Amateur Piercer
Join date: 22 Oct 2005
Posts: 73
|
11-15-2005 12:09
No, no and no. "Running" box was checked. Vehicle was physical. Still nothing. Bugged or what?
_____________________
Michal Milosz The New Guy. *whip crack*
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
11-15-2005 12:46
were you sitting on it when you reset the script? if so stand up and sit down on it again
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Aerolithe Mechanique
Registered User
Join date: 14 Jun 2005
Posts: 21
|
11-16-2005 04:06
how is the root prim oriented? that script assumes that the positive X axis of the root prim should be pointing towards the front of the "car"
|
Michal Milosz
Amateur Piercer
Join date: 22 Oct 2005
Posts: 73
|
11-20-2005 11:21
No, I was not sitting on it, the X axis points toward the front (if it wasn't, the car'd roll to one of the sides or run backwards, I know that from building my Jetbike).
_____________________
Michal Milosz The New Guy. *whip crack*
|
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
|
11-20-2005 13:43
ok after re-reading, if it doesn't even have the release controls button then either a.) it isn't running (check by adding a llOwnerSay in the state_entry) or b.) you typo'd or left out where it asks permission for or takes controls. Again llOwnerSay's will save the day if you pepper the script with it.
also you might want to make the seat the root prim, not sure if that makes a difference.
(I'm not a vehicle coder by any means, just trying to help)
|