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 … 5 6 7 8 9 … 18 Next »
Release Ship A.I /Dialing computer UI
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pages (8): 1 2 3 4 5 … 8 Next »
Jump to page 
Threaded Mode
Release Ship A.I /Dialing computer UI
09-08-2015, 09:16 PM, (This post was last modified: 05-09-2016, 08:00 PM by LocInt.)
#1
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
Ship A.I /Dialing computer UI
Hello.

I have been working on this mainframe for half a year. Report any bugs to this thread. You can change encom tags to anything you like and customize the mainframe / screen / lib. There is no credits tab due everyone always remove them first.

Thanks to LINK for providing some functions I have used.
Thanks to ENCOM members and beta testers and obi for testing this system.
Thanks to SUPERPLAYER for future RELEASE of chat functions for this mainrame.
Special mention for red the blue color for being there for me.

[Image: ?interpolation=lanczos-none&output-forma...olor=black]

[Image: ?interpolation=lanczos-none&output-forma...olor=black]

[Image: ?interpolation=lanczos-none&output-forma...olor=black]

I PERMIT MAKING THREADS WHICH INCLUDE:
-Enhanced versions of the mainframe/screen/lib
-Reupload with purpose of trying to steal credits
I ALSO PERMIT UPLOADING THIS TO YOUR SHARED FOLDER

BY DOWNLOADING U AGREE ON TERMS ABOVE

Features:

Autolinking:
This means there will be no wiring. But you need to weld mainframe to ship core and useful entities to the ship core. Useful entities such as: Node, computer core, quantum drive, shield, energy core, life support, transporter, refinery core, water core, sensor and cloak.
Screen:
This is your interface for the mainframe. Only two chat commands are integrated to the system. SuperPlayer will release a extension library to the mainframe for future chat commands.
Automatic damage detection:
Yes your ship is detecting damage automatically but only if your shield is down. It will only target to enemy's ship_core. Your ship will also stop firing when player/ship_core has been destroyed.
Automatic interior defense:
Forcefield for those people who aren't on the whitelist. By using the forcefield you can
grant visitor a temporary visitor pass. You need oxygen for this to work. Thanks to Obiskawkenobi and Codyworlds for testing this out.
Shield power can be diverted:
In auto-defense situation the ship will divert the power to the face under fire for first time. After that it is manual. Read more about shield diverting from original tscm entity thread.
Weapon type can be changed:
You can switch torpedos' weapon type. Currenty changing type is not possible for ship turrets.
Custom targeting:
With this option you can pick custom targets. Click encom tag and open keyboard. Type in as example st_shuttle* and press find then the mainframe will list available targets. This targeting method is for both shoot to kill and transport.
Default targeting:
Pre-targets are on the menus. If there is two colums left one is for repair and right one is for actual shoot to kill target. For transporting two colums means for players left is FROM and right is TO. If there is only one column its TO.
Missile bay doors:
SBEP door "models/cerus/modbridge/misc/doors/door11a.mdl" works as a missile bay door. If you have heavy missiles these door will open when the shields are down and missiles are being sent versus hull.
Maximized weapon power output:
Mainframe is automatically controlling your weapons and diverting power to emitters if you are in a fight. Mainframe will also use weapons such as keeper lasers and beam emitters versus shield. Torpedos, heavy missiles and ship cannons are versus hull.
Resource vessel support:
Just make another ship, place water collector and well mainframe does rest. Resource ship will warp 1500 meters under your node. Reso ship need resource valve to transfer resources. I recommend to put one on both ships because thats how I tested it.
Permission control:
Screen use access is only for the screen inteface. If you want someone to open your doors by using the door's frame grant him door access. Elevator access is for custom elevator script which im gonna release within this thread. Visitor access is for people who u want to board your ship. Resource value does not have any function yet. If you want to add user use keyboard and when u have writen the name close the keyboard and the user will be added. In case u use it first time just write /setup and mainframe will add you to the system. If you click the second column it will first reset user's permissions to 00000. Press it once more and it will schedule the user for removal after mainframe restart. If there is nilnil restart it again it just means this user has been removed.
Visitor control
You can follow visitors aboard your vessel.
Radar
People/ship_core monitoring will happen by using a radar.
Warp computer
Pick Z from slide, X and Y from the screen and warp yourself. You can pick angle using keyboard.
Stargate control
Pick address from list or write it in and dial. Work on SGU, SG1 and Atlantis gates. You can monitor your stargate through log and open iris just by writing /idc iriscodehere. For this to work change the default iris code 225 to something else. Local Idc line 76. Your iris will automatically activate.
Resource monitoring and collecting
You can follow your resources on the screen. Mainframe will control your resources. Just place collector into the water. You can also monitor your resource vessel's resoruce by clicking the switch.
Cloak control
Shield control
PLating control
Blast windows
Just change the model.
Network
From network tab you can monitor who connects to your network. If someone else is using same channel and same screen they can connect to your mainframe and control it. Old clients auto-timeout. As default mainframe is using public channels.
Network
Screensaver which turns on after 60 seconds of idle use. Also prevents crashing issues and stop quota overflow.
Network
You can choose if you wanna use router and satelite to establish connection from screen to mainrame. True / false to NetworkOverride.
Anti-kino
Just make staff weapon which point down and weld it to your ship.
Computer core targeting
Your computer core will automatically receive a target u picked.
Automatic ship cannon rotating towards enemy.
Automatic keeper laser rotating towards enemy.
LD/HD compatible.
Stargate config
Saves stargate config to a file so you don't need to pick the settings every time.
LS disable
You can pick noclip disable level from the screen.
Automatic setup via chat commands
Just write /setup and it will add you to the system.

