Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

Which update would you like the most?

Randomized Backstories
- 67 (25.9%)
Genetic Additions
- 98 (37.8%)
Mess Hall
- 50 (19.3%)
Revamped Area
- 44 (17%)

Total Members Voted: 257


Pages: 1 ... 459 460 [461] 462 463 ... 950

Author Topic: Space Station 13 *READ RULES ON FIRST POST*  (Read 823667 times)

Googolplexed

  • Bay Watcher
  • My avatar is of whitespace, Not the firefox logo
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6900 on: February 02, 2010, 11:29:57 pm »

If the Bay12 server goes back up, I might come back.
I might be able to host sometimes, but I'm in Australia.

Maybe on the weekends if no-one else does
Logged

immibis

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6901 on: February 04, 2010, 01:44:00 am »

I have some code you might want, I made it for an old version of Goonstation but somebody said it can be ported fairly easily. This is the entire contents of code/game/power/monitor.dm in my copy of the code (was code/game/power.dm until I split it off into another file).

What is different is that the status of generators, gas turbines, smes's and solar panel arrays can be viewed, and remotely controlled if you have access_power_remote access (which is new). Individual channels of APCs can also be remotely controlled.
I'm not sure whether you would want this or not but I'm posting it here anyway.

Code: [Select]
// the power monitoring computer

/obj/machinery/power/monitor
var
locked = 1

attack_ai(mob/user)
add_fingerprint(user)

if(stat & (BROKEN|NOPOWER))
return
interact(user)

attack_hand(mob/user)
add_fingerprint(user)

if(stat & (BROKEN|NOPOWER))
return
interact(user)

attackby(obj/item/weapon/W, mob/user as mob)
if(istype(W, /obj/item/weapon/card/id))
var/obj/item/weapon/card/id/id = W
if(access_power_remote in id.access)
locked = !locked
user << "You [locked ? "lock" : "unlock"] the remote control interface."

if(istype(W, /obj/item/weapon/card/emag))
if(prob(50))
locked = !locked
user << "You [locked ? "lock" : "unlock"] the remote control interface."
else
user << "You fail to [locked ? "unlock" : "lock"] the remote control interface."

proc/interact(mob/user)

if ( (get_dist(src, user) > 1 ) || (stat & (BROKEN|NOPOWER)) )
if (!istype(user, /mob/ai))
user.machine = null
user << browse(null, "window=powcomp")
return


user.machine = src
var/t = "<H2>Power Monitoring</H2>"

t += "<A href='?src=\ref[src];close=1'>Close</A><HR>"


if(!powernet)
t += "\red No connection"
else

var/list/apcs = list()
var/list/smeses = list()
var/list/tegs = list()
var/list/turbines = list()
var/list/solars = list()
for(var/obj/machinery/power/generator/G in powernet.nodes)
tegs += G
for(var/obj/machinery/power/turbine/T in powernet.nodes)
turbines += T
for(var/obj/machinery/power/solar_control/S in powernet.nodes)
solars += S
for(var/obj/machinery/power/terminal/term in powernet.nodes)
if(istype(term.master, /obj/machinery/power/apc))
var/obj/machinery/power/apc/A = term.master
apcs += A
else if(istype(term.master, /obj/machinery/power/smes))
var/obj/machinery/power/smes/S = term.master
smeses += S

t += "<PRE>Total power: [num2text(round(powernet.avail), 10)] W<BR>Total load:  [num2text(round(powernet.viewload),10)] W<BR><HR>"

t += "<FONT SIZE=-1>"

if(apcs.len > 0)

t += "Area                           Breaker Eqp./Lgt./Env.  Load   Cell<BR>"

var/list/S = list(" Off","AOff","  On", " AOn")
var/list/chg = list("N","C","F")

for(var/obj/machinery/power/apc/A in apcs)

t += copytext(add_tspace(A.area.name, 30), 1, 30)

