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 … 9 10 11 12 13 … 18 Next »
SF Stargazer Valve
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
SF Stargazer Valve
07-02-2016, 08:30 AM,
#1
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
SF Stargazer Valve
Hey all,

I just got an idea for LanAI Next to force the stargazer valve to work, however I need some checks :
Can you link the secondary node where to pump/push resource to using pure Starfall ? Can you retrieve a Boolean value corresponding to is player in buddies, so I know if I can auto link ?

Also I have another question not related to valve : What is the purpose of the tricorder hooks, and how does it work ?
Find
Reply
07-02-2016, 09:30 AM, (This post was last modified: 07-02-2016, 09:30 AM by Red The Blue Color.)
#2
Red The Blue Color Offline
TSCM Super Donating Member
****
Posts: 422
Threads: 34
Joined: Feb 2015
RE: SF Stargazer Valve
(07-02-2016, 08:30 AM)Yuri6037 Wrote: Hey all,

I just got an idea for LanAI Next to force the stargazer valve to work, however I need some checks :
Can you link the secondary node where to pump/push resource to using pure Starfall ? Can you retrieve a Boolean value corresponding to is player in buddies, so I know if I can auto link ?

Also I have another question not related to valve : What is the purpose of the tricorder hooks, and how does it work ?

http://www.teamscm.co.uk/sfdoc/classes/Entity.html#link < link function Starfall docs are incredibly helpful Big Grin

I believe Player:getFriendStatus() would do the buddy thing but im not 100 percent sure and its only usable in clientside
I believe tricorders hooks are just for logging as they seem to only tell you when a player is attempting usage and if they succeeded in using and has no option to stop them.

"with it's superior software, i have no doubt it will succeed in finding fuck all" - T-17, 2016

[Super Member] [ENCOM] т-ѕсм.Red The Blue Color™: server do you support Hitler?
[Server] srcds_linux: The probabilty is about 99.99%, so interpret that how you want to.
Find
Reply
07-02-2016, 12:36 PM,
#3
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: SF Stargazer Valve
You're not going to be able to "force the stargazer valve to work" through Starfall. It's not as if the Starfall methods reimplement what they're binding, they just use the standard link which will prevent the link to a node owned by a different player to the valve's owner.

The tricorder hooks are so you can make your chip respond to tricorder usage. Return true in "CheckTricorderOverride" to allow them to use right click on it, and then "TricorderOverride" is called when the bar is filled up.

(07-02-2016, 09:30 AM)Red The Blue Color Wrote: I believe Player:getFriendStatus() would do the buddy thing but im not 100 percent sure and its only usable in clientside
This is Steam friend status, not prop protection.
Find
Reply
07-02-2016, 01:45 PM,
#4
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: SF Stargazer Valve
(07-02-2016, 12:36 PM)Person8880 Wrote: You're not going to be able to "force the stargazer valve to work" through Starfall. It's not as if the Starfall methods reimplement what they're binding, they just use the standard link which will prevent the link to a node owned by a different player to the valve's owner.

The tricorder hooks are so you can make your chip respond to tricorder usage. Return true in "CheckTricorderOverride" to allow them to use right click on it, and then "TricorderOverride" is called when the bar is filled up.

(07-02-2016, 09:30 AM)Red The Blue Color Wrote: I believe Player:getFriendStatus() would do the buddy thing but im not 100 percent sure and its only usable in clientside
This is Steam friend status, not prop protection.

I say force because when I wire nothing but just link the valve to a second resource node nothing works, so that's why I would like to know if Starfall arrives to start the valve.
And about the prop protection ? Is there any way I know if I have the permission to link to the node ? Or is there a message given when you try the link method ?

I ask that because I check the doc by the internet site teamscm.co.uk/sfdoc/ and on that site many things are missing and for example the waterLevel method is not existing, and many functions are not explained.

About the tricorder that was just to know the usage of it but visibky it's not serving anything...
Find
Reply
07-02-2016, 02:00 PM,
#5
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: SF Stargazer Valve
The web docs are way out of date because all documentation is in the editor now. Press the ? button at the top right of the editor and search away.
Find
Reply
« Next Oldest | Next Newest »


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