Reported bugs:
SFConfusedtarfall/mainframe/Mainframe_Client.txt:884: attempt to compare nil with

F.A.Q:
Nothing works.
-Read the instructions.
I keep getting these weld hints.
-Unweld the entities first and then weld em according to autolinking section.
What are these noclip levels?
-You can now set who to disable noclip for in your ship with the "Disable Noclip" input.
-An input of 1 disables for everyone except you.
-An input of 2 disables for everyone except you and your faction members.
-An input of 3 disables for everyone except you, your faction members and your -alliance members.
CHAT COMMANDS?
Read next post.

Changelog:
5.9.2016:
- Automatic water collector spawning
- Automatic water collector beaming to closest water planet
10.6.2016:
- Added support for gdo. Iris codes work now.
- Added automated tractor beam.
- Ion lasers are now activated against hull.
- Power now diverts better than before.
5.6.2016:
- Fixed access control.
3.6.2016:
- Fixed firing and targeting.
- Added queue for timers
- Added queue for channel messages
- Multiple channel messages can now be be sent at once
- Noclip shows now who can noclip instead of number
- Stargate is now updating its settings almost instantly
- Defensive systems are now updating almost instantly
- Mainframe will now ignore 99% of spammed messages
- Fixed stargate system not working
- Fixed resource screen not working
29.5.2016
Mainframe was almost fully fixed. Firing does not work. Fixed version is on my shared folder.
14.8.2015
Patched up a security breach.
Fixed up accessList for stargate. Thank cody.
13.8.2015
Nil fix for config file.
Screen was getting sh lib instead of cl. Should be getting cl now instead.
Screen adds undefined value to picked targets for after being refreshed if the target is not valid.
More compatibility. with chat lib.
12.8.2015
Added a self-destruct function and unlocalized some functions for chatlib. Not yet sure if it will be added to the screen or will it just stay as a chat command.
11.8.2015
-Added version number for super's extension.
- Fixed lift

If I forgot someone from the credits or I just forgot something please let me know.

If HD does not work for you use LD. HD requires x1024 height.

The screen does not work without the mainframe.

Enjoy!


Attached Files
.txt   ENCOM.txt (Size: 19.16 KB / Downloads: 164)
.txt   ENCOM_ld.txt (Size: 19.16 KB / Downloads: 175)
.txt   ENCOM_mainframe_screen.txt (Size: 199.71 KB / Downloads: 165)
.txt   ENCOM_mainframe_screen_ld.txt (Size: 199.71 KB / Downloads: 187)
.txt   ENCOM_mainframe.txt (Size: 139.74 KB / Downloads: 239)

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
09-08-2015, 09:20 PM, (This post was last modified: 14-08-2015, 09:04 AM by SuperPlayer.)
#2
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
Bug  RE: Ship Mainframe / A.I
As an adition to LocInt's great work i am presenting a chat lib for this Mainframe.
This is to be considered an official release as LocInt asked me to do it.