if(locked)
t += " [A.operating ? "On     " : "Off    "]"
t += " [S[A.equipment+1]]"
t += " [S[A.lighting+1]]"
t += " [S[A.environ+1]]"
else
t += " [A.operating ? "<A href='?src=\ref[src];apc=\ref[A];breaker=0'>On</A>     " : "<A href='?src=\ref[src];apc=\ref[A];breaker=1'>Off</A>    "]"
t += " <A href='?src=\ref[src];apc=\ref[A];equipment=[A.equipment ^ 1]'>[(A.equipment & 1) ? "A" : " "]</A><A href='?src=\ref[src];apc=\ref[A];equipment=[A.equipment ^ 2]'>[(A.equipment & 2) ? "On " : "Off"]</A>"
t += " <A href='?src=\ref[src];apc=\ref[A];lighting=[A.lighting ^ 1]'>[(A.lighting & 1) ? "A" : " "]</A><A href='?src=\ref[src];apc=\ref[A];lighting=[A.lighting ^ 2]'>[(A.lighting & 2) ? "On " : "Off"]</A>"
t += " <A href='?src=\ref[src];apc=\ref[A];environ=[A.environ ^ 1]'>[(A.environ & 1) ? "A" : " "]</A><A href='?src=\ref[src];apc=\ref[A];environ=[A.environ ^ 2]'>[(A.environ & 2) ? "On " : "Off"]</A>"
t += " [add_lspace(A.lastused_total, 6)]"
t += "  [A.cell ? "[add_lspace(round(A.cell.percent()), 3)]% [chg[A.charging+1]]" : "  N/C"]<BR>"

if(smeses.len > 0)
if(apcs.len > 0)
t += "<HR>"
t += "Name                             Input  Output Charging  Status     Load Charge<BR>"
//   "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx iiiiiii ooooooo ccccccccc sssssss lllllll ccc.c%"
for(var/obj/machinery/power/smes/S in smeses)
t += "[copytext(add_tspace((S.n_tag ? "SMES ([S.n_tag])" : "SMES"), 31), 1, 30)]  "
if(locked)
t += "[add_lspace(round(S.chargelevel), 7)] "
t += "[add_lspace(round(S.output), 7)] "
t += "[S.chargemode ? (S.charging ? "Auto On  " : "Auto Off ") : "Off      "] "
t += "[S.online ? "Online " : "Offline"] "
else
t += "<A href='?src=\ref[src];smes=\ref[S];chargelevel=1'>[add_lspace(round(S.chargelevel), 7)]</A> "
t += "<A href='?src=\ref[src];smes=\ref[S];output=1'>[add_lspace(round(S.output), 7)]</A> "
t += "[S.chargemode ? "<A href='?src=\ref[src];smes=\ref[S];chargemode=0'>" + (S.charging ? "Auto On</A>  " : "Auto Off</A> ") : "<A href='?src=\ref[src];smes=\ref[S];chargemode=1'>Off</A>      "] "
t += "[S.online ? "<A href='?src=\ref[src];smes=\ref[S];online=0'>Online</A> " : "<A href='?src=\ref[src];smes=\ref[S];online=1'>Offline</A>"] "
t += "[add_lspace(round(S.loaddemand), 7)] "
t += "[add_lspace(round(S.charge / S.capacity * 100, 3), 5)]%<BR>"

