Scripts / {Help Wanted} Truck script

Author
Message
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 27th May 2020 23:13
Hi! im using the truck script and i got the problem that the car disapear like getting into the earth.. whats the problem?




PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 28th May 2020 00:39
No telling. Perhaps physics collision is pushing things all around?
Suggestion;
Try to put debugging lines of text onto your scripts. I know this is not your script,
but I'm not sure that anyone else might not automatically know what's happening
unless further info was supplied... or they might also?!

IsImmobile = __?__
Physics On = __?__

then see if you can find the SetPosition lines and notice the variables entered
in there. For X, Y and Z do this;
Text(33,33,3,"variablex "..posx)
... so 3 debugging text lines. Remember the {vars} used in the script. When you
have that running, please supply another video if possible.
PM
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 02:38
Hi! thanks for your response!, here its other video... All in NON STATIC, INNMOBILE and always active



This is how looks the script
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 28th May 2020 12:44
Post the model on here or pm it to me on discord and I'll take a look at it.

Physics should be OFF for everything except the vehicle body, isimmobile should be NO on everything except enterable buildings or staircases unless you really know what you are doing.

Been there, done that, got all the T-Shirts!
PM
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 15:01
Thank you amenmoses, i know you are the best on the forum! here it's the map, entities and the scripts. hope you can help me, is a very important step on my project. Thank you

Attachments

Login to view attachments
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 28th May 2020 16:33
You will need to edit your post and re-attach the files, forum bug at present they don't still first time for some reason.
Been there, done that, got all the T-Shirts!
PM
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 16:41
i'm sorry idk why it doesnt uploaded it, ive attached here and also uploaded to MEGA

https://mega.nz/file/eTpT2Q4R#ZKWE8DahDhqskZbzQsEmp-LJ7aoYREHrr1FMyhCMU38

Attachments

Login to view attachments
PM
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 16:42
i don't know why it doesnt attach files LOL
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 28th May 2020 17:01
forum bug, you have to attach the files, then edit the post and attach them again to get them to show up

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Primary Laptop:
i5, NV1050 4GB, 8GB memory, 1x 1TB HDD, Win10.

Secondary Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 17:05
Done thank you
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 28th May 2020 19:17
There is something seriously wrong with your models! If I attach the original truck script everything works fine but obviously the wheels and steering wheel are in weird places.
But as soon as I try to position the wheels in the correct place everything goes haywire.
I notice that you have multiple named textures in the fpe, I've never seen that before and definitely haven't had a model like that be dynamic with scripted movement, maybe GG can't handle it?

Have you got the .X file btw, the origin for the body is wrong as well.
Been there, done that, got all the T-Shirts!
PM
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 21:26
i think the problem is on the wheels, because the problem starts when i change the wheels position or the body? LOL
PM
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 21:27
I dont know how to change the files origin, i got the Sketchup 2020 files only, i export the models from that app to FBX
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 28th May 2020 22:12
Can you post the FBX files?
Been there, done that, got all the T-Shirts!
PM
miltonmdq
4
Years of Service
User Offline
Joined: 9th Apr 2020
Location:
Posted: 28th May 2020 22:22 Edited at: 28th May 2020 22:22
sure, here it is

Attachments

Login to view attachments
PM

Login to post a reply

Server time is: 2024-05-08 08:56:47
Your offset time is: 2024-05-08 08:56:47