If you use parts of the codes in your own projects its ok for me BUT if you are going to release it somewhere DONT forget to credit me.
I highly recommend that you DONT EVER change anything in this files or the other files unless it is said its ok to change stuff.
Dont come to me with "your chat lib is broken" just because you did something you were told not to do.

A thing to note is that the chat commands are not in the mainframe code. They are in a special lib I made. Because of that you cant add custom commands right now but I will work on it as soon as i can.
This Chat lib is not near to be finished. Stay tuned for updates and fixes.
If you find bugs please report them to me. If you cant reach me post it in the forums or tell LocInt. Because the files are downloaded from my shared folder updates will apply directly.

I will regulary update the chat command list if i add new commands. If you find a command in this list its also availible in-game.
How i will document commands:
Because there are multiple ways you can call a command sometimes mutliple words will be in a bracket. If you want to call that command choose 1 of them. If a word is VAR that means you can say anything you want there. Usually its for a players name.
I will not write "ai" infront of every command.
These are ways how the owner can start a command:
"ai",

These are ways how other players can start a command:
"/ai-" + the enitity index number. Ask the owner for the number. The owner can find out the number by looking at chat responses or by saying "ai what is your name" Example "/ai-1234"

List of chat commands:
Read this carefully

Spoiler Expand
These are all availible commands right now:

Help and support commands:
  • Test (For debug only): "test"
  • AimCheck (Says what you are looking at): {"what","who"}, "is",{"this","that","there"}
  • ShowCommands (Shows a list of all availible commands): "show","all",{"modules","commands"}
  • Update (Reloads all chat related files. Usefull if i say that i released an update): {"update","reload","reboot","restart"}
  • Version (Returns the current version ): "version"
  • GetCallName (Gives you the name other players can speak to your AI) : "what","is","your","name"
  • GetSecurityClearence (Gives a players security clearence), "what","is","VAR","security",{"level","clearence","acess"}

Beam commands:
  • Beam (Teleport command for the Teleporter Pad): {"beam","tp","teleport","take"},"VAR","to","VAR"

Tactical commands:
  • ShieldOn (Activates the shield): {"shield","shields"},{"on","up"}
  • ShieldOff (Deactivates the shield): {"shield","shields"},{"off","down"}
  • CloakOn (Activates the cloak): "cloak",{"on","up"}
  • CloakOff (Deactivates the cloak): "cloak",{"off","down"}
  • Target (Choose your target) : "target","VAR1","VAR2"
    • VAR1 has to be an entitys name like "ship_core" or one easy name of this list:
      • "shuttle11" = "st_shuttle_type11"
      • "shuttle9" = "st_shuttle_type9"
      • "shuttle6" = "st_shuttle_type6"
      • "ply" = "player"
      • "ship" = "ship_core"
      • "core" = "ship_core"
      • "jumper" = "puddle_jumper"
      • "shuttle" = "sg_vehicle_shuttle"
      • "teltak" = "sg_vehicle_teltac"
      • "f302" = "sg_vehicle_f302"
      • "gate-glider" = "sg_vehicle_gate_glider"
      • "glider" = "sg_vehicle_glider"
    • VAR2 has to be the name of the owner your target should belong to. Note dont use space in it
    • If you want to target a borg sphere or cube use "special" as VAR1 and "sphere" or "cube" as VAR2
  • Fire (Toggles your weapons): "toggle","fire"
  • RepairTarget( Chooses the ship to repair, VAR is the name of the ships owner): "repair","VAR"
  • Repair(Toggles the repair beam): "toggle","repair"
Current Version is: 1.03 | 13.08.2015

Known bugs:
  • None

Done:
  • Tactical Commands
  • Transporter Commands
  • Support commands
  • Make them work with permissions

Todo(Probably not in this order):
  • Add commands for all functions
  • Make custom lib work
  • Adjust respond messages

Changelog:
Spoiler Expand
  • 13.08.2015
    • Added Tactical commands( For details see command list)
    • Added hidechat for players which are not the owner
  • 11.08.2015
    • Changed chat respond a little bit
    • Added first version of tactical commands
  • 10.08.2015
    • Fixed a bug with players not in factions getting errors
    • It now gives an hint if transporter pad is not connected
    • Added support and help commands for easier use
    • Made all commands work with permissions now.


SuperPlayer
Find
Reply
09-08-2015, 09:37 PM, (This post was last modified: 11-08-2015, 12:29 AM by LocInt.)
#3
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: Ship Mainframe / A.I[DOWNLOAD]
And here is the lift which I forgot to upload.