if(tegs.len > 0 || solars.len > 0 || turbines.len > 0)
if(smeses.len > 0 || apcs.len > 0)
t += "<HR>"
if(tegs.len > 0)
t += "                                                 Hot Loop            Cold Loop<BR>"
t += "Name                               Output  Circ    In     Out    Circ    In     Out<BR>"
//   "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx oooooooooo  ccc% tttttt tttttt    ccc% tttttt tttttt"
for(var/obj/machinery/power/generator/G in tegs)
if(!G.circ1 || !G.circ2 || (G.stat & BROKEN))
t += "[G.n_tag ? "TEG ([G.n_tag])" : "TEG"] (BROKEN)<BR>"
else if(G.stat & NOPOWER)
t += "[G.n_tag ? "TEG ([G.n_tag])" : "TEG"] (UNPOWERED)<BR>"
else
t += "[copytext(add_tspace((G.n_tag ? "TEG ([G.n_tag])" : "TEG"), 31), 1, 30)]  "
t += "[add_lspace(round(G.lastgen), 10)]  "
if(locked)
t += "[add_lspace(G.c2on ? "[G.c2rate]%" : "Off", 4)] "
else
t += "<A href='?src=\ref[src];teg=\ref[G];c2=1'>[add_lspace(G.c2on ? "[G.c2rate]%" : "Off", 4)]</A> "
t += "[add_lspace(G.circ2.ngas1.temperature > 1000 ? round(G.circ2.ngas1.temperature) : round(G.circ2.ngas1.temperature, 0.1), 6)] "
t += "[add_lspace(G.circ2.ngas2.temperature > 1000 ? round(G.circ2.ngas2.temperature) : round(G.circ2.ngas2.temperature, 0.1), 6)]    "
if(locked)
t += "[add_lspace(G.c1on ? "[G.c1rate]%" : "Off", 4)] "
else
t += "<A href='?src=\ref[src];teg=\ref[G];c1=1'>[add_lspace(G.c1on ? "[G.c1rate]%" : "Off", 4)]</A> "
t += "[add_lspace(G.circ1.ngas1.temperature > 1000 ? round(G.circ1.ngas1.temperature) : round(G.circ1.ngas1.temperature, 0.1), 6)] "
t += "[add_lspace(G.circ1.ngas2.temperature > 1000 ? round(G.circ1.ngas2.temperature) : round(G.circ1.ngas2.temperature, 0.1), 6)]<BR>"
if(turbines.len > 0)
if(tegs.len > 0)
t += "<HR>"
t += "Name                               Output   Speed Starter<BR>"
//   "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx oooooooooo rrrrrrr sssssss"
for(var/obj/machinery/power/turbine/T in turbines)
if(!T.compressor || (T.stat & BROKEN))
t += "[T.n_tag ? "Turbine ([T.n_tag])" : "Turbine"] (BROKEN)<BR>"
else if(T.stat & NOPOWER)
t += "[T.n_tag ? "Turbine ([T.n_tag])" : "Turbine"] (UNPOWERED)<BR>"
else
var/gen = T.lastgen - (T.compressor.starter * COMPSTARTERLOAD)
t += "[copytext(add_tspace((T.n_tag ? "Turbine ([T.n_tag])" : "Turbine"), 31), 1, 30)]  "
t += "[add_lspace(round(gen), 10)] "
t += "[add_lspace(round(T.compressor.rpm), 7)] "
if(locked)
t += "[T.compressor.starter ? "On     " : "Off    "]<BR>"
else
t += "[T.compressor.starter ? "<A href='?src=\ref[src];turbine=\ref[T];starter=0'>On</A>     " : "<A href='?src=\ref[src];turbine=\ref[T];starter=1'>Off</A>    "]<BR>"
if(solars.len > 0)
if(tegs.len > 0 || solars.len > 0)
t += "<HR>"
t += "Name                               Output   Angle  Tracking    Rate Dir<BR>"
//   "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx oooooooooo  aaaaaa  tttttttt  rrrrrr ddd"
for(var/obj/machinery/power/solar_control/S in solars)
if(S.stat & BROKEN)
t += "Solar Array ([S.id]) (CONTROL BROKEN)<BR>"
else if(S.stat & NOPOWER)
t += "Solar Array ([S.id]) (CONTROL UNPOWERED)<BR>"
else
t += "[copytext(add_tspace("Solar Array ([S.id])", 31), 1, 30)]  "
t += "[add_lspace(round(S.lastgen), 10)]  "
if(locked)
t += "[add_lspace(round(S.cdir, 0.1), 6)]  "
t += "[S.track ? "On      " : "Off     "]  "
t += "[add_lspace(round(S.trackrate), 6)] "
else
t += "<A href='?src=\ref[src];solar=\ref[S];cdir=1'>[add_lspace(round(S.cdir, 0.1), 6)]</A>  "
t += "<A href='?src=\ref[src];solar=\ref[S];track=[!S.track]'>[S.track ? "On</A>      " : "Off</A>     "]  "
t += "<A href='?src=\ref[src];solar=\ref[S];trackrate=1'>[add_lspace(round(S.trackrate), 6)]</A> "
t += "[S.trackrate < 0 ? "CCW" : " CW"]<BR>"

