Product Chat / Infantry Squad Movement possible now in GameGuru!

Author
Message
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 23rd Jan 2018 21:29
Hi GameGuru people!

Yes, you read that right! It's possible to have allies moving in a squad!

PM
Bugsy
15
Years of Service
User Offline
Joined: 24th Nov 2008
Location: Savannah
Posted: 23rd Jan 2018 22:16
did you script this yourself? this is really cool!! you gotta show me what other sorts of things they can do. can they shoot enemies/avoid others? can they die? can they be commanded? will you be releasing this? it would make for an awesome tactical rainbow 6 style game
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 23rd Jan 2018 22:35
@ Bugsy - Thank you very much! Yes, it took me about three days of hitting my head against a wall, but finally I got the scripts sorted. At the moment the squad members move to objective points on the map, until you completed the objective, then they move along to the next objective point, etc.

At the moment they don't shoot at the enemy, I'm still trying to figure that one out. I am looking at ways to incorporate a system that will allow you to command them in more depth, just have to get my head around it first.

I will also release the scripts on the script board, so that everybody can use it and maybe improve upon the scripts. There are a lot of brilliant scripters here on GG that can make it better!
PM
Honkeyboy
3D Media Maker
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 23rd Jan 2018 23:07 Edited at: 23rd Jan 2018 23:09
Really cool thats half a game already Just imagine if you could have vehicles do that as well
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 23rd Jan 2018 23:08
That looks cool,good luck with the rest of it.

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 23rd Jan 2018 23:10 Edited at: 23rd Jan 2018 23:11
@ HonkeyBoy - Thanks! They must just learn how to shoot at the enemies now!

@ Granada - Thanks!
PM
Honkeyboy
3D Media Maker
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 23rd Jan 2018 23:11
yeah m8 have you checked smallg's ally script maybe something you can use there?
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 23rd Jan 2018 23:13
@ HonkeyBoy - Cool, I'll have a look at it to maybe get some idea of how it can be achieved.
PM
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 23rd Jan 2018 23:14
That's really cool, nice job!
Desktop: i7 4770@3.4Ghz (passmark 9809), 12GB RAM, Win 10/64, GeForce GTX 1080 (passmark 12006), 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 23rd Jan 2018 23:17
@ Jerry Tremble - Thank you!
PM
Honkeyboy
3D Media Maker
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 23rd Jan 2018 23:59
Find it here m8 https://forum.game-guru.com/thread/207801?page=5#msg2500674
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 24th Jan 2018 00:04
Nice Job ... That's going to be popular
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 24th Jan 2018 09:02
@ HonkeyBoy - Thanks for the link.

@ Synchromesh - Thank you.
PM
Bolt Action Gaming
GameGuru Tool Maker
11
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 24th Jan 2018 16:51
That's pretty slick stuff. Nice to see something new for a change and congrats on user of the month

Definitely check out smallg's implementation of enemy firing upon enemy mechanics. I'd probably just try to use
IntersectAll: x=IntersectAll(x1,y1,z1,x2,y2,z2,IgnoreObj) -- returns 1 if the ray cast hits entity or lightmapped geometry
GetIntersectCollisionX: x=GetIntersectCollisionX() -- returns the X position of the entity hit position
GetIntersectCollisionY: y=GetIntersectCollisionY() -- returns the Y position of the entity hit position
GetIntersectCollisionZ: z=GetIntersectCollisionZ() -- returns the Z position of the entity hit position

As my guides for casting a ray out, then using that to determine if a hit was done and applying damage by setting a flag in a table, passing it to the enemy, having the enemy parse it and 'receive' damage. But smallg's implementation is a known quantity so that's definitely a plus
reyandekcire
8
Years of Service
User Offline
Joined: 18th Feb 2016
Location:
Posted: 24th Jan 2018 18:07
Great job. This would be a major plus for GG.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 24th Jan 2018 18:32
as BAG said, you will want to use raycasting for your bullets and sight detection etc.
the hardest part is likely just figuring out how to get the enemy AI to acknowledge your new allies, probably easiest to write your own enemy AI.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 24th Jan 2018 19:06 Edited at: 24th Jan 2018 19:12
Solar my maat dis baie nice, goed gedoen. lyk baie goed.

Doen jy jou eie klank vir die video.?
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 24th Jan 2018 19:32
@ Bolt Action Gaming - Thank you very much! Wow! "User of the Month", I only saw It just now. I'm truly honored by the award. Also, thank you for the ideas that you posted, I appreciate the help very much. I'm still a noob at LUA scripting, so it might take me a while to figure everything out.

@ Reyandekcire - Than you. In the few days or so, I will post the scripts on the script board, then everybody can use and modify them as they like.

@ Smallg - Thank you for the info, I appreciate it. My LUA skills are nowhere near yours or the other awesome script writers here, so I'll give it my best shot to try and make the scripts even better. But once I posted the scripts on the script board, then hopefully the GG community can take the project forward and improve it.

@ PCSKILLER - Baie dankie, my friend! Nee, die klank is van 'n model pack af.

PM
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 25th Jan 2018 00:26
Quote: ""User of the Month""


Congrats! Well deserved!
Desktop: i7 4770@3.4Ghz (passmark 9809), 12GB RAM, Win 10/64, GeForce GTX 1080 (passmark 12006), 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 25th Jan 2018 08:52
@ Jerry Tremble - Thank you very much!
PM
TazMan
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 20th Jan 2011
Location: Worldwide Web
Posted: 25th Jan 2018 13:06
Great work here, I imagine it was pretty hard work getting it this far. Good luck on the rest of it.
HP Pavilion Laptop - AMD A8-4555M APU with Radeon(tm) HD Graphics - 1.6GHz, 8GB Memory, Windows 10 Home, 64-bit Operating System.

I've got something to say - It's better to burn out than fade away.
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 26th Jan 2018 10:26
@ TazMan - Thank you!
PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
Recently Online
Joined: 7th Jun 2016
Location: Germany
Posted: 26th Jan 2018 17:25 Edited at: 26th Jan 2018 17:27
wow... amazing !!!

The Hud is also very cool
Windows 10 64bit - Intel Core i7-2600 CPU @ 3.40GHz, 8,0 GB Ram, Geforce GTX 1050ti
https://sites.google.com/view/dkproductions




Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 26th Jan 2018 17:44
@ Duchenkuke - Thank you very much!
PM
Earthling45
8
Years of Service
User Offline
Joined: 3rd Sep 2016
Location: Zuid Holland Nederland
Posted: 27th Jan 2018 05:08
Yes, this is nothing short of amazing.
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 27th Jan 2018 09:39
@ Earthling45 - Thank you!
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 27th Jan 2018 13:58
i dont know why but he sound and all over look of the video let me think back at farcry2 , i miss playing online farcry2 was very nice.

baie nice, baie.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 27th Jan 2018 16:08 Edited at: 27th Jan 2018 16:09
@ PCSKILLER - Baie dankie vir die komplimente, my friend.

I think GameGuru has so much potential, it can and will become the premium game engine in the world one day. People tend to forget that a lot of "AAA" engines out there have got their own problems and issues, never mind the learning curve and effort required to get something half decent out of them.

GameGuru is by far the best and quickest engine in the world to get decent results at a fraction of the time, you just have to stick with the engine and learn it's capabilities and work with it.

Thanks to Lee and all the GameGuru team and contributors, it's gonna happen. You can count on that!

GameGuru rocks!
PM

Login to post a reply

Server time is: 2024-11-24 08:10:15
Your offset time is: 2024-11-24 08:10:15