Product Chat / 3rd person car - WIP

Author
Message
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 25th Oct 2016 03:22 Edited at: 25th Oct 2016 04:03
Hi guys, just been messing around with the 3rd person idea of it working for a car. I came across a few issues but it is a WIP.

Items you will need:-

A car - I found this one below in the core files of GG.
Car 01 (Blue).fpe
Car 01 (Blue).bmp

Step 1
I copied and renamed the above fpe file to [ 3rd Car 01 (Blue).fpe ].
Same with the bmp file to [ 3rd Car 01 (Blue).bmp ].

Step 2
Edited the [ 3rdCar 01 (Blue).fpe ] file and add the code below.

;header
desc = 3rd Car 01 (Blue)

Step 3
In the same fpe file add the code below just after the heading code block [ ;LOD System ].

;identity details
ischaracter = 1
hasweapon = 0
isthirdperson = 1
isobjective = 0
cantakeweapon = 0
rateoffire = 0
ragdoll = 0

Step 4
Restart GG

Step 5
Added player start marker to your map level.

Step 6
Drag the car entity to the player start marker.

Step 7
Edited the player start maker properties like below. Now this will make the model spin when you change the Camera X Offset to -18 but only when you are in properties. I would edit this property last or it may cause a headache.

Statistics
Speed: 500

Third Person
Camera Locked: Yes
Camera Distance: 5
Camera X Offset: -18
Camera Y Offset: 65
Camera Focus: 70
Camera Speed: 50
Run Mode: Yes
Show Reticle: No

Step 8
Make a little crap map like in the image below or better for testing.

Step 9
Run level.

Step 10
Now configure the properties to your specs or model.

Screenshots





That's about it... Why not try it out yourself.

Thanks guys.
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3

Attachments

Login to view attachments
PM
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 25th Oct 2016 03:31
P.S. - hide huds using script as I forgot!
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3
PM
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 25th Oct 2016 13:50
nice work getting it in the car! I could never figure that part out.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 25th Oct 2016 14:05
Nice work !!
Love the cockpit view in your shots
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Stab in the Dark software
GameGuru TGC Backer
21
Years of Service
User Offline
Joined: 12th Dec 2002
Location: Upstate New York USA
Posted: 25th Oct 2016 15:01
What GG needs is real car physics. There is no good reason why Lee can not add vehicle physics.
Physics in GG is handled by the Bullet Physics engine which has vehicle physics.
The coffee is lovely dark and deep,and I have code to write before I sleep.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 25th Oct 2016 15:12 Edited at: 25th Oct 2016 15:13
Quote: "There is no good reason why Lee can not add vehicle physics."

Well hundreds of other requested features might be a good starting point
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 25th Oct 2016 20:15
I think Lee concentrates on getting core features in first,in the meantime people like gd show how you can do this sort of thing with clever work around s.if only I could get the hang of coding .

Dave
PM
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 26th Oct 2016 00:38
GTA X here I come, thanks! Nice work!
Desktop: i7 4770@3.4Ghz, 12GB RAM, Win 10/64, GeForce GTX 1080, 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 26th Oct 2016 03:48 Edited at: 26th Oct 2016 13:28
Thanks guys, it would be better if the car was re-textured or if their was a better model... The WIP test its a little buggy.

I guess you could just change the player start marker specs with lua while you enter and exit the car. I have not try this yet and don't even know if it's possible. It would save using a car hud image sprite, etc.

On the tests I have done so far, there would have to be a rotation stop for players while in the car. You would then really get a feel of looking around out-side through most of the windows while driving. Can this be done with lua???
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 27th Oct 2016 15:16
I've seen this done before, but never tried myself as the movement will still be walking and therefore not very useful. Still, nice job showing the step by step so others can try it out!


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 27th Oct 2016 22:40
Hi Dvader, was it this one Driveable Car (not complete) by Roandoom?
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 28th Oct 2016 17:42
No it was another post by, and I could be wrong, T-Bone. Fixing the car as a third person character. I have seen the Lil car demo Ravey put out ages ago as well. I have also had a go at getting a car working myself, in a similar fashion as my boat script, but to date that has had issues rotating to the floor properly, but you could walk about and get in same as you show here. It would have worked great on a flat floor but I gave it up as a bad job. In honesty, we should have a car physics option by now. Given our options we have no chance to better a proper physics based car setup. Even with more it would be a big job without physics support.

