Scripts / friendly ai script

Author
Message
Barty Games
8
Years of Service
User Offline
Joined: 11th Feb 2016
Location:
Posted: 19th Jun 2016 23:10
is there some script or can somebody make one that makes the ai shoot at enemys?? not to follow just shoot. Thanks!
PM
Northern
14
Years of Service
User Offline
Joined: 5th Nov 2010
Location: Brazil
Posted: 20th Jun 2016 09:18 Edited at: 21st Jun 2016 08:48
@Barty Games:

Hi,

Well, a stock script for cooperative or friendly A.I, ready for GameGuru, if it exists at this moment, I do not know so far. Sorry!

Torque game engine, has a script or function named 'Target', if I'm not mistaken, which may be associated to any object in the game level, such as, a tree, a rock, a vehicle, etc.

Any A.I with a gun, either friendly or enemy, in the game scenario, will open fire against the object named 'Target' , when they are in the range distance, set in the script.

However; a similar script, unfortunately, does not exist in GameGuru game engine yet.

Cheers,
Northern
PM
Barty Games
8
Years of Service
User Offline
Joined: 11th Feb 2016
Location:
Posted: 20th Jun 2016 16:50
darn. do you know anybody that could make one?
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 20th Jun 2016 17:17
Try looking in the "some example scripts for ideas " thread, there's a couple of different types of script that do what similar to what you need.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Northern
14
Years of Service
User Offline
Joined: 5th Nov 2010
Location: Brazil
Posted: 21st Jun 2016 09:21 Edited at: 21st Jun 2016 09:29
@Barty Games:

Wrote:

Quote: "darn. do you know anybody that could make one?"


Hi,

Unfortunately, no; however, as these threads have a lot of viewers, perhaps, appear somebody from the shadows and may help you.

It's just a note: In general, A. I scripts require a lot of programming effort, as well as, may take a long time to finish the work, because you write the code, after that you must test it, so, find out a bunch of bugs, returning to start, to fix them; next new tests, and new bugs are found, and this may become an infinite loop, until all be fine. For sure, it's not an easy task, even if you are a clever programmer.

Having said that; I did a little seach on the thread pointed out by Belidos (thanks!), and I find out two post, which, perhaps, might help you. You have the links below:

Turret (Author: Smallg):

https://forum.game-guru.com/thread/207801?page=5#msg2504271

The Allies (Author: Smallg):

https://forum.game-guru.com/thread/207801?page=5#msg2500674

Have fun!
Northern
PM
Barty Games
8
Years of Service
User Offline
Joined: 11th Feb 2016
Location:
Posted: 24th Jun 2016 23:49
allies is exactly what I was looking for. Thanks.
PM

Login to post a reply

Server time is: 2024-12-22 18:22:17
Your offset time is: 2024-12-22 18:22:17