![]() |
|
Release Ship A.I /Dialing computer UI - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: Release Ship A.I /Dialing computer UI (/thread-1230.html) |
Ship A.I /Dialing computer UI - LocInt - 09-08-2015 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. 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: SF tarfall/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! RE: Ship Mainframe / A.I - SuperPlayer - 09-08-2015 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
Known bugs:
Done:
Todo(Probably not in this order):
Changelog:
Spoiler Expand
SuperPlayer RE: Ship Mainframe / A.I[DOWNLOAD] - LocInt - 09-08-2015 And here is the lift which I forgot to upload. RE: Ship Mainframe / A.I[DOWNLOAD] - 4N0NYM - 10-08-2015 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/filedetails/?id=496969651 RE: Ship Mainframe / A.I[DOWNLOAD] - Obi - 10-08-2015 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 RE: Ship Mainframe / A.I[DOWNLOAD] - SuperPlayer - 10-08-2015 The bugs with the chat lib are fixed. I also added new features. For the rest its something LocInt has to answer. RE: Ship Mainframe / A.I[DOWNLOAD] - LocInt - 10-08-2015 (10-08-2015, 04:49 AM)xXxANOxXx Wrote: The Mainframe is nice but there are 2 errors/bugs 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. RE: Ship Mainframe / A.I[DOWNLOAD] - 4N0NYM - 10-08-2015 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 RE: Ship Mainframe / A.I[DOWNLOAD] - LocInt - 10-08-2015 (10-08-2015, 04:22 PM)xXxANOxXx Wrote: Please add a node to your ship. Make sure its welded to the ship_core. 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? RE: Ship Mainframe / A.I[DOWNLOAD] - 4N0NYM - 10-08-2015 (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. yes it is all welded to the ship core and the mainframe. |