I tried the lil car demo yesterday after seeing this thread and found it no longer works. So, I fixed it and had a play. For a basic overhead GTA style game it would be fine. Needs some effort to make it work with several cars and collision of course, not to mention feeling like a car and not some weird gravity defying thing. Again, why do we even have physics in GG?


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Stab in the Dark software
GameGuru TGC Backer
21
Years of Service
User Offline
Joined: 12th Dec 2002
Location: Upstate New York USA
Posted: 28th Oct 2016 19:11 Edited at: 28th Oct 2016 19:18
Quote: "Again, why do we even have physics in GG?"


Lee asked me once if I would help him with getting all the physics working properly
in GG and implementing some really cool destruction physics I developed.
I guess at that time he had too many other issues to deal with in GG.
I am still available to help him get the physics upgraded if he is interested.
If anyone is interested as to what could be added just check out my youtube channel.



The coffee is lovely dark and deep,and I have code to write before I sleep.
Lance
20
Years of Service
User Offline
Joined: 22nd Jul 2003
Location: Third planet from Sun
Posted: 28th Oct 2016 20:01
Stab in the Dark:

I hope Lee still has interest in your help . We do need more physics capabilities . I saw a demo you made on destruction physics and GG sure could use it either included in GG or as some sort of an add on .

Lance
Lance

Joined 22nd Jul 2003

PM
Stab in the Dark software
GameGuru TGC Backer
21
Years of Service
User Offline
Joined: 12th Dec 2002
Location: Upstate New York USA
Posted: 28th Oct 2016 21:07
Quote: "I hope Lee still has interest in your help . We do need more physics capabilities . I saw a demo you made on destruction physics and GG sure could use it either included in GG or as some sort of an add on ."


The destruction physics uses the physics engine so that is already built in. It is the fracture of the object that is not part
of the physics but can be easily built right in and work seamlessly. Combined with the CSG I developed you could cut
out a section of a wall and fracture it in the editor. It would hold together until a force is applied and let physics do the rest.
Now you have me excited about it being part of GG.
The coffee is lovely dark and deep,and I have code to write before I sleep.
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 28th Oct 2016 23:51
Quote: "I am still available to help him get the physics upgraded if he is interested."


Please! Make it so!
Desktop: i7 4770@3.4Ghz, 12GB RAM, Win 10/64, GeForce GTX 1080, 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 29th Oct 2016 00:04
Thanks guys, this is all very interesting mostly the part about the physics engine. It's great to see how many people are here to help develop GG engine. I do hope Lee takes you up on the offer Stab in the Dark.

I don't understand how the physics works in the engine but looks promising.

Thanks guys.
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3
PM
gd
7
Years of Service
User Offline
Joined: 21st Jul 2016
Location: Small Darkroom with no red light
Posted: 29th Oct 2016 02:05
Hi DVader, I think your right T-Bone has got a you tube video here. Ravey thread part one & two to support the twitch Lil Car Twitch media. The you tube twitch covered here Broadcast 33: "lil car" game PART ONE / Broadcast #33: "lil car" game PART TWO
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 MDA mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.

Laptop - M17xR3
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 30th Oct 2016 11:05
@ gd, yeah there's been several attempts over the years. Lots of people want drive-able vehicles. GG isn't really up to it yet command wise to do a good job. There's always going to be compromises with our workarounds. All good fun though.

@ Stab in the Dark, I think I remember some video demo's Lee showed way back. Pity it hasn't happened yet. The physics is GG is basically using resources for nothing generally, as we have no real access to it beyond having items that can be knocked about. In fact reading your post makes me wonder why Lee went the way he did with the EBE. Sounds like he could have gone a far better route.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.

Login to post a reply

Server time is: 2024-05-05 19:32:28
Your offset time is: 2024-05-05 19:32:28