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 2 3 4 5 … 18 Next »
Release Chat Warp (Chat Driven Warp Chip)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Release Chat Warp (Chat Driven Warp Chip)
17-11-2021, 11:11 PM,
#3
Avorius Offline
Valued donator and member
****
Posts: 128
Threads: 47
Joined: Dec 2015
RE: Chat Warp (Chat Driven Warp Chip)
Quote:
WarpDestination = {Name = "Hiigara", Vec = Vector(x, y, z)}
This way, your destination informations would be pretty easy to access in one time.

Thats a good idea, would for sure help with streamlining everything and cutting down on bulk, I'll look into adding this on the next version of the chip

Quote:
You could also run the wirelink each time you execute a command that would require such wirelink to be made like the warp command.

This way you would avoid to re-run the code every second and thus wasting precious quota (even though the loss is minimal given the function ran every sec)

Hmm, I probably will change the current way I'm doing the wirelinking completely in the next version, likely utilising hooks to update the chip's wirelinks, and possibly add a function that enables drive-switching and the like. 

Quote:
I would also suggest to avoid adding prevLoc = Vector(), setting it to nil or to the chip's current position would be wiser to make sure users can't accidentally warp back to a destination they've never been to, especially when this destination is 0 0 0.

Oops, seems I didn't iron out all of the bugs, I'll update that to be
nil
instead of
Vector()
 
Afaik when the vector is set to (0, 0, 0) the drive won't engage either way, as your ship would end up in the wall, but, it's better to be safe than sorry. Thanks for pointing that out.

Quote:
To go further, you could also make it a warp history, with the ability to rewind destinations until the first one registered by the chip.

That would be something I would add in the next version, as I feel it would take a lot of time away from me making the other components of this 'little' project I'm working on.

All in all, thank you for the suggestions on this Doc, any other ideas/bugs you find, please let me know Smile

-George


Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Chat Warp (Chat Driven Warp Chip) - by Avorius - 17-11-2021, 12:42 AM
RE: Chat Warp (Chat Driven Warp Chip) - by The17thDoctor - 17-11-2021, 01:45 AM
RE: Chat Warp (Chat Driven Warp Chip) - by Avorius - 17-11-2021, 11:11 PM
RE: Chat Warp (Chat Driven Warp Chip) - by Avorius - 18-11-2021, 03:15 AM

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