Product Chat / Enemy NPC Soldiers Swimming

Author
Message
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 8th Apr 2017 12:32
Hi all,

For Cogwheel Chronicles I needed custom characters to be able to swim after the player - rather than run under water which is kind of cool some times .

Thought this capability might be of use for your games too so I've quickly ported to the stock AI soldiers/scripts - seems to work OK (but I haven't done extensive testing on these characters). I've attached the scripts and fpe updates (make sure you back up the originals in case these don't work out for you).

Cheers.




Attachments

Login to view attachments
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 8th Apr 2017 12:52
i wonder if you put floor zones over the water if it would make them more likely to enter the water?
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Ratall
15
Years of Service
User Offline
Joined: 29th Jun 2008
Location: Not Here
Posted: 8th Apr 2017 23:41
There's an item in the voting list

Quote: "Swimming
The player will be able to swim above and below the water level."


Cybernescence it looks like you have done half of Lee's work on that one.

Well done.
Quod cito fit, cito perit.
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 10th Apr 2017 21:24
@ cybernescence
Nice one mate, I'll give a try as soon as I can.

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
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-04-26 18:27:08
Your offset time is: 2024-04-26 18:27:08