Attached Files
.txt   ENCOM_lift.txt (Size: 20.96 KB / Downloads: 28)

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
10-08-2015, 04:49 AM,
#4
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Ship Mainframe / A.I[DOWNLOAD]
The Mainframe is nice but there are 2 errors/bugs
1. The Chat lib from SuperPlayer dont exist
2. The LD Version looks not right : http://steamcommunity.com/sharedfiles/fi...=496969651
Find
Reply
10-08-2015, 07:40 AM, (This post was last modified: 10-08-2015, 08:00 AM by Obi.)
#5
Obi Offline
Zek'ke ah'rk naós ili kas zei'a
****
Posts: 143
Threads: 11
Joined: Oct 2013
RE: Ship Mainframe / A.I[DOWNLOAD]
Found some more glitches such as inernal security wont work shield plating cloak anti noclip dont work transporter systems broken and auto close toggle broken but still great work and the screen permissions dont work aswell as the ENCOM_lift is dead and wont move

[Image: aYUxfU5.gif?1]
ᴚǝ ᴉʌ ǝʞuᴉlɟ ås etevleh i neaf!
Find
Reply
10-08-2015, 09:17 AM,
#6
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Ship Mainframe / A.I[DOWNLOAD]
The bugs with the chat lib are fixed. I also added new features. For the rest its something LocInt has to answer.
Find
Reply
10-08-2015, 01:19 PM, (This post was last modified: 10-08-2015, 01:57 PM by LocInt.)
#7
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: Ship Mainframe / A.I[DOWNLOAD]
(10-08-2015, 04:49 AM)xXxANOxXx Wrote: The Mainframe is nice but there are 2 errors/bugs
1. The Chat lib from SuperPlayer dont exist
2. The LD Version looks not right : http://steamcommunity.com/sharedfiles/fi...=496969651

Im having a wrong dependency there sorry about that. Updating it.

(10-08-2015, 07:40 AM)tscm.Obiswagkenobi Wrote: Found some more glitches such as inernal security wont work shield plating cloak anti noclip dont work transporter systems broken and auto close toggle broken but still great work and the screen permissions dont work aswell as the ENCOM_lift is dead and wont move

Apparently you didn't bother to read any instructions about how to weld the stuff to the mainframe and ship_core which is why it did not work. There is also stuff about permissions.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
10-08-2015, 04:22 PM,
#8
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Ship Mainframe / A.I[DOWNLOAD]
Please add a node to your ship. Make sure its welded to the ship_core.
Please add a computer core to your ship. Make sure its welded to the ship_core.
Please add a quantum_drive to your ship. Make sure its welded to the ship_core.
i have on my ship a node,computer core and a quantum_drive but this message comes ever when i restart the chip
Find
Reply
10-08-2015, 04:25 PM,
#9
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: Ship Mainframe / A.I[DOWNLOAD]
(10-08-2015, 04:22 PM)xXxANOxXx Wrote: Please add a node to your ship. Make sure its welded to the ship_core.
Please add a computer core to your ship. Make sure its welded to the ship_core.
Please add a quantum_drive to your ship. Make sure its welded to the ship_core.
i have on my ship a node,computer core and a quantum_drive but this message comes ever when i restart the chip

Did you weld the mainframe to the ship core? Did you weld all those other items to ship_core? Did you UNWELD THEM FIRST and then WELD em?

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
10-08-2015, 04:48 PM,
#10
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Ship Mainframe / A.I[DOWNLOAD]
(10-08-2015, 04:25 PM)LocInt Wrote:
(10-08-2015, 04:22 PM)xXxANOxXx Wrote: Please add a node to your ship. Make sure its welded to the ship_core.
Please add a computer core to your ship. Make sure its welded to the ship_core.
Please add a quantum_drive to your ship. Make sure its welded to the ship_core.
i have on my ship a node,computer core and a quantum_drive but this message comes ever when i restart the chip

Did you weld the mainframe to the ship core? Did you weld all those other items to ship_core? Did you UNWELD THEM FIRST and then WELD em?

yes it is all welded to the ship core and the mainframe.
Find
Reply
« Next Oldest | Next Newest »
Pages (8): 1 2 3 4 5 … 8 Next »
Jump to page 


  • 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.