Product Chat / Boats and Swimming Players?

Author
Message
Datmudkipify (Game Dev)
8
Years of Service
User Offline
Joined: 10th Jan 2016
Location:
Posted: 18th Jan 2016 00:10
If I were to buy say the Canoe from the Game Guru store and put it in my game for players to use to travel across my map.. Would that be possible? And how could I make it so my game character can swim without drowning in seconds like he always does.

Any response is helpful.
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 18th Jan 2016 00:30 Edited at: 18th Jan 2016 00:30
Quote: "If I were to buy say the Canoe from the Game Guru store and put it in my game for players to use to travel across my map.. Would that be possible? And how could I make it so my game character can swim without drowning in seconds like he always does.

Any response is helpful. "


Many of the features you mention have not been incorporated yet but are in fact going to be ....
Water will be overhauled and you will be able to swim in first and third person modes without drowning as well as create water planes at different heights.

Vehicle features are also planned but these features are voted in by the community
https://www.game-guru.com/feature-vote/results

Once we have the DX11 incorporated then its full steam ahead.
2 or 3 features may be added at a time and others may have to be added whilst one is being implemented so hopefully the list will go down fast.
Hope that helps
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 18th Jan 2016 00:34
Not really the easiest thing to accomplish right now out of the box.

There are swimming animations in the solder characters, but not the player or the third person wizard yet. That would be obstacle one.

There is not any water physics right now either. so a script will need to be made for that to float the boat.

We have a few work arounds in the scripting thread in smallg posting, index to his scripts are in the first post.

Maybe chaining some of these together can get you a decent illusion of what you what till the water gets reworked for an update.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 18th Jan 2016 09:54
Can't wait till we can actually swim.
Twitter - Teabone3 | Youtube - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 18th Jan 2016 23:43
Sorry for the delay, I know it seems a little thing to add, and it probably is less than a day to get the basic unpolished functionality in there, but GameGuru has a thousand tiny calls to action and the only way to resolve the order was to create the voting board. I think Swimming is currently some way down the voting board list, but hopefully, it will rise quickly once we start externalising hard coded mechanisms into LUA, and perhaps overshadowed by a community solution once sufficient control is wrestled from the engine.
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

Datmudkipify (Game Dev)
8
Years of Service
User Offline
Joined: 10th Jan 2016
Location:
Posted: 19th Jan 2016 22:07
My game ideas main mechanic needs swimming and boats to work, but I can figure out an alternative for a beta release by having simple teleports between places until that is added. Thanks for all the responses, hopefully 2016 will be a productive year for The game creators. Especially since they are gonna hit 100k sales soon.
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 21st Jan 2016 01:07 Edited at: 21st Jan 2016 01:08
Swimming = 2017?
Twitter - Teabone3 | Youtube - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740
spudnick
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 24th Jan 2016 01:12
aw i would like to go swimming to.
i have my towel and a nice swimming cap to use, but i wonder if the water will be warm enough, as dont wont to get hypothermia, or may have to stay out of the water, and just carry on sun bathing . LOL

But really would like to go on a cruise ship tho, even a dingy would be great to explore the vast amount of water,
one day hey
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 24th Jan 2016 12:05 Edited at: 24th Jan 2016 13:03
Hey all, you can swim OK in first person with the correct script. No first person animations, but it works and sounds OK.

Let me zip up the 'swim controller' and I'll update this post.

Cheers.

Edit: Here you go. Place files in entitybank folder except for lua script - put this in scriptbank folder. Then add 'swim controller' entity to your map (don't worry it's hidden when game running - it's just bright red so it's easy to locate in the editor).
Make a gentle ramp into the water and when the player gets in the shallows, press e to swim and you're off . Coming out of the water should work OK and weapons if carried are automatically hidden and reapplied in/out of water. Hope this helps until a more full solution is in the engine. Cheers.

Attachments

Login to view attachments
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 24th Jan 2016 13:57 Edited at: 24th Jan 2016 14:00
That works pretty good! Thanks, cybernescence!

EDIT: Just for the heck of it I tried it on the wizard in 3rd person. Funny!
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 10/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 10/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 24th Jan 2016 14:54 Edited at: 24th Jan 2016 16:19
Great! Thanks for checking Jerry

if you just want to be able to swim straight away after running/ jumping into water, adjust this part of the lua script as below:



Quite good fun diving into water

Edit: quick video showing the swimming. If anyone also wants the HUD script and sprites, they are in this thread: https://forum.game-guru.com/thread/213870




Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 24th Jan 2016 17:26
Sweet. Thank you. Great job.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 24th Jan 2016 18:54
LOL, about a year or so ago I tried to use the "TransportToIfUsed" command to attempt this, but my character would just bob up and down in the water as though he was struggling to stay afloat, then gradually go under until he drowned. It was at that time I took a hiatus from learning Lua. I don't know what I was doing wrong, but I will study your script to find out! Thanks again!
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 10/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 10/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 25th Jan 2016 08:40
I wouldn't mind even the old FPSCx9 / FPSCx10 style of swimming.
Twitter - Teabone3 | Youtube - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 25th Jan 2016 11:57
Cool cybernescence, well done!

Thanks for sharing

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 25th Jan 2016 14:13
Now THAT's the power of community involvement Nicely done!
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 26th Jan 2016 21:40
Wonderful script! Thanks!
Twitter - Teabone3 | Youtube - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740

Login to post a reply

Server time is: 2024-11-25 05:52:55
Your offset time is: 2024-11-25 05:52:55