t += "</PRE>"
user << browse(t, "window=powcomp;size=700x570")

Topic(href, href_list)
..()

if(href_list["close"] || get_dist(src, usr) > 1 || (stat & (NOPOWER|BROKEN)))
usr << browse(null, "window=powcomp")
usr.machine = null
return

if(href_list["apc"])
var/obj/machinery/power/apc/A = locate(href_list["apc"])
if(href_list["equipment"])
var/n = text2num(href_list["equipment"])
if((n & 2) != (A.equipment & 2)) // if automatic, and attempting to override, then turn off automatic
n &= 2
A.equipment = n
A.update()
if(href_list["lighting"])
var/n = text2num(href_list["lighting"])
if((n & 2) != (A.lighting & 2)) // if automatic, and attempting to override, then turn off automatic
n &= 2
A.lighting = n
A.update()
if(href_list["environ"])
var/n = text2num(href_list["environ"])
if((n & 2) != (A.environ & 2)) // if automatic, and attempting to override, then turn off automatic
n &= 2
A.environ = n
A.update()
if(href_list["breaker"])
var/n = text2num(href_list["breaker"])
A.operating = n
A.update()

if(href_list["smes"])
var/obj/machinery/power/smes/S = locate(href_list["smes"])
if(href_list["chargemode"])
S.chargemode = text2num(href_list["chargemode"])
if(href_list["online"])
S.online = text2num(href_list["online"])
if(href_list["output"])
usr.machine = null
S.output = input("Enter new output level (max [S.maxoutput])", S.n_tag ? "SMES ([S.n_tag]) remote control" : "SMES remote control", "[S.output]") as num
usr.machine = src
S.output = max(0, min(S.maxoutput, S.output))
if(href_list["chargelevel"])
usr.machine = null
S.chargelevel = input("Enter new input level (max [S.maxchargelevel])", S.n_tag ? "SMES ([S.n_tag]) remote control" : "SMES remote control", "[S.chargelevel]") as num
usr.machine = src
S.chargelevel = max(0, min(S.maxchargelevel, S.chargelevel))

if(href_list["teg"])
var/obj/machinery/power/generator/G = locate(href_list["teg"])
if(href_list["c1"])
usr.machine = null
var/rate = input("Enter new cold-loop circulator rate (0..100)", G.n_tag ? "TEG ([G.n_tag]) remote control" : "TEG remote control", "[G.c1on ? G.c1rate : 0]") as num
usr.machine = src
if(rate == 0)
G.c1on = 0
else
G.c1rate = max(1, min(100, rate))
G.c1on = 1
G.circ1.control(G.c1on, G.c1rate)
G.updateicon()
if(href_list["c2"])
usr.machine = null
var/rate = input("Enter new hot-loop circulator rate (0..100)", G.n_tag ? "TEG ([G.n_tag]) remote control" : "TEG remote control", "[G.c2on ? G.c2rate : 0]") as num
usr.machine = src
if(rate == 0)
G.c2on = 0
else
G.c2rate = max(1, min(100, rate))
G.c2on = 1
G.circ2.control(G.c2on, G.c2rate)
G.updateicon()

if(href_list["turbine"])
var/obj/machinery/power/turbine/T = locate(href_list["turbine"])
if(href_list["starter"])
T.compressor.starter = text2num(href_list["starter"])

