Thomas changed the topic of #kspmodding to: Welcome to #kspmodding - the channel for discussing, and learning about, modding Kerbal Space Program. Code of Conduct: https://git.io/vSQh6 | Always provide logs (do !support for help). | *** PSA: https://kerbalspaceprogram.com/api/index.html | <Red5> Guy was asked for a log file, he gave this link: http://pastebin.com/wfVarZPf
<taniwha>
(but yes, -ve would need to be handled separately)
<xShadowx>
-2.1 rounds to -1
<xShadowx>
heh
<xShadowx>
also, might wanna :.0: so you dont just wipe decimal away but meh
<taniwha>
no, the problem is part cost is float, tech entry cost is int
<taniwha>
must eliminate .
<xShadowx>
i thought MM did that already o.O
<Virindi>
why write crippled markup when you can write code :P
<taniwha>
5.1 * 5 :P
<taniwha>
Virindi: because could not write code
<xShadowx>
cuz MM patch
<Virindi>
you can always write code
<xShadowx>
if entry cost is your only usecase, id just truncate XD skip rounding
<xShadowx>
1$ is nothin :|
<xShadowx>
though ksp shouldve had em be atleast float, maybe double
<xShadowx>
not int >.>
<Virindi>
money costs?
<xShadowx>
costs as int is sucky
<Virindi>
no they should be decimal
<Virindi>
money should almost always be stored as decimal :P
<xShadowx>
overkill for a game
<xShadowx>
double works ;p
<Virindi>
overkill what is that!
<xShadowx>
though resources, id argue should be decimal :P
<Virindi>
dunno depends on what the range can be in practice
<xShadowx>
50 times/sec you change it, multiplying need * deltatime, and can easily run decimals to the point of wasting fuel for nothin
<xShadowx>
esp when tank is say xxx,xxx.xxxxxxxxx if you use it slowly enough the rounding errors build up :P
<Virindi>
WHOOP WHOOP WHOOP IMMINENT FAILURE OF MK1-2 COMMAND POD
<Virindi>
xShadowx Kerman was killed.
DuoDex is now known as dormantdex
<xShadowx>
Virindi: as (s)he should be :)
<Virindi>
?
<Virindi>
murder those kermans
<xShadowx>
[ERR 16:45:35.401] ItemPrefab for control type 'UI_Accordion' not found.
<xShadowx>
hmm :|
<Virindi>
rasterpropmonitor is a little harmful to the framerate
<Virindi>
:\
<xShadowx>
didnt used to be o.O
<Virindi>
well if you have like 20 monitors open
<xShadowx>
then maybe :P
<Virindi>
think I will just do jool 5 tonight
<Virindi>
I am bored
<oren>
No no no money should be stored as fixed
<Virindi>
that works too.
<Sarbian>
taniwha: nope
<Sarbian>
I am considering adding some kind of eval operation to do simple C# code from MM
<xShadowx>
Sarbian: excel style perhaps? regex scan for RND(stuff) and replace with result
<Sarbian>
More like a unix shell $( 2 + 3 ), but it works the same
<xShadowx>
whats $() do?;3
<Sarbian>
it evaluate the content, so yeah 3
<xShadowx>
need other cases though, RND, ABS, CEIL, etc
<Sarbian>
err 5
<Sarbian>
;)
<Sarbian>
$( Math.Cos(2) + 3 ) would work
<xShadowx>
ah so $() amnd anything inside is parsed/ran as if c# code?
SirKeplan has quit [Ping timeout: 200 seconds]
<xShadowx>
hopefully it would be after variables get checked for, so i can do $(Math.Abs($myvar$)) :P
* xShadowx
forgot variable paste syntax
<Sarbian>
yeah, after vars
blowfish has joined #kspmodding
<xShadowx>
^.^
<xShadowx>
part of me wonders if anyone will ever remake MM
<Virindi>
why should they
<xShadowx>
cuz :P
stratochief is now known as stratosleep
SirKeplan has joined #kspmodding
pap1723 is now known as Pap|Sleep
<Virindi>
you know what's more fun than playing the game? trying to exploit FAR
JPLRepo has joined #kspmodding
<Virindi>
I was trying to make a large cargo bay that a rover could drive out of, but what's the use of doing that if you don't do some intake ducting cheating and make it have no cross section
<Virindi>
so put some stuff on robotic hinges that cause intakes to move in front of stuff in flight thus giving you near zero cross section
<Virindi>
I wish there was some way to make intake ducting not so easy to exploit
<Sigma88>
does anyone have the stock file with science defs?
Technicalfool_ is now known as Technicalfool
<xShadowx>
Sigma88: everyone who has ksp installed?;3
<Sigma88>
exactly
<Sigma88>
I don't
<Sigma88>
:D
<xShadowx>
what
<Sigma88>
and since I have some free time I wanted to take a look at it
<xShadowx>
freak
<Sigma88>
had to format my laptop
<xShadowx>
how dare you not have ksp installed
<Sigma88>
it's still reinstalling the os
<xShadowx>
windows or linux?
<Sigma88>
win
<xShadowx>
good boy
<Sigma88>
I'm not that happy with the direction win is taking
<Sigma88>
but it's still better fit than linux for my needs
<xShadowx>
stick to win7
VanDisaster has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
VanDisaster has joined #kspmodding
<VanDisaster>
win7 is fine as long as there's drivers :p
<VanDisaster>
erg, loaded an old install up & my own mod appears to be broken. how does that even happen when it's just been sitting there doing nothing for months
<TwistedMinds>
environment changes (drivers & os update). Or it was already broken and you didn't realize :)
<xShadowx>
i vote option 2
<VanDisaster>
probably "I was porting it to 1.2 & forgot"
<TwistedMinds>
There you go :)
riocrokite has joined #kspmodding
<riocrokite>
taniwha: had a bit different idea what about creating first a big pile of regolith and then building inside different rooms depending on what you need
<riocrokite>
sort of XCom base ;)
<riocrokite>
would need custom plugin ofc
<riocrokite>
externally it would have just some elements indicating different rooms inside
Thomas|AWAY is now known as Thomas
<xShadowx>
riocrokite: like civ5 cities model adjusting to show whats in the city?;3
BasharMilesTeg_ has joined #kspmodding
Daz has quit [Remote host closed the connection]
BasharMilesTeg has quit [Ping timeout: 180 seconds]
* Thomas
read $() and thought "why the hell would Sarbian embed jQuery into MM" xD
X has quit [*.net *.split]
stratosleep has quit [*.net *.split]
Iskierka has quit [*.net *.split]
ehs has quit [*.net *.split]
Sarbian has quit [*.net *.split]
Virindi has quit [*.net *.split]
HiddenKnowledge has quit [*.net *.split]
* xShadowx
waves bye to people
* Thomas
waves bye to esper servers
* Thomas
reads more backlog
<Thomas>
win7 is becoming the new xp
<Thomas>
which is scaring me a bit :P
<xShadowx>
win10 is the new vista
<Thomas>
nah
<Thomas>
vista was junk, win10 just made some unpopular decisions
stratochief|away is now known as stratochief|remote
riocrokite has joined #kspmodding
Olympic1|Nomz is now known as Olympic1
* xShadowx
grumbles
<xShadowx>
those times when a class has nice virtual methods for you to override....then a key value it uses is in a private field......
<xShadowx>
you know when VS gives warnings/errors, is it possible to make your own warnings? like "virtual or overridden method uses a variable that is marked private" :P
<Virindi>
ever use something like fxcop
<xShadowx>
nupe
<Virindi>
your mind might be blown
<Virindi>
probably not in a good way
<Virindi>
it is a code analyzer that basically implements every little nitpicky style warning you could possibly imagine, times 1000
<Thomas>
xShadowx: And if that is not enough for you, write your own roslyn code analyzer
<xShadowx>
so an ex-wife plugin
<xShadowx>
Thomas: i'm not insane enough to go that far :|
<Technicalfool>
I'm wondering about moving that thread to Add On Discussion. Seems like an Actual Satellite Company want to make a mod that puts their satellites in KSP.
Thomas is now known as Thomas|AWAY
<xShadowx>
seems like addon disc to me
<xShadowx>
or addon dev but eh
<TwistedMinds>
is there a technical limitation why so many mods use png instead of dds files?
<Virindi>
dds is certainly more annoying to deal with
<TwistedMinds>
Ah yeah, that might be it :) I'm just so used to deal with dds files I might try to convert what I can and see if it makes a difference in this game
<xShadowx>
dds is lossy isnt it?
<Sigma88>
is there anyone on the forums that makes artsy stuff by request?
<xShadowx>
png as source is great though
<TwistedMinds>
Sigma88, nope, sorry :/ I don't know a lot of people from this community :I
Thorbane has joined #kspmodding
<Virindi>
technicalfool: you a forum mod? could you lock this http://forum.kerbalspaceprogram.com/index.php?/topic/150599-122-through-the-eyes-of-a-kerbal-1st-person-eva-continued-111-apr-1-2017/
<Virindi>
he said he was fine with me taking over the mod so I started a new thread
<TwistedMinds>
Virindi, might be worth linking the new thread as the last post, eh? ;)
<Virindi>
sure
<Virindi>
ughhh
<Virindi>
he broke it
<Virindi>
I imported his changes and they are broken
<Virindi>
how do I even roll back a commit in github jeez
<TwistedMinds>
click the revert button, or "git revert <commit_#>", IIRC
<Virindi>
jeez now I have to fix this real quick
<Virindi>
I got some weird exception right after I posted the thread
<Virindi>
That's better
<Virindi>
murphy says that you will find the bug in your code right after posting the new version while you are taking screenshots for the forum thread
regex has quit [Remote host closed the connection]
stratochief|remote is now known as stratochief
<Technicalfool>
Virindi, just spotted youur message. Old thread closed, I've linked your new thread in the OP too.