Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Expression 2 v
« Previous 1 2 3 4 5 … 8 Next »
Release Ship-AI
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pages (4): « Previous 1 2 3 4 Next »
Threaded Mode
Release Ship-AI
14-03-2015, 10:44 PM,
#11
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Ship-AI
I have updated the AI. For Bug fixes and new function download it and replace the current file in:
"SteamApps\common\GarrysMod\garrysmod\data\expression2" with the new version. It will automaticly apply to all your dupes.
Find
Reply
03-04-2015, 03:58 PM,
#12
JayTurnr Offline
TSCM Member
***
Posts: 7
Threads: 2
Joined: Mar 2015
RE: Ship-AI
As some of you may know. I have created an AI based upon SuperPlayers ShipAI. Extra features, different colours and I'm still adding features. SuperPlayer, I hope you don't mind. If you do, I'll stop development. I'd like the opportunity to work with you to add more things into the AI though Big Grin
Website Find
Reply
03-04-2015, 04:51 PM,
#13
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Ship-AI
I really like that people like my work. Due the fact I am converting my stuff more and more into Starfall for me its ok when you base your AI on mine as long as you give me credit if you use major things. I also would like to work with you. Just tell me what you have done so far and what you are planing to add. Maybe I can give you some input or I can still learn something new. But right now I am on vacation so I will be on the server the next time Saturday or Sunday.
Find
Reply
04-04-2015, 03:16 PM,
#14
JayTurnr Offline
TSCM Member
***
Posts: 7
Threads: 2
Joined: Mar 2015
RE: Ship-AI
Hey, yeah. I've got credit on the EGP screen and I'm currently working on a help/credits section of the chat commands.

I can send you the latest stable revision of my code for you to see what I've done :)

But, in a nutshell I have;

Added a micro-warp function into the chat commands: this allows the user to easily reposition their ship if they warp into another users ship. This works via commands such as 'ai warp zaxis 765' etc. I created this because I found the EGP method to be a bit unreliable as sometimes I would 'click' and it wouldn't do anything and I'd spend five minutes trying to move 2000 up. Micro-warp works about 95% of the time. yaxis has the lowest success yield so far.

K4mpfh4mst3r created a command which turns all the resource cores on at the same time. Which I added. I then modified your lifesupport core code to allow control over each core via chat. 'ai energy on' etc - The water collector doesn't toggle via that, I need to look into that.

I added a very basic Stargate dial control into the AI chat commands too. 'ai dial shakurp' 'ai dial higar1@#' etc I may add gate name support for that too.

I added
Code:
if (dupefinished()) { reset() }
to counteract the problem of the AI not always detecting guns etc as they didn't spawn before the E2 chip via the dupe.

I removed the translate function as the server provides that function and I just felt it was using up lines.

I changed the warp table a little. I stole the table from ALICE AI.

I also stole the TARGET TABLE from ALICE.

I added Automatic Ship Prefix adding based upon the Faction you're in. That table needs expanding. I'm also working on a method of changing the AI colours based upon the Faction.

You can change the AI name, however the command stays 'ai ' as I encountered bugs when I tried to change that. :(

I have plans to add a 'fire all weapons' command to.. fire all weapons.

I can't seem to figure out your beam to pads commands.

I think that's it so far. But I found the Micro-warp is the most useful function. That's the reason I started editing it.

I've avoided EGP coding as much as possible as I can't find any helpful documentation on that.
Website Find
Reply
04-04-2015, 04:32 PM,
#15
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Ship-AI
That sounds good so far. But I have a few questions just for better understanding:

1) What do you mean by "Ship Prefix" ? Do you mean what was Standard, Tactical and so on in my version?
2) My code has already that you can change that AI name. It is in line 21 if i am not mistaken.
3) For the beam to Pad commands do you mean just the Beam to Pad command or all beam commands ?

SuperPlayerBig Grin
Find
Reply
05-04-2015, 12:59 PM, (This post was last modified: 05-04-2015, 01:04 PM by JayTurnr.)
#16
JayTurnr Offline
TSCM Member
***
Posts: 7
Threads: 2
Joined: Mar 2015
RE: Ship-AI
(04-04-2015, 04:32 PM)SuperPlayer Wrote: 1) What do you mean by "Ship Prefix" ? Do you mean what was Standard, Tactical and so on in my version?

I mean things like "USS" or "HMS" or more specifically "UCFS" (Colonial Fleet) and "UNTS" (Tri-Sphere)

(04-04-2015, 04:32 PM)SuperPlayer Wrote: 2) My code has already that you can change that AI name. It is in line 21 if i am not mistaken.
No, no. That's to change the ship name. When I mean AI name, I mean how the AI refers to itself in chat. I believe on yours it's [AI] [*Name variable*] but with mine it's [*ai name variable*] [*Name variable*]

(04-04-2015, 04:32 PM)SuperPlayer Wrote: 3) For the beam to Pad commands do you mean just the Beam to Pad command or all beam commands ?
I always get the error 'pad not connected'. Maybe I broke the pad code somewhere or maybe someone editted that code before I got the AI. (I didn't start my work from the link in your form, rather from an E2 I obtained of another user.)

Here is the code for ExtendedAI 2. It does have various incomplete sections, however, no errors.
.txt   ExtendedAI 2.txt (Size: 93.25 KB / Downloads: 12)
Website Find
Reply
09-04-2015, 08:19 PM,
#17
rorym12345 Offline
clvr ttle
***
Posts: 106
Threads: 22
Joined: Feb 2014
RE: Ship-AI
(05-04-2015, 12:59 PM)screamjohnson Wrote:
(04-04-2015, 04:32 PM)SuperPlayer Wrote: 1) What do you mean by "Ship Prefix" ? Do you mean what was Standard, Tactical and so on in my version?

I mean things like "USS" or "HMS" or more specifically "UCFS" (Colonial Fleet) and "UNTS" (Tri-Sphere)

(04-04-2015, 04:32 PM)SuperPlayer Wrote: 2) My code has already that you can change that AI name. It is in line 21 if i am not mistaken.
No, no. That's to change the ship name. When I mean AI name, I mean how the AI refers to itself in chat. I believe on yours it's [AI] [*Name variable*] but with mine it's [*ai name variable*] [*Name variable*]

(04-04-2015, 04:32 PM)SuperPlayer Wrote: 3) For the beam to Pad commands do you mean just the Beam to Pad command or all beam commands ?
I always get the error 'pad not connected'. Maybe I broke the pad code somewhere or maybe someone editted that code before I got the AI. (I didn't start my work from the link in your form, rather from an E2 I obtained of another user.)

Here is the code for ExtendedAI 2. It does have various incomplete sections, however, no errors.
Mo offence but you just made the AI worse it generates almost 1000 OPS

[Image: tumblr_mojr28h1J91qm7lwco3_500.gif]
Find
Reply
09-04-2015, 09:29 PM,
#18
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Ship-AI
Lol. I didnt notice that when i tested that. When its true than he should fix that. I will look into it. Thanks for reporting.
Find
Reply
15-08-2015, 02:05 PM,
#19
LoR1nT Offline
TSCM Member
***
Posts: 3
Threads: 1
Joined: Jul 2015
RE: Ship-AI
Why some time ai do not answer in chat
Find
Reply
15-08-2015, 02:22 PM,
#20
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Ship-AI
Never seen this issue. Also i never had this. Try to reload it then
Find
Reply
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.