if(href_list["solar"])
var/obj/machinery/power/solar_control/S = locate(href_list["solar"])
if(href_list["track"])
S.track = text2num(href_list["track"])
if(href_list["trackrate"])
usr.machine = null
S.trackrate = input("Enter new tracking rate in degrees per hour", "Solar Array ([S.id]) remote control", "[S.trackrate]") as num
usr.machine = src
S.trackrate = min(7200, max(-7200, S.trackrate))
if(S.trackrate) S.nexttime = world.timeofday + 3600/abs(S.trackrate)
if(href_list["cdir"])
usr.machine = null
S.cdir = input("Enter new orientation in degrees", "Solar Array ([S.id]) remote control", "[S.cdir]") as num
usr.machine = src
S.cdir = min(359, max(0, S.cdir))
S.set_panels(S.cdir)
S.updateicon()

process()
if(!(stat & (NOPOWER|BROKEN)) )
use_power(250)

src.updateDialog()


power_change()

if(stat & BROKEN)
icon_state = "broken"
else
if( powered() )
icon_state = initial(icon_state)
stat &= ~NOPOWER
else
spawn(rand(0, 15))
src.icon_state = "c_unpowered"
stat |= NOPOWER


Logged
If I wanted ramps I would've designated ramps, dammit!

quinnr

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6902 on: February 04, 2010, 08:38:16 am »

One guy made a door that shocked me for 3 minutes straight. Then he blew up all of toxins.

Making bombs is HARD. Anything made with the heater makes a fire, so you have to do this whole complex thing.
Logged
To exist or not exist, that is the query. For whether it is more optimal of the CPU to endure the viruses and spam of outragous fortune, or to something something something.

head

  • Bay Watcher
  • Whoop Whoop.
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6903 on: February 04, 2010, 09:46:22 am »

I wonder if shocking should shock for 3min because Ive died plenty times of that.
Logged
Dev on Baystation12- Forums
Steam Username : Headswe

quinnr

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6904 on: February 04, 2010, 11:12:50 am »

I think it's a way to rig the door from being tampered with.
Logged
To exist or not exist, that is the query. For whether it is more optimal of the CPU to endure the viruses and spam of outragous fortune, or to something something something.

Giant Snowman

  • Bay Watcher
  • It's a Giant Snowman adventure.
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6905 on: February 04, 2010, 11:58:10 am »

One guy made a door that shocked me for 3 minutes straight. Then he blew up all of toxins.

Making bombs is HARD. Anything made with the heater makes a fire, so you have to do this whole complex thing.
You mean it zapped you and knocked you out for three minutes? You should only get one zap per touch. To make a bomb in a heater you have to heat up a million units of plasma (the amount in one portable tank) to 500 degrees. Anything less in volume or temperature will indeed simply burn.
Logged
Benzene on steam.

beorn080

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6906 on: February 04, 2010, 12:45:00 pm »

YNTWTB.
Logged
Ustxu Iceraped the Frigid Crystal of Slaughter was a glacier titan. It was the only one of its kind. A gigantic feathered carp composed of crystal glass. It has five mouths full of treacherous teeth, enormous clear wings, and ferocious blue eyes. Beware its icy breath! Ustxu was associated with oceans, glaciers, boats, and murder.

quinnr

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6907 on: February 04, 2010, 12:48:06 pm »

One guy made a door that shocked me for 3 minutes straight. Then he blew up all of toxins.

Making bombs is HARD. Anything made with the heater makes a fire, so you have to do this whole complex thing.
You mean it zapped you and knocked you out for three minutes? You should only get one zap per touch. To make a bomb in a heater you have to heat up a million units of plasma (the amount in one portable tank) to 500 degrees. Anything less in volume or temperature will indeed simply burn.

No, it kept zapping me. Again and again and again.

Here's what happened today:
Aaahhhh!

