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

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 12 13 14 15 16 … 18 Next »
Ship Mainframe / A.I [9.8.2015]
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pages (3): « Previous 1 2 3
Threaded Mode
Ship Mainframe / A.I [9.8.2015]
08-08-2015, 11:37 AM,
#21
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: Ship Mainframe / A.I [9.8.2015]
(08-08-2015, 07:01 AM)tscm.Obiswagkenobi Wrote: is it just me or has the time been extended by one day? dammit adding things will create bugs in the final release

its just you.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
08-08-2015, 06:18 PM, (This post was last modified: 08-08-2015, 06:18 PM by Yuri6037.)
#22
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Ship Mainframe / A.I [9.8.2015]
(08-08-2015, 08:10 AM)SuperPlayer Wrote:
(08-08-2015, 07:03 AM)Yuri6037 Wrote: I have a few question :
"- You can divert shield power", how is that possible automaticaly ? I already tried with shield outputs but all outputs gives exactly the same values causing my AI to understand it's firing from every side !
"- Can't activate repairs.", you seriously arrived to fix Person's code ? Because as I know the ShipCore's Fire Repair Beam has never worked ! Same as the Stargazer Resource Valve.

Auto divert shield power works. It is pretty complicated though. And for the outputs all returning the same value: Never heard about it. I have my own auto divert code and it works fine.

For the repair beam it just works if you dont try to repair a ship you own.
And the Ressource valve also works just fine. You must be doing something wrong then.

Well to repair a ship I do :
Code:
Ship.Core["Fire Repair Beam"] = 1 Ship.Core["Repair Target"] = Target.Entity
But this does strictly nothing to my friends ship (General Oniel one, even when he has 2% hull).

The Stargazer Valve never worked on my side you can link it to someone else's network but it's not working, nothing happens.


And about the shield divert power, I'd like to know how you do it, what are you using exactly ? Are you using the shield's outputs (Left, Right, Top, Bottom, Front, Back) ? If that's then explain me how you're doing to avoid having those outputs descending at the same time ? Those outputs represents damages on each sides, I have an algorythm that is able to determine exactly what side is most damaged, however this algorythm won't work worrectly if all sides are damaged of the same amount at the same time even when you're not firing at all sides !
Find
Reply
08-08-2015, 06:46 PM,
#23
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Ship Mainframe / A.I [9.8.2015]
Evethough i dont think this is the right thread for this:
1) You have to set the repair target first. Also there is a range limitation
2) I think are interpreting the outputs wrong. They dont represent the damage taken. They represent the shield health of each side. So you have to check which side loses health the most. If you have more qustions contact me on steam.
Find
Reply
08-08-2015, 07:26 PM,
#24
rouing Offline
#RBR15 - Rekt by Rouing 2015
****
Posts: 295
Threads: 27
Joined: Jul 2014
RE: Ship Mainframe / A.I [9.8.2015]

if REPTARGET then
if AURA.INTERFACEABLE.Core:pos()Big GrinistToSqr(REPTARGET:pos()) < 67108864 then
AURA.INTERFACEABLE.CoreConfusedetRepairTarget(REPTARGET)
AURA.INTERFACEABLE.Core:fireRepairBeam(1)
bsay("Repairing " .. Owner:name() .. "'s ship!")[/code]
else
bsay("The repair target is too far away!")
AURA.UTILITY.PlaySound(AURA.SOUNDS.Deny,4)
end
else
NotImportantCodeHere

That is my repair

What is this love you speak of?
Find
Reply
08-08-2015, 08:58 PM, (This post was last modified: 08-08-2015, 09:00 PM by Yuri6037.)
#25
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Ship Mainframe / A.I [9.8.2015]
(08-08-2015, 06:46 PM)SuperPlayer Wrote: Evethough i dont think this is the right thread for this:
1) You have to set the repair target first. Also there is a range limitation
2) I think are interpreting the outputs wrong. They dont represent the damage taken. They represent the shield health of each side. So you have to check which side loses health the most. If you have more qustions contact me on steam.

1- Ok I'll try to invert order...
2- That's exactly what I wrote. I know they represents the damage per shield side. The thing I don't know is why does those values are same on each side ? Even when you attack the left side for example, it's like all sides are attacked.

EDIT : Thanks as well rouing for giving the maximum range. I'll first use inputs, and if it's not working I'll use the methods. For the moment I need to make a new library : lanaifiles. Indeed I'm preparing for a new Permission system where every players of the server will always have a rank from Unauthorized to Officer. (Unauthorized, Crew Guest, Authorized, Officer).
Find
Reply
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3


  • View a Printable Version
Forum Jump:


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

Powered By MyBB, © 2002-2026 MyBB Group.