code logs -> 2016 -> Sun, 05 Jun 2016< code.20160604.log - code.20160606.log >
--- Log opened Sun Jun 05 00:00:43 2016
00:12 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
00:12 mode/#code [+o ion] by ChanServ
00:14 Kindamoody is now known as Kindamoody[zZz]
03:00 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
04:24 thalass|blarp is now known as Thalass
05:13 ShadowDragon8685 [IceChat7@Nightstar-r76g3n.east.verizon.net] has joined #code
05:16
< ShadowDragon8685>
Hey, I could use some help with Lua? I'm trying to edit a .lua file to mod Stellaris, but at the top of the key file I want to mod are instructions not to overwrite the whole file, but to override individual keys from another .lua file.
05:16
< ShadowDragon8685>
Specifically, it says: -- Note: for modding, avoid overwriting this file - instead overwrite individual keys from another lua file using the format NDefines.NCamera.FOV = 50
05:17
< ShadowDragon8685>
I think I get that format - NDefines is opened with a french bracket {, and NCamera is opened with another french bracket, and FOV is the first line within that french bracket.
05:17
< ShadowDragon8685>
But how do I format another .lua file to actually do that? Do I need to open it with like, mod = {
05:17
< ShadowDragon8685>
and then fill in all the keys I want, and close it with a close french bracket?
05:18 Derakon is now known as Derakon[AFK]
05:29
<~Vornicus>
You want to build a separate file because the file you're looking at will get patched (or have patc fails) when the game gets updated
05:30
< ShadowDragon8685>
Yeah, I got that. If new keys get added to the base file, the mod will become wholly incompatible 100% of the time.
05:30
<~Vornicus>
how precisely you talk about the other file and open it up depends on the system; I don't know stellaris so I can't tell you that
05:30
< ShadowDragon8685>
So I'm trying to override indivdual keys without overwriting the file.
05:30
< ShadowDragon8685>
I'm just not sure of the exact format I need. Do I NEED to like, open it with a, I think, class? (It's been soooo long since I sat in a Compsci course.)
05:31
< ShadowDragon8685>
IE, does the lua format require foo = { } to work?
05:31
<~Vornicus>
no, you want to -- uh
05:32
< ShadowDragon8685>
-- is comment notation.
05:32
<~Vornicus>
foo = { blah = 'cookies' } makes foo.blah == 'cookies'
05:32
< ShadowDragon8685>
Right.
05:32
<~Vornicus>
so what you're going to do in your other file is change the table by accessing the table and changing it
05:32
<~Vornicus>
so if you want foo.blah to be 'cheese' instead, you'd do foo.blah = 'cheese', and don't do that in a table
05:33
< ShadowDragon8685>
For example, the very first key in defines.lua is FOV = 35, which is inside NCamera = {}, which is itself inside NDefines ={}
05:33
< ShadowDragon8685>
So I just need NDefines.NCamera.FOX = 50 just, sitting out in plain text, to override that key?
05:33
<~Vornicus>
Yep
05:33
< ShadowDragon8685>
Ah, phew. Okay.
05:33
< ShadowDragon8685>
Err, FOV, not FOX.
05:34
< ShadowDragon8685>
Thanks.
05:56 celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:49 Kindamoody[zZz] is now known as Kindamoody
06:53 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
08:56 catadroid [catadroid@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Bye]
09:07
< jeroud>
https://twitter.com/mithrandi/status/739110670562557952
09:19
<~Vornicus>
Nice.
09:32 Kindamoody is now known as Kindamoody|afk
09:46 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has quit [Ping timeout: 121 seconds]
09:50 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has joined #code
09:50 mode/#code [+o Alek] by ChanServ
09:51 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
09:51 mode/#code [+o Crossfire] by ChanServ
10:51
<@gnolam>
jeroud: :D
11:08 Guest_74754 [NSkiwiirc@Nightstar-qmv.33l.159.119.IP] has joined #code
11:09
< Guest_74754>
Allah is doing
11:09
< Guest_74754>
sun is not doing Allah is doing
11:10
< Guest_74754>
moon is not doing Allah is doing
11:11
< Guest_74754>
stars are not doing Allah is doing
11:11 mode/#code [+b *!NSkiwiirc@*.119.IP] by gnolam
11:11 Guest_74754 was kicked from #code by gnolam [Off you go.]
11:11
<~Vornicus>
your FACE is doing
11:16 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
11:19 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
11:20 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:20 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
11:23 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
11:23
<@gnolam>
I'm kind of wondering about what kind of person thinks they can convert someone by spamming them on IRC.
11:24 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:24 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
11:25
<&[R]>
I think it's just a troll
11:27
<@TheWatcher>
I think you underestimate the lunacy of incoherant morons.
11:28
<@gnolam>
Yeah. I thought Chick tracts were brilliant satire until I encountered like my third one and then realized it was actually for real.
11:28
<@TheWatcher>
(Also, Lunacy of Incoherant Morons is my next band name)
11:28
<@gnolam>
Poe's Law, etc.
12:04 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
12:06 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
12:06 mode/#code [+o ion] by ChanServ
12:22 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
12:25 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
12:25 mode/#code [+o ion] by ChanServ
13:12
<@abudhabi>
https://history.google.com/history/ <- This thing empty for you guys too?
13:17
<~Vornicus>
Nope
13:18
<@abudhabi>
OK, so it seems to work, and I just configured Google correctly. :)
13:35 catadroid [catadroid@Nightstar-pob8bu.dab.02.net] has joined #code
13:41 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
15:48 Derakon[AFK] is now known as Derakon
15:50 celticminstrel [celticminst@Nightstar-80kfip.dsl.bell.ca] has joined #code
15:50 mode/#code [+o celticminstrel] by ChanServ
16:20 Derakon is now known as Derakon[AFK]
17:47 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
17:50 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has quit [[NS] Quit: Yay, he's gone]
18:14 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
18:15 mode/#code [+o Crossfire] by ChanServ
18:33 catadroid` [catadroid@Nightstar-bn7bov.dab.02.net] has joined #code
18:33 catadroid` [catadroid@Nightstar-bn7bov.dab.02.net] has quit [[NS] Quit: Bye]
18:33 catadroid` [catadroid@Nightstar-bn7bov.dab.02.net] has joined #code
18:35 catadroid [catadroid@Nightstar-pob8bu.dab.02.net] has quit [Ping timeout: 121 seconds]
18:58 Derakon[AFK] is now known as Derakon
19:24 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
19:24 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:47 Kindamoody|afk is now known as Kindamoody
21:35 * Azash edits WoD character sheets in notepad++, pauses, realizes he might have a problem http://i.imgur.com/bIVyPpE.png
21:36
< ShadowDragon8685>
RegEx Hell.
21:37
<@Azash>
Well I mean I know what I'm doing while doing it
21:37
<@Azash>
It's just one of those moments that cause intense self-reflection
21:37
<@Tamber>
That's the phrase that invites disaster. "I know what I'm doing" :p
21:38
<@Azash>
Tamber: I can amend it
21:38
<@Azash>
I know what I'm doing at the current point in time
21:38
<@Tamber>
Murphy heard you the first time, though. ;)
21:42
< catadroid`>
I know what I'm doing!
21:44
<@Azash>
I know what I'm doing! I don't know why, though
21:45 catadroid` is now known as catadroid
21:49 Shady [ShadyGuru@Nightstar-ut3scg.t132.ptd.net] has joined #code
22:00 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Connection closed]
22:00 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
22:00 mode/#code [+o ion] by ChanServ
22:03 Derakon is now known as Derakon[AFK]
22:47 ShadowDragon8685 [IceChat7@Nightstar-r76g3n.east.verizon.net] has quit [Ping timeout: 121 seconds]
23:06 Kindamoody is now known as Kindamoody[zZz]
23:32 Derakon[AFK] is now known as Derakon
23:55 crystalclaw|AFK is now known as crystalclaw
--- Log closed Mon Jun 06 00:00:59 2016
code logs -> 2016 -> Sun, 05 Jun 2016< code.20160604.log - code.20160606.log >

[ Latest log file ]