I just learned how to make bombs, so I spent FOREVER making a huge bomb...like blow up the entire ship bomb. To get a bomb this hot, you have to spend forever heating it up, adding oxygen, and such. So I get it done, and hook it up to a timer.

Because the AI was being annoying, my friend and I decided to blow it up. (At least make it the center of the explosion.)

We arm it to 30 seconds, and he runs away (I had to log out anyway, so I stayed to watch.) When a guy runs up, disarms it, and runs away WITH MY BOMB!

I had to log off, but I would've killed him with my oxygen tank.
Logged
To exist or not exist, that is the query. For whether it is more optimal of the CPU to endure the viruses and spam of outragous fortune, or to something something something.

beorn080

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6908 on: February 04, 2010, 12:52:31 pm »

Its not that hard making a station killer. Well, at least on our server, Goon Station you can't and I expect data's you could use a super power your requested to do that. Heck, I have a tendency to turn [Data Redacted] into a super furnace. I really want the station to be up, since I want to see if I can figure out a way to get superheated but non flaming plasma into the vent system.
Logged
Ustxu Iceraped the Frigid Crystal of Slaughter was a glacier titan. It was the only one of its kind. A gigantic feathered carp composed of crystal glass. It has five mouths full of treacherous teeth, enormous clear wings, and ferocious blue eyes. Beware its icy breath! Ustxu was associated with oceans, glaciers, boats, and murder.

quinnr

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6909 on: February 04, 2010, 01:13:40 pm »

It was hard for me..it was only my second time.

And I can see how it would be easy once you got all the steps memorized, but it is still time consuming.
Logged
To exist or not exist, that is the query. For whether it is more optimal of the CPU to endure the viruses and spam of outragous fortune, or to something something something.

Apple Master

  • Bay Watcher
  • The Master of Apples. IT IS AN APPLE
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6910 on: February 04, 2010, 01:26:23 pm »

When is the server up anywayz?
Also lol bombs are easy :P
Logged
PSN: SirAppleforth. Add me and say you're from Bay12!

beorn080

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6911 on: February 04, 2010, 02:05:17 pm »

Heaters are only good for small bombs, and really they should be the only thing you use. Though a nice 1k bomb is good for completely destroying an area. Also, toxins is not a great place to make bombs.
Logged
Ustxu Iceraped the Frigid Crystal of Slaughter was a glacier titan. It was the only one of its kind. A gigantic feathered carp composed of crystal glass. It has five mouths full of treacherous teeth, enormous clear wings, and ferocious blue eyes. Beware its icy breath! Ustxu was associated with oceans, glaciers, boats, and murder.

quinnr

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6912 on: February 04, 2010, 03:28:36 pm »

I am trying to make a 4k degrees bomb, so I get banned again.
Logged
To exist or not exist, that is the query. For whether it is more optimal of the CPU to endure the viruses and spam of outragous fortune, or to something something something.

Mono124

  • Bay Watcher
  • Into the abyss you go!
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6913 on: February 04, 2010, 03:42:58 pm »

Is the server up?
Logged
Quote
Collin Quay- [145.9]-broadcasts: As a professional doctor, I have to say, dodge the fucking meteors or you will die.

immibis

  • Bay Watcher
    • View Profile
Re: Space Station 13 *READ RULES ON FIRST POST*
« Reply #6914 on: February 05, 2010, 12:36:23 am »

Its not that hard making a station killer. Well, at least on our server, Goon Station you can't and I expect data's you could use a super power your requested to do that. Heck, I have a tendency to turn [Data Redacted] into a super furnace. I really want the station to be up, since I want to see if I can figure out a way to get superheated but non flaming plasma into the vent system.
Some guys found a way to get around the 3k limit on Goonstation (Hint: Heaters don't melt at 3000 degrees, and pipes break (and connect with the turf they're on) at high temperature and/or pressure)
Logged
If I wanted ramps I would've designated ramps, dammit!
Pages: 1 ... 459 460 [461] 462 463 ... 950