egg|principia|egg changed the topic of #kspmodders to: Welcome to #kspmooders | <Majiir> egg is pretty much just a chickenfetus until you start talking about floating point | <SilverFox> "little" doesn't seem like a real word to me right now
Snoozee is now known as Majiir
Majiir is now known as Snoozee
GlsFrg|phone has joined #kspmodders
Glass|phone has quit [Ping timeout: 204 seconds]
RandomJeb has quit [Ping timeout: 200 seconds]
Supernovy has joined #kspmodders
RoverDude has quit [Quit: Leaving]
<G-Mobile> SilverFox: yes
Wetmelon has joined #kspmodders
icefire has quit [Ping timeout: 201 seconds]
fcbayerndm has quit [Quit: fcbayerndm]
<SilverFox> G-Mobile, the game so far is some semblance of fun, if i had randomly spawning targets and comtrols it'd be great
iPeer has quit []
tgeeky has joined #kspmodders
tgeeky has quit [Client Quit]
tgeeky has joined #kspmodders
tgeeky has left #kspmodders [#kspmodders]
tgeeky has joined #kspmodders
tgeeky has quit [Client Quit]
<G-Mobile> SilverFox: cool
<SilverFox> it's kinda neat to adjust the values and see how far it goes
<G-Mobile> and you've got the whole "you're shooting at stuff you cant see" part, right?
<SilverFox> well, if the target is anywhere past about 300-400m then yeah
<SilverFox> so perhaps what I'll do is spawn a target, and have an arrow above the turret to show the direction, give you the distance, and then you can work it out
<SilverFox> there are 3 types of munitions so far that I can implement, capsule, sphere, cube
<SilverFox> capsule does a few flips before stopping, sphere likes to roll lots, cube doesn't like moving lots after it hits the ground
<SilverFox> sphere would be good to get into tunnels and shit
<SilverFox> cube would have more drag, but would be more accurate in its landing site
<SilverFox> ~temp 0c
<FoxBot9000> SilverFox, having a hard time parsing that one...
<SilverFox> ~temp 0C
<FoxBot9000> SilverFox, Temp: 0.0°C, 32.0°F, 273.15°K, -1635.9846°e, -3.6109178°ln
GlassYuri has joined #kspmodders
Tank2333 has joined #kspmodders
pizzaoverhead has quit [Ping timeout: 201 seconds]
pizzaoverhead has joined #kspmodders
Tank2333 has quit [Ping timeout: 201 seconds]
Tank2333 has joined #kspmodders
Samario has quit [Ping timeout: 204 seconds]
angavrilov has joined #kspmodders
<G-Mobile> Ok so you've got the shootery, what should be next
<SilverFox> making some damn controls
<G-Mobile> Ok sure
<Tank2333> Kill people
<G-Mobile> I kinda want to make it all in game interaction, like myst
<G-Mobile> so have like levers and dials that you fiddle with to cause the cannon to move
<SilverFox> yeah well that can suck a dick
<SilverFox> I have to deal with unity being shit
<SilverFox> at some power levels the damn shell phases through the ground
Unknown601 has quit [Ping timeout: 180 seconds]
<Tank2333> Sounds annoying in the long run
<SilverFox> it is, because I'll have to make a person whom you play
<SilverFox> and do art assets and shit
<SilverFox> and make levers and dials
<SilverFox> fuck that
Samario has joined #kspmodders
<G-Mobile> Ok then how about the gun is a vehicle you can get in and out if, and its controls are only active when you're in it, like ksp and kerbals
<SilverFox> still fuck that at this point
<SilverFox> arrow keys to rotate the artillery cannon and tilt it, done
<G-Mobile> ok then ksp pitch/yaw/throttle keybinds
<G-Mobile> never use the fucking arrow keys what is this 1978?
<SilverFox> I can send you the code and you can feel free to bind the controls yourself
<SilverFox> however, I'm just trying to get the thing working
<GlsFrg|phone> use the pre-defined horizontal and vertical axis...
<GlsFrg|phone> that will pick up wasd and gamepads by default
<GlsFrg|phone> think of the peasants!
<SilverFox> show me the api shit for that
<GlsFrg|phone> input.getaxis or so
<G-Mobile> So 0.1, it exists, 0.2, controls, 0.3 having targets and being able to shoot them?
<GlsFrg|phone> ehm you can start numbering when it starts resemblig a game
Tank2333 has quit [Ping timeout: 204 seconds]
<G-Mobile> Why?
<G-Mobile> Milestones are always useful
<G-Mobile> also this wont necessarily ever resemble a game
Samario has quit [Ping timeout: 204 seconds]
<G-Mobile> who did the ksp weapons mod? They might have useful thoughts about improving collision behavior with fast small projectiles
<SilverFox> BahamutD
<G-Mobile> he seemed nice, is he dead?
<SilverFox> idk, maybe
<GlsFrg|phone> log the position each frame, then raycast between current and last frame?
<G-Mobile> I dont know when in the plan it should go in, but there will need to be blast area considerations on most of the ammo types, and until that gets added it will be overly cumbersome to hit normal sized targets
<SilverFox> my goal is: shoot at big target, if it lands inside, you win
<SilverFox> however Im currently dealing with a bug with how the turret is angled
<G-Mobile> that works
<SilverFox> ughhh right, this is fucking quats
<G-Mobile> so then later on we can work on modeled targets and then blast areas will be necessary
<SilverFox> dont get your hopes up, this project is only continuing because I havent hit a major bug yet
<SilverFox> okay, got cannon tilt controls working, now to rotate the thing
<G-Mobile> i just want to get to the point where theres a map and the player recieves messages describing the location of the target, and the player figures it out from there
<SilverFox> well, I had planned for a button to say "Spawn New Target" and it gives you the direction and distance
<G-Mobile> Right, but in the game it shouldnt give either of those
<SilverFox> welp, cannon tilt controls is harder than I imagined
<G-Mobile> it should only show you where you and it are on a map
<G-Mobile> but thats later
<SilverFox> there's no later until I can figure out this damn rotation issue
<G-Mobile> Btw, new nanaca highscore on this machine, 9639.7
Unknown601 has joined #kspmodders
<G-Mobile> Woooo
<G-Mobile> passed 13k
<G-Mobile> 14435.53
<SilverFox> ugh I feel dead
<kmath_> YouTube - Glow Foamboard - Nearly complete
<darklight> Now I just need ailerons and some crossed fingers that it's not too heavy when I chuck the thing, It will fly but the question is how well
<SilverFox> or you could weigh it and do the calcs
Wetmelon has quit [Ping timeout: 200 seconds]
<darklight> Or I could throw it and know for sure :P
<SilverFox> and have it crash and waste money
<darklight> So long as it feels like it has enough power and the control surfaces work, and the CG is in the right place (it will be, I glue the wings on last), it should fly
<darklight> The only thing I'm worried about is I have no rudder and I don't know if the vstab is big enough, but meh, I can always fix both those problems later if needed :P
<kmath_> YouTube - Hydraulic Torque Tester
<SilverFox> "Do not put wasp nests inside your vagina, doctor warns"
<darklight> Why.
<G-Mobile> Anticedents
<GlsFrg|phone> so anyway G-Mobile and SilverFox, the challenge is to make a ballistic aiming game in unity for no particular reason?
<SilverFox> Kitten cannon but 3d
<SilverFox> and now I have to deal with rotation issues on the turret
<G-Mobile> GlsFrg|phone: 2000*sqrt2 points if done by monday
<GlsFrg|phone> ;g kitten cannon
<SilverFox> nice one fgt
<SilverFox> ~g Kitten Cannon
<GlsFrg|phone> G-Mobile: why are there points for this
<SilverFox> Greys, this rotation issue is pretty big
Tank2333 has joined #kspmodders
<darklight> It shouldn't be
<SilverFox> well it is
<G-Mobile> GlsFrg|phone: invalid inquiry, please complete this capcha
<SilverFox> I can't fucking turn the thing at the base without fucking the tilt
<darklight> D
<SilverFox> captcha
<darklight> Is the model aligned?
<SilverFox> with what
<darklight> How are you rotating, axis angle?
<SilverFox> rotation.x,y,z,w stuff
<SilverFox> quats
<GlsFrg|phone> SilverFox: parent two objects to each other and rotate each on one axis only
<darklight> Don't use quats
<darklight> ^
<SilverFox> GlsFrg|phone, tried that, it got super fucky
<darklight> Bullshit
<GlsFrg|phone> your mom is super fucky
<G-Mobile> That will help when models get involved
<GlsFrg|phone> does it have to be a kitten cannon or can it shoot anything, like bears or cannon balls
<SilverFox> this happens as soon as I parent the cannon to another object: http://i.imgur.com/c8IqRw0.png
<SilverFox> GlsFrg|phone, it doesnt matter
<GlsFrg|phone> some fucky scaling going on?
<SilverFox> that and that it doesnt tilt right anymore
<SilverFox> also, it falls through the ground
<SilverFox> if I turn off gravity, it goes flying
<G-Mobile> Clear all your scale and rotation factors
<GlsFrg|phone> G-Mobile: so why does this have to be done by monday
<G-Mobile> points
<SilverFox> dont ask stupid questions
<SilverFox> stay focused
<GlsFrg|phone> don't give stupid answers
<G-Mobile> what kind of answers would be left?
<SilverFox> it's fucking arbitrary meaningless
<SilverFox> now I cant tilt the cannon without the top of it staying flat on top
<SilverFox> this is the fucky shit that goes down
<G-Mobile> I'll help tonightmorrow, and get you some nice hexagonal assets, just dont burn out before then
<GlsFrg|phone> I'm like 15 minutes from home, will join in too
<SilverFox> I'm on the edge of burnout if I can't fix this fucking rotation issue
<SilverFox> I dont give a shit about assets
<G-Mobile> so put it down for now
<SilverFox> damn thing wont work if we cant sort out getting the cannon to move properly
<SilverFox> ima watch porn, fuck this
<G-Mobile> chill off, have a wank, go kiss a girl and canabalize a donut
<SilverFox> naw ima just shoot some capsules out
<SilverFox> it's kinda neat
<SilverFox> Greys, one thing I can set, what should the size of the playing field be, in km sqr
<G-Mobile> whats rational
<SilverFox> well, at 200 power I just shot the fucker a good 14km
<SilverFox> althought Im just fucking around
<G-Mobile> I think some of the best computerized artillery can fire accurately on targets 26km away
<G-Mobile> is that rational for the engine
<SilverFox> yeah well, each integer point of power makes a ~15 meter difference
<SilverFox> lemme test that
<G-Mobile> basically whats the positional position loss from being 26km away from the origin
<G-Mobile> floating point loss
<G-Mobile> precision
<G-Mobile> words
<GlsFrg|phone> I think floating point is about nine digits, so with five before the decimal dot you have four left behind, that should be plenty
<G-Mobile> I want a graph of this but if a 30x30km square is rational for the engine, I think that should be "normal", but a lot of guns cant shut that far so once guns have performance constraints smaller maps will be fine too, and multiplayer may need bigger maps
<G-Mobile> GlsFrg|phone: googling it about unity suggests thier FP only have 7.2 digits
<SilverFox> 1 power: 1.57m 2: 2.51m 5: 9.78m 10: 40.63m 20: 155.65m 50: 894.35m 75: 1995.13m 100: 3543.49m
<SilverFox> go graph that and get the launch power curve
<G-Mobile> unity is a clusterfuck so having a decimal should be stupid but I'll take it
<G-Mobile> no I meant graph of FP precision
<SilverFox> reminder, you can have decimal places in the power setting
<SilverFox> m8 idk how to test that shit right now
<G-Mobile> Workdotime bbl
<SilverFox> just shot at 1000 power
<SilverFox> this thing is fucking FLYING
<SilverFox> 120km distance
<SilverFox> still going
<SilverFox> not even on the way down yet
<SilverFox> oh shit
<SilverFox> unity just told me to calm down with the range
<SilverFox> due to floating point precision
<G-Mobile> Dude what if we implimented krakensbane so the bullet is always at origin so there's no functional range limit in flight
<SilverFox> how bout you implement that
<SilverFox> we still have a cannon rotation problem
<G-Mobile> we'd still run into problems with force/momentum precision
<SilverFox> we'd still run into cannon rotation problems
purpletarget|ktns has quit [Quit: Because Science!]
<SilverFox> 250km
<SilverFox> this thing is an icbm
<SilverFox> now its starting to come down
<SilverFox> 145km upwards
<SilverFox> 300km
<SilverFox> this one's definitely going to phase into the ground
<G-Mobile> When we get to like, .17, we should make it so if you pass 100km, the ground goes away and the sky turns to a starfield, then at 200km the ground comes back and its the mooooon
<SilverFox> oh GlsFrg|phone you mentioned using raycasting to figure out if we collide with the ground, however, there are sphere bombs that can roll
<SilverFox> G-Mobile, but we'd still have cannon rotation problems
<GlsFrg|phone> make them slow as fuck then
<SilverFox> that's for air drag to do
<SilverFox> so far there isnt drag on them
<SilverFox> because idk how to drag
<darklight> AddForce
<SilverFox> orrr I could just adjust the drag value
<SilverFox> darklight, im not vas levels of retarded
<darklight> Unity does drag? wat
<SilverFox> yeah
<SilverFox> its a variable attached to rigidbodies
<G-Mobile> SilverFox: we're at .2, playbility
<SilverFox> yeah
<G-Mobile> .17 is a ways down the road
<SilverFox> cant add drag because we'd still have cannon rotation problems
<darklight> Figure out how to parent
<GlassYuri> wow fuck japan post's redelivery system
<darklight> Fuck japans address system
<GlassYuri> with couriers you just throw a number at their website and they'll be back in the next few hours, post won't deliver today even though it's just 19:00
<SilverFox> darklight fuck you i know how to parent, it just fucks everything up
<darklight> Or you're just a bad
<SilverFox> it fucks with scaling and rotation
<darklight> You aren't fiddling with wxyz values are you?
<SilverFox> and makes the ends of the cannon all fucky
<SilverFox> makes em point toward the up direction rather than the forward with cannon direction
<darklight> Sooo... Is america more soverign by pulling out of the paris agreement?
Supernovy has quit [Quit: Goodnight.]
<Tank2333> darklight yes
<Tank2333> More coalmines
<Tank2333> People wil love it
* darklight is watching the news
<darklight> How the fuck is australia committed to paris
<Tank2333> His announcment speech was terrible
<darklight> We mine coal, our power is mostly coal
<darklight> We won't even touch nuclear
<darklight> So what we gonna do?...
<Tank2333> It was only signed 2 years ago
<Tank2333> Go solar...
<darklight> Expensive as fuck
<Tank2333> So what?
<darklight> Solar is not worth it currently
<darklight> Do you want to pay a dollar a kwh? :P
<Tank2333> If we can finance 100% renewble with it.. yes
<SilverFox> we already do
<darklight> Power here is 22c/kwh which is expensive for a developed country
<Tank2333> It is not
<SilverFox> I wouldnt pay stupid amounts per kWh, save that for the later generations
<Tank2333> We have 30 euro cents
<SilverFox> 30 pent?
<darklight> Nuclear is like the only real option for shittons of carbon free power
<darklight> Obviously hydro is good too but the landscape needs to be setup for it
<SilverFox> nuclear is great
<darklight> wind and solar are a joke
<SilverFox> especially if it's designed recently
<darklight> I can see why this shit started in france given they are like 90% nuclear and sell power to other countries :P
<SilverFox> we sell ALL our power to quebec for cheap
<Tank2333> I think in the long run we should get away from nuclear
<SilverFox> I think we should go full force nuclear
<darklight> I think the long run is fusion, if it works
<SilverFox> well that's under nuclear
<G-Mobile> ;c 2^23
<kmath_> G-Mobile: 8388608.0
<G-Mobile> Hmmmmmm
<Tank2333> And where do we dump the waste?
<G-Mobile> the moon
<SilverFox> ocean
<G-Mobile> subspace
<G-Mobile> fusion reactors
<Tank2333> As nuclear power startet in the 50s they said we figure it out in the near future
<G-Mobile> chernobyl
<Tank2333> Ocean? That was already done and it was banned
<G-Mobile> LETS JUST PUMP CHERNOBYL FULL OF RADIOACTIVE WASTE
<Tank2333> Godzilla and stuff
<Tank2333> G-Mobile chernobyl is too small to contain the waste
<SilverFox> you sure about that?
<darklight> We bury it in aboriginal areas, ezpz
<SilverFox> the sun
<Tank2333> We are talking about millions of tons
<Tank2333> Metric tons
<SilverFox> a fuckton?
<SilverFox> a METRIC FUCKTON?
<G-Mobile> ayrs rock is secretly a capstone to a 15 mile deep 300 meter wide hole, we put the waste there
<Tank2333> Exactly
<SilverFox> wait
<SilverFox> I KNOW
<SilverFox> I FIGURED IT OUT
<SilverFox> lets nuke north korea
<G-Mobile> tank, yanno metric tonnes and short tones are roughly equivalent
<darklight> Also I wasn't kidding about the aboriginal area
<SilverFox> and put all the waste there
<G-Mobile> ;wa 1 tonne to tons
<kmath_> G-Mobile: convert 1 t (metric ton) to short tons: 1.102 sh tn (short tons)
<darklight> It was on the news sometime
<darklight> Other countries are like "you sold it to us, you take the waste"
<Tank2333> Thats a cheapout tactic
<darklight> Get fucked :P
<SilverFox> okay wait
<SilverFox> with the experience the us will get from wall building
<SilverFox> we can make a giant container in the ocean where atlantis is
<SilverFox> and put it there
<Tank2333> Lol
<Tank2333> Right
<darklight> Obviously nuclear has problems and that's why I'm fine that we don't have it
<G-Mobile> so, how does a floating point represent a negative value with a decimal component
<Tank2333> Container out of what
<darklight> But don't jerk yourselves silly over wind and solar either
<Tank2333> Trumpium
<Tank2333> Chinesium
<G-Mobile> arcordin to this site the significand is unsigned
<Tank2333> Well my state has the capaicity to do it
<egg|df|egg> there's a sign bit
<Tank2333> But we have only 7 million peoples
<SilverFox> and thus egg appears at hte mention of floats
<Tank2333> Lol
<SilverFox> the prophecy was correct
<SilverFox> hail the chickenfetus
<Tank2333> The motd is right
<egg|df|egg> there's a sign bit, an exponent, and a mantissa; in IEEE 754 binary floating point, the leading 1 of the mantissa is not represented, only the bits after that
<egg|df|egg> and the exponent is stored with an offset, so that small values represent a negative exponent
<egg|df|egg> 0 represents denormals iirc, and all ones is either infinity or NaN
<Tank2333> That makes no sense
<Tank2333> Isnt IEEE a network thingy?
<egg|df|egg> that's binary32, binary64 is mostly the same but with moar bits (52 represented bits of mantissa for a 53 bit mantissa)
<egg|df|egg> Tank2333: ...
<SilverFox> I thought it was a standards thing
<egg|df|egg> IEEE?
<Qboid> egg|df|egg: [IEEE] => Institute of Electrical and Electronics Engineers
<G-Mobile> what language is a mantissa
<SilverFox> ayyyyyy
<SilverFox> manteessa
<Tank2333> I was right
<egg|df|egg> Tank2333: some IEEE standards are about networking
<egg|df|egg> Tank2333: others are not
<egg|df|egg> this one is not
<SilverFox> are double and float different standards, or just a subset?
<Tank2333> Just subset
<egg|df|egg> "double" is the C-family name for binary64, which is one of the formats defined by IEEE 754
<SilverFox> aight, so subset
<egg|df|egg> some languages call it long float
<egg|df|egg> there's binary32 (aka "float")
<Tank2333> Thats what she said
<SilverFox> isnt there also a short float?
<egg|df|egg> for storage only, not arithmetic
<egg|df|egg> binary16
<G-Mobile> egg, does the significand start at 0 or 1
<darklight> Also someone needs op to jigger with topic
<egg|df|egg> G-Mobile: ?
<darklight> Majiir uas let us down
<darklight> *has
<egg|df|egg> G-Mobile: I do not understand your question
<SilverFox> Majiir is intermittently dead
<G-Mobile> Egg, is the maximum value of the significant 2^23 or 2^23-1
<egg|df|egg> G-Mobile: can we talk about binary64? I am not used to the numbers in binary32
<egg|df|egg> so, you have 52 bits
<egg|df|egg> plus the implicit 1 for normalized numbers
<egg|df|egg> so these can represent mantissae from 1<52 0s> to <53 1s>
<angavrilov> G-Mobile: mantissa is a fractional number - you can have numbers with a 'decimal point' even in binary
<egg|df|egg> and then for denormals, you don't get the implicit 1
<G-Mobile> The important part is whether the max is a power of two, or one less than the power of two
<egg|df|egg> the maximal value of the mantissa is all ones
<egg|df|egg> (plus the implicit one)
<G-Mobile> Of the significand
<angavrilov> what is significand
<egg|df|egg> why do you keep bringing in the word significand
<SilverFox> the fuck is a significand?
<angavrilov> there is sign, mantissa and exponent
<SilverFox> ^^^
<G-Mobile> the integer you apply the exponent to
<egg|df|egg> that's the mantissa
<egg|df|egg> please call it the mantissa
<G-Mobile> significand
<angavrilov> you don't apply the exponent to an integer
<SilverFox> reeeeeeeeeeeeee
<egg|df|egg> lest the wrath of the egg be upon you
<G-Mobile> your french wrath is no good in murkastan
<egg|df|egg> also what angavrilov said: it's a number of the form 1.<bits> or 0.<bits> for denormals
<GlassYuri> grilverfox, should I do this in unreal or unity, unity would have the advantage that we're doing the same thing, unreal would mean fairness because I'd have no slight fucking idea of what I'm doing
<SilverFox> unity
<SilverFox> its better if you know what you're doing
<SilverFox> make a cylinder cannon
<SilverFox> find a way to have it tilt like a cannon, and rotate like a cannon
<darklight> Parenting.
<darklight> Single axis rotation
<SilverFox> so tilt up and down, then rotate around at the base
<SilverFox> do that, show me your solution, and i'll implement it
<egg|df|egg> also why do we have no ops
<egg|df|egg> who did that
<SilverFox> Majiir died
<SilverFox> again
egg|df|egg has left #kspmodders [moooo]
<darklight> And greys has a deop script
egg|df|egg has joined #kspmodders
<egg|df|egg> but * ChanServ gives channel operator status to egg|df|egg ?
* egg|df|egg is confused
angavrilov|phone has joined #kspmodders
<darklight> You have op.
<egg|df|egg> ah it's just my client not showing the green dot thing
<darklight> But nobody trolls topic
egg|df|egg was kicked from #kspmodders by egg|df|egg [yup I do have op]
egg|df|egg has joined #kspmodders
<G-Mobile> anya yall know how in excell to get the exponent of a number in scientific notation
egg|df|egg has quit [Quit: #kspmodders stabbity]
<darklight> Cell formatting?
egg|df|egg has joined #kspmodders
<G-Mobile> function
egg|df|egg has quit [Remote host closed the connection]
egg has joined #kspmodders
egg changed the topic of #kspmodders to: Welcome to #kspmooders | <Majiir> egg is pretty much just a chickenfetus until you start talking about floating point | <SilverFox> and thus egg appears at hte mention of floats
<G-Mobile> ah, int(log())
<darklight> I don't think sf needs floating point, I think sf needs floats so he doesn't die in the shower
<G-Mobile> Welp, broke excel
<G-Mobile> -32-6=-3.8e1
<darklight> Why are you using excel?
<G-Mobile> Graaaaaphs
<SilverFox> graaaaaaaaaaapherinos
<darklight> Gnuplot? :P
<SilverFox> my bets are that greys is on a mac
<G-Mobile> so if I'm not entirely wrong, with meters as the base unit, below 83,886 meters from origin, the projectile would have a positional precision of 1 centimeter or better
<G-Mobile> SilverFox: my work uses macs
<SilverFox> remmeber these targets are rather large
<SilverFox> 1cm is excessive
<SilverFox> within 1m is fine
<darklight> Greys you're not taking into account integration areas jnless your flight path is a function
<G-Mobile> Areas or errors?
<darklight> Wow
<darklight> errors
<darklight> I..
<SilverFox> go to bed
<darklight> I have no idea how I ballsed that up
<darklight> I'm not even tired, not even close
<G-Mobile> SilverFox: this scales linearly, to reduce precision by two digits, increase range by two digits
<SilverFox> so there ye go
<G-Mobile> meter precision within 8.3 million meters
<SilverFox> however, unity editor says that to reduce error you should get gud, at around 100km
<G-Mobile> still, I think we wont have the angle precision or force precision to make 10k-km play function
<SilverFox> 80km playful is fine, we still have cannon rotation issues
<SilverFox> playfield
<G-Mobile> ;wa angular width of 1 meter from 8388608 meters away
<kmath_> G-Mobile: Wolfram couldn't understand your gibberish
<G-Mobile> 6.8302e-6
<G-Mobile> No player is going to put up with that
<SilverFox> what
<SilverFox> the fuck are you on abouyt
<G-Mobile> to shift the canon so that at 8.3 million meters it lands one meter to the left, you would have to rotate it .00000683 counter clockwise
<SilverFox> thats what, 8k km?
<G-Mobile> ~g aint nobody got time forbthat
<kmath_> YouTube - Ain't Nobody Got Time for That!-Original
<SilverFox> how bout you stop being stupid about it
<G-Mobile> Yea 8k km
<SilverFox> we are within 80km
<G-Mobile> .000683 degrees to move the aim 1 meter
<G-Mobile> ;wa 6.83e-4 degrees to arc-seconds
<kmath_> G-Mobile: convert 6.83×10^(-4)° (degrees) to arc seconds: 2.459" (arc seconds)
<G-Mobile> the hubblevultra deep field imaged a 2.4 arc minute section of the sky
GlassFragments has joined #kspmodders
<G-Mobile> ;wa 2.4 arc minutes to arc seconds
<kmath_> G-Mobile: convert 2.4' (arc minutes) to arc seconds: 144" (arc seconds)
<G-Mobile> Really fuckin small
GlassYuri has quit [Ping timeout: 200 seconds]
<G-Mobile> probably doable
<SilverFox> also the targets are 50m wide
<G-Mobile> ;wa 6 inch to metric
<kmath_> G-Mobile: convert 6 inches to metric: 15.24 cm (centimeters)1.524 dm (decimeters)152.4 mm (millimeters)0.1524 meters
<GlassFragments> SilverFox, https://youtu.be/iJkF_JGLdko
<kmath_> YouTube - Was this that hard...?
<SilverFox> hrmmm
<SilverFox> I will try this, what part is the cannon, the cube?
<GlassFragments> the cannon is the empty that the cylinder and the turret empty are parented to
<GlassFragments> then the turret empty contains the cube and the barrel empty
<GlassFragments> and the barrel contains the other cylinder
<G-Mobile> if you had a 15 centimeter dial to adjust this gun, you would need to rotate a mark on the outside by about 20 nanometers to move 1 meter at 80km
<GlassFragments> so the empties are not fucked in any way by scale
<G-Mobile> 15 centimeter -- radius
<GlassFragments> why are we up to 80km now
<G-Mobile> up?
<GlassFragments> used to be 26km...
<G-Mobile> 26km is real world, this is the practicality in numbers for engine and interaction considerations
<SilverFox> also it seems you aren't up to date on how the unity shits is recommended to be accessed; turret.GetComponent<Transform>().Rotate();
<GlassFragments> stick with ranges at which you can see ingame, and mount the cannon on anime steampunk airships
<SilverFox> apparently .transform is getting depreciated or some shit
<G-Mobile> unity FPs can handle the distances we want just fine, but it would be unreasonable for the player to operate
<GlassFragments> SilverFox, if unity developers had everything they depreacted for no real reason up their ass they would be dying very painfully
<SilverFox> you should see my code
<SilverFox> it's fucking gross
<SilverFox> that was my old rotation code
<GlassFragments> I can see them depreacting the other shorthands but every gameobject needs a transform and you need it like very fucking often
<SilverFox> yuuuuuuup
<G-Mobile> Even at 27km the control dials would be fuckin massive to adjust by a meter
<GlassFragments> by all logic .transform should also outperform GetComponent<transform>()
<SilverFox> okay so wtf is the gameobject that's called "turret"?
<SilverFox> it says "none"
<darklight> Sf why didn't you save a reference? Or is transform a struct?
<G-Mobile> We need more than just lever based movement multiplication, we need like, precision gear drives and worms
<GlassFragments> SilverFox, have you ever been browsing some image site for cats and then suddenly seen a human hand which an object has attempted to pass through? because that's what I was reminded of when I saw your code
<GlassFragments> SilverFox, assign them in the editor
<GlassFragments> drag it from the outline into the component, make sure not to let go of the mouse or you'll dragdrop the object who knows where
<SilverFox> im guessing that happened to you
<GlassFragments> also using the tit button to select an object will only give an empty list
<SilverFox> also does that input.getaxis bullshit work with arrow keys?
<GlassFragments> yeah
<SilverFox> there's a tit button?
<SilverFox> neat
<GlassFragments> the o with a . in the middle which somehow stands for selecting an asset
<SilverFox> lemme see if I can find that
<GlassFragments> you can see me use wasd and arrow keys in the video, except that you can't
<SilverFox> oh i see it
<SilverFox> k so I gots me a cylinder
<GlassFragments> the visuals shouldn't be the main hierarchy
<SilverFox> i rotated it and scaled it, but should I do such before parenting, or after?
<GlassFragments> create three empties and arrange them as cannon containing turret containing barrel
<GlassFragments> if you use the exact code I used the names don't matter
<GlassFragments> then add the script to the cannon, and drag the objects into the component settings
<GlassFragments> https://hastebin.com/xicineciku.cs code4convenience
<SilverFox> thanks
<GlassFragments> G-Mobile, what do you think of the idea of adjusting strength by having the player hand load the cannon with pulver packages
<SilverFox> m8 fuck that you can program that shit yourself
<G-Mobile> Later
<SilverFox> lets see if I can fix all this code to get it working
<G-Mobile> proof of concept first
<GlassFragments> SilverFox, yeah and then put it in my portfolio and get a job because of it
<SilverFox> whatever works for you dude
<SilverFox> I want 1% of your salary tho
<G-Mobile> mechanically, I love it, it forces the player into certain quantities and thus will have to play with inclination to hit with the propellant macks they can load
<G-Mobile> packs
<GlassFragments> G-Mobile, the only issue I see is having the player muzzle-load it by stuffing a cannon ball in a barrel, that'll give you fucked physics guaranteed
<GlassFragments> if you breech load it you need some nice assets and animations for it
<GlassFragments> you could also have a NPC loading crew to eliminiate the physics and take the animations beyond what we can possibly do
<G-Mobile> It can be snap action, minimal physics stuff
<GlassFragments> that's boring as fuck
<SilverFox> so I have a problem
<SilverFox> the up and down didnt work, probably because I offset the x rotation on the barrel 90 degrees
<G-Mobile> Yea, but fuxky physics toys are only fun when they're built to exploit the fuckery
<G-Mobile> which is basically goat simulator
<GlassFragments> SilverFox, then exchange the vector, mine is probably poorly chosen
<SilverFox> yeah I dont know what vector to replace it with
<SilverFox> up and forward are the only two I know of
<GlassFragments> if you have the tray designed so that the shell falls right in and have it transition from physics to cinematic when the ram pushes it into the barrel it might work
<GlassFragments> left I think
<G-Mobile> GlassFragments: ideally long term we'll have multiple gun assets and performance implications, most will be breach loaders
<GlassFragments> but do you agree on the anime steampunk/retro-scifi setting?
<G-Mobile> I'm not gonna sign off on a visual style sight unseen, but it's easy enough to make this part easily modable
<SilverFox> GlassFragments, one problem with your code
<SilverFox> how do I limit it so you can aim the turret into the ground?
<SilverFox> cant*
<GlassFragments> working on that
<SilverFox> alright cool, thanks
<GlassFragments> that was only to demonstrate input and correct rotation
<SilverFox> right
Samario has joined #kspmodders
<SilverFox> also, the angle seems to be slowly moving downward
<SilverFox> at a rate of 0.0001 degrees per second
<SilverFox> Greys probably deems this unplayable
<G-Mobile> Murder
<SilverFox> 750 launch power
<SilverFox> lets gooooo
<SilverFox> 1km/s
<SilverFox> oh right, I also have a rocketshell script too
<G-Mobile> on the list, muzzle velocity meter
<SilverFox> so the damn things can be rocket powered
<G-Mobile> Where are you 'launching' the projectile from?
<SilverFox> the cannon
<G-Mobile> Where on it
<SilverFox> the cannon's position
<GlassFragments> should I also add rotation limits while we're at it?
<SilverFox> no
<SilverFox> full 360 rotation
<G-Mobile> is this like where in bad FPS the bullets shoot out of the camera?
<GlassFragments> optional I meant...
<SilverFox> I mean, sure, but I wont use it
<SilverFox> not now
<SilverFox> alright bois, 1000 launch power
<SilverFox> that pretty much twice the speed
<G-Mobile> SilverFox: can you get a screencap and draw a dot or something on the point where the bullet starts
<SilverFox> i have no idea where the shell starts
<SilverFox> I know it's not at the tip
<SilverFox> probs the middle of the cannon shaft
<G-Mobile> when you say cannon do you mean the barrel or more than that?
<SilverFox> cannon. shaft.
<SilverFox> the thing in which it shoots from
<G-Mobile> Ok, so the origin of the canon is fine
<SilverFox> right in the middle probably
<SilverFox> and at low powers it phases through the bottom and just falls
<SilverFox> pretty funny
<SilverFox> its a feature
<G-Mobile> try negative powers
<SilverFox> oh fuck
<SilverFox> this 1k shot still isnt done
<SilverFox> its probably rolling or something
<SilverFox> oh wait no
<SilverFox> still in the air
<SilverFox> at least its falling
<G-Mobile> Does it lag in flight
<SilverFox> i mean, no?
<G-Mobile> cool
<SilverFox> its a fuckin primitive object
<SilverFox> its not cpu intensive or anything
<SilverFox> okay wtf
<SilverFox> 1000 power got me an icbm that goes 390km
<GlassFragments> I changed the elevation to rotate around vector3.right so please check if that works or not
<SilverFox> -50 power just shoves it into the ground
<SilverFox> I used left
<GlassFragments> I also did but it put my barrel into the ground
<SilverFox> sounds great
<GlassFragments> oh shit I think I pointed mine backwards
<GlassFragments> do you have your barrel pointing in direction of the blue arrow?
<SilverFox> yeah, z axis
<GlassFragments> I have mine pointing away from it
<SilverFox> can we limit to 5 degrees instead of 15?
<G-Mobile> obvsle
<GlassFragments> you can limit to anythign with my script
<SilverFox> uhh, I cant turn the turret now wtf
<SilverFox> there we go
<GlassFragments> having the barrel backwards has the advantage of x rotation being 1:1 elevation
<GlassFragments> however you should never touch that directly anyway
<GlassFragments> so, z forward it is
<SilverFox> Greys, do you have a windows machine at work to play test?
<SilverFox> thanks for the help GF
<SilverFox> now we can move onto target generation
<GlassFragments> dude my cannon doesn't shoot yet
<SilverFox> oh thats easy
<GlassFragments> yeah
<SilverFox> you want to just sync up projects or something?
<GlassFragments> ...I guess?
<GlassFragments> although I doubt we have the same goal, but sharing some assets and code would be nice
<SilverFox> foor the launch codes this is what I have: GameObject.Find("Shell").GetComponent<Rigidbody>().AddForce(this.GetComponent<Transform>().up * (Main.cannonPower * 100f));
<SilverFox> its just that line in Start()
<GlassFragments> how to you wanna sync up? git?
GlassFragments is now known as GlassYuri
<SilverFox> https://hastebin.com/iqorehewab.cs that's my main.cs file
<SilverFox> havent uploaded to git yet
<GlassYuri> I really wouldn't put it all in one file
<SilverFox> also, a suggestion, dont use Time.deltaTime, as iirc thats the time between frames
<SilverFox> I always use Time.fixedDeltaTime which is 0.02
<SilverFox> your cannon will be super unreliable if you have variable framerate timings
<GlassYuri> that's the difference between Update and FixedUpdate
<SilverFox> yeah
<SilverFox> graphics goes in update, physics goes in fixedupdate
<GlassYuri> I think you want your input synced with visuals
<GlassYuri> so I put it into update
<GlassYuri> yeah you idiot just copied my update into your fixedupdate
<SilverFox> yeah but then accuracy gets affected because it's not moving at a constant rate
<G-Mobile> Nope
<G-Mobile> Add to the list an optional bullet chase mode where when you shoot the camera follows the bullet in flight
<SilverFox> OH GUESS WHAT I DID ALREADY
<G-Mobile> suck a dick?
<SilverFox> well yeah, but while I was doing that I implemented a follow cam
<G-Mobile> Impressive technique
<SilverFox> thank you
<G-Mobile> have you considered going into productivity porn
<SilverFox> I have
<SilverFox> pay wasnt good enough
<SilverFox> not for my capabilities
<SilverFox> funny thing
<SilverFox> by making the ground plane bigger, I increase the framerat
<SilverFox> framerate
<SilverFox> i know run at 100-120 fpts
<G-Mobile> just you wait until terrain!
<GlassYuri> ...you two realize that rigidbodies have a "collision detection" option that can be set to "continuous"
<SilverFox> also discrete continuous
<SilverFox> I tried that and it still phased through
<GlassYuri> ...wat
<SilverFox> yeah
<G-Mobile> I dont know what that means or how it relates to silver suckung dicks
<SilverFox> my lips wont phase through the cock as much if I turn on continuous
<SilverFox> okay for some reason now 20 power is fucking op
<darklight> https://twitter.com/Doomskander/status/870287313112322048 the russians have even hacked the birds
<kmath_> <Doomskander> Ex KGB Pigeon salutes Putin https://t.co/EjxjpCUVVY
<SilverFox> huh, and its not launching at the right angle anymore
<GlassYuri> I now have a firing cannon except that it looks like an ejaculating cock
<SilverFox> gif it
<SilverFox> also, why does it look like an ejaculating cock when it should be firing single shells?
<GlassYuri> because it was firing single shells per frame
<SilverFox> jesus christ
<GlassYuri> now it's a 4RPM autocannon
<darklight> Does unity support fluid dynamics?
<SilverFox> yeah
<GlassYuri> ehm 4 rounds per second
<SilverFox> 4RPM sounds about right too, damn thing turns slow
<GlassYuri> 240RPM it is
<GlassYuri> should I have the setting in RPM or time between rounds
<GlassYuri> also should add a setting for whether it's automatic or not
<SilverFox> also Greys, my auto-follow doesnt go with the shell in the air, it just tracks it like a radiotracker does
<SilverFox> NO
<SilverFox> WAR PENISES AREN'T AUTOMATIC
<SilverFox> GOTTA STROKE IT YOURSELF
<SilverFox> automatic is the pussy way out
<SilverFox> here is my script for the shell: https://hastebin.com/akozerisuv.cs
<GlassYuri> ehw deleting your shit
<SilverFox> fuck you m8 it works
<SilverFox> also autodestroys the shell once it stops moving
<GlassYuri> maybe you can just freeze or remove it's rigidbody
<SilverFox> why
<SilverFox> thing will be fucking exploding
<GlassYuri> it would make it look better if the shell stops in sight of the player
<SilverFox> it would also look better if it wasn't a fucking primitive capsule shape
<SilverFox> but fuck you and your art
<GlassYuri> mine's an actual ball
<SilverFox> so for some fuckreason unity doesnt like my changes to code
<SilverFox> its just not accepting them??
<GlassYuri> did you rename a file
<GlassYuri> ?
darklight has left #kspmodders [nopes]
<SilverFox> nope
<SilverFox> still Launch.cs, as its always been
RandomJeb has joined #kspmodders
<GlassYuri> well anyway if you rename a file you also have to change the class name because apparently this is fucking java
<GlassYuri> unity however automatically changes all editor references at least
<SilverFox> wait, it says that the upper limit is 75 when in my code it says 85
<GlassYuri> because it's set to 75 in the inspector
<SilverFox> yeah but that's because of the way it's declared in code
<SilverFox> anyways, I commented out the code that tells it to add the launch script to the cannon and the shell still goes flying
<SilverFox> im reloading unity
<GlassYuri> code only decides the initial value, I don't think unity detects any instances using the default value to update them automatically
<SilverFox> how is my shell flying when there is no launch codes
<SilverFox> okay wtf, I commented out all the code in the launch file and the fucker still goes flyng
<SilverFox> hmmmmmmmm
<SilverFox> GlassYuri, can I see your code for how you do the shell shooting?
<SilverFox> I think for some reason my shell is getting stuck between the base and the shaft and it's causing kraken
<SilverFox> and this works for the cannon at all orientations?
<GlassYuri> ...it takes the orientation from the muzzle object
<SilverFox> right
<GlassYuri> which is a child of the barrel object
<SilverFox> but I see you have Vector3.Forward
<SilverFox> rather than the Vector3.Up
<GlassYuri> because we established that cannons point forward
<SilverFox> okay now for some fucked up reason it's manipulating my initial CapsuleShell gameobject when it shouldnt
<SilverFox> there's some super fucky shit going on
<SilverFox> and then, after it gets fired the first time, every other firing just points the camera at it being about 50m to the side of the cannon diagonally
<SilverFox> I use Instantiate so it should be fucky like this
<SilverFox> shouldnt*
darklight has joined #kspmodders
<SilverFox> like wtf this is stupid
<G-Mobile> Excitement always happens now
<SilverFox> like, sexual?
<G-Mobile> the new slogan for six flags
<SilverFox> its normal to be on a schedule for that
<G-Mobile> (Six flags is a lesser themepark franchise in the united states)
<SilverFox> yes I know what six flags is
<G-Mobile> But does GlsFrg|phone
<SilverFox> probably
<G-Mobile> or r0b4c9
<SilverFox> who the fuck is that
<SilverFox> they dont matter
<G-Mobile> They matter hardest
<SilverFox> mostest*
<SilverFox> "hard" is not a word you can apply to "matter"
<SilverFox> lol
<darklight> They matter bigly
<SilverFox> ew gtfo
<RandomJeb> I learned something new today
<SilverFox> whats that?
<RandomJeb> six flags is a lesser theme park franchise in the united states
<SilverFox> fucking kek
<SilverFox> how is it a lesser theme park?
<SilverFox> what are greater theme parks?
<RandomJeb> disneyland
<SilverFox> oh right that exists
<RandomJeb> bigly
<SilverFox> you know what the highest of culinary masterpeices is?
<SilverFox> rice and cream of mushroom soup
<darklight> I like creamy mushroom sauce :3
* darklight clap claps silverfox
<SilverFox> okay I just realized, everytime they say "Signal" in Twice's Signal MV, it's different
<SilverFox> like, come to a fuckin consensus on how to butcher it, ya sloots
<SilverFox> ~yt Signal MV
<kmath_> YouTube - TWICE "SIGNAL" M/V INTRO
<SilverFox> wat
<SilverFox> ~yt Twice Signal MV
<kmath_> YouTube - TWICE "SIGNAL" M/V INTRO
<SilverFox> the fuck crack you smoking
<kmath_> YouTube - TWICE "SIGNAL" M/V
<SilverFox> they alternate between sign-nal seye-nal and shi-g-nal
<darklight> Remove korea
<SilverFox> naw because then you wouldnt get classics like
<darklight> kpop is evil 'loominati :P
<SilverFox> ~yt Psy Gangnam Style
<kmath_> YouTube - PSY - GANGNAM STYLE(강남스타일) M/V
<darklight> Gau
<darklight> *gah
<darklight> That song is not objectively good
<GlassYuri> my cannon now has sound
<SilverFox> it better be a cumshot sound
<SilverFox> or else you're fire
<SilverFox> d
<darklight> Do cumshots make sound?
<SilverFox> it is moving matter
<SilverFox> of course it makes sound
purpletarget|ktns has joined #kspmodders
<darklight> Maybe if it was supersonic
<SilverFox> IF CUM CONTAINS SUGARS WHY DOES IT TASTE BAD?
<SilverFox> I just heard that imgur is banned in turkey
<darklight> It doesn't taste bad :P
<SilverFox> maybe if you're pre-diabetic
<darklight> turkey is silly
<SilverFox> I need me some fucking rice
<SilverFox> im having withdrawals
<RandomJeb> everything is banned in turkey
<GlassYuri> if you write a poem on the turkish president your government will have to change it's laws so that the president can't sue you anymore
<darklight> I do remember reading a fimfic post stating it was banned in turkey
<darklight> No love for ponies
<darklight> Shame
<SilverFox> league of legends isnt banned in turkey
<SilverFox> which is worse, Tokyo or Seoul?
<GlassYuri> why is hong kong on there twice, right next to itself
<darklight> I think you mean better
<darklight> We don't even have a decent bus service here
<GlassYuri> and completely different
<SilverFox> GlassYuri, does nipponese have different words for rice, one being uncooked, another being cooked?
<darklight> Can we give glass op
<SilverFox> no
<SilverFox> only majiir can kick me
<GlassYuri> darklight, finally someone says it
<SilverFox> give me op
<SilverFox> see how well that goes
<darklight> Glass you need it
<SilverFox> why
<GlassYuri> GlassYuri4Führer2017
<GlassYuri> yeah why do I need it
<darklight> I am incapable of ops as I'd troll topic, and I always try to break lines :P
<darklight> So you can kick sf
<darklight> When he mentions nippon
<SilverFox> inferior nippon*
<darklight> Oh I'm thinking tk
<SilverFox> yeah
<SilverFox> TK already has ops
<SilverFox> however, glass is my japanese dictionary, TK i use for cultural stuff
<SilverFox> also im glass's mandarin teacher
<TheKosmonaut> What?
<SilverFox> curious if japanese has two words for rice, uncooked and cooked forms, like korean does
<darklight> tk give glass ops
<TheKosmonaut> no
<SilverFox> pfffffffffffftlol
<TheKosmonaut> SilverFox: And wait
<TheKosmonaut> Well it depends
<SilverFox> on?
<TheKosmonaut> I guess; okome can be uncooked rice
<TheKosmonaut> gohan is cooked rice
<SilverFox> nice
<TheKosmonaut> But gohan is also used to refer to meals in general as well
<SilverFox> interesting
<GlassYuri> tk give me ops
<darklight> Why does gohan sound like a dragonball z character
<SilverFox> because it's a two syllable name
<TheKosmonaut> darklight: Because there’s a DBZ cahracter with the name Gohan
<SilverFox> also that
<TheKosmonaut> GlassYuri: 何で?
<SilverFox> oh TK, are you still studying korean?
<TheKosmonaut> SilverFox: Dropped off a bit because my possible work trip to Korea was scrubed
<TheKosmonaut> scrubbed
<GlassYuri> 楽しそうから
<SilverFox> sucks
<SilverFox> that first char looks neat as shit
<TheKosmonaut> GlassYuri: wwダメ
<TheKosmonaut> SilverFox: Funny thing about that character
<TheKosmonaut> 楽し = Tanoshi = Fun
<SilverFox> oh, I saw a character that looked like ichi does, was it ichi, or is there a syllable that uses the same character?
<SilverFox> like, just a single horizontal line
<GlassYuri> *楽しい
<TheKosmonaut> you add a character bit on top which means grass and it becomes
<TheKosmonaut> 薬
<TheKosmonaut> which is medicine
<SilverFox> grass fun?
<TheKosmonaut> DANK WEEEDDDDDDDD
<SilverFox> I mean, alright
<SilverFox> noice
<TheKosmonaut> GlassYuri: I fucking hate typing in Japanese on my computer
<TheKosmonaut> The kanji suggestions always get fucked up on IRC because you tab tab tab for the complete and then press enter
<TheKosmonaut> but you can’t see that it’s entered the kanji
<TheKosmonaut> so you press again and then suddenly you’ve entered the line into IRC
<GlassYuri> while we're at grass, 草が生える (grass grows) means laughter
<TheKosmonaut> 四
<SilverFox> of course it does
<GlassYuri> because the w looks kinda like grass (I guess...)
<TheKosmonaut> 二
<SilverFox> weed gives you the giggles
<TheKosmonaut> ○
<SilverFox> thats not a perfect circle
<GlassYuri> TheKosmonaut, I have this issue where the hexchat GUI library doesn't seem to support IMEs correctly so the options pop up in the top left of the screen instead of above your text
<GlassYuri> also I fucking hate the IME and want to code my own but I'm not in for the trouble
<GlassYuri> also keyword code, SilverFox I now have a cannon that shoots, and parented the default camera to it in a way that allows me to see enough for now, what to do next
<SilverFox> ask Greys
<SilverFox> mine still does fucky shit
<SilverFox> have no idea why, but it does
<GlassYuri> also keyword code, Greys I now have a cannon that shoots, and parented the default camera to it in a way that allows me to see enough for now, what to do next
<SilverFox> so the project's dead for me
<kmath_> YouTube - cannon game 06-02
<GlassYuri> SilverFox, yours stopped working for no reason right?
<SilverFox> yup
<SilverFox> none that I know of
<GlassYuri> so it just doesn't move with no errors or anything?
<SilverFox> just shoots the shit without a launch code attached and manipulates the original shell piece which is instantiated from, so shouldnt be manipulated
<SilverFox> check while your shell is firing if the original object stays in place or if it's fired too
<darklight> GlassYuri steam greenlight
<GlassYuri> darklight, 草
<darklight> I don't understand moonrunes
<darklight> :P
<GlassYuri> you don't fucking listen either
<SilverFox> that's the one for grass, yeah?
<darklight> In my defence, I'm half distracted
<GlassYuri> scroll up by 11 minutes
<darklight> Breastforms are a thing, but whatever
<GlassYuri> SilverFox, show me your code
<GlassYuri> ...try making your shell a prefab, that way it isn't even in the scene
<SilverFox> hrmm, maybe
<SilverFox> but this has worked before
<SilverFox> specifically before the cannon was implemented in full
<SilverFox> right now it just shoots straight upwards
<SilverFox> and manipulates the original object
<SilverFox> yeah for some reason the capsule goes flying as soon as I start the game
<SilverFox> ugh how do I make it a prefab?
<SilverFox> do I just drag it into the assets page?
<GlassYuri> create a prefab in the asset browser then drag it from the scene hierarchy
Thomas|AWAY is now known as Thomas
<GlassYuri> ...that might work too
<SilverFox> I dislike how much you do in the editor rather than code
iPeer has joined #kspmodders
iPeer has quit [Client Quit]
<GlassYuri> SilverFox, ehm why
<GlassYuri> I can make a second type of cannon without either implementing the concept of multiple cannons or creating redundand code
<SilverFox> I can't load this fucking shit by code
<GlassYuri> yeah just do it through the editor
<SilverFox> no I can, Im just being stupid and doing something wrong
<SilverFox> however, I dont see how you have a .prefab file, and you just feed that as a gameobject argument to the script like??
<GlassYuri> if a component expects a gameobject you can feed a prefab using the tit button in the inspector
<SilverFox> yeah but what about multiple ammo types? like the player selecting the ammo manually?
<SilverFox> you'll need code to load the right ammo
<SilverFox> loading every ammo type is kinda bad
<darklight> Implements IShootable!
<GlassYuri> SilverFox, in that case you'd use an array of prefabs and then iterate through them at start and read the info you need for the UI
fakeTank2333 has joined #kspmodders
<SilverFox> did it your way and the capsule still goes fucking flying wrong
<GlassYuri> how do you add the force?
<SilverFox> Im not
fakeTank2333 has quit [Read error: Connection reset by peer]
fakeTank2333 has joined #kspmodders
<GlassYuri> wat
<SilverFox> yup
<SilverFox> that's right
<SilverFox> I have the launch code commented
<SilverFox> the capsule isnt even oriented to the turret right like it should be
Tank2333 has quit [Ping timeout: 200 seconds]
<GlassYuri> try using my code
fakeTank2333 has quit [Read error: Connection reset by peer]
fakeTank2333 has joined #kspmodders
<SilverFox> I commented most of hte init code for the shell like moving it's position and rotation and the thing still goes flying on its own
<GlassYuri> ur doin a wrong
<GlassYuri> explain flying
<SilverFox> rapid unplanned airborne movement
<SilverFox> I also have the MovePosition code commented
<GlassYuri> like collider overlap or what?
fakeTank2333 has quit [Read error: Connection reset by peer]
fakeTank2333 has joined #kspmodders
<SilverFox> both parts of cannon are separated
<SilverFox> thought of that as well
<SilverFox> moved the cannon way off to the side in case the shell was spawning in at 0 coords, and it still goes flying
<GlassYuri> ...what
<SilverFox> yup
<SilverFox> rapid y axis increase, z axis increase, and minor x axis increase
<GlassYuri> so really like a physics bug type of motion
<SilverFox> kraken, looks like
<SilverFox> but I have no idea what's causing it
fakeTank2333 has quit [Read error: Connection reset by peer]
<SilverFox> it happens when I start the scene
<SilverFox> anytime the capsule is loaded it goes fucky
<GlassYuri> just eliminate the object and get a prefab
<SilverFox> by giving the capsule a rigidbody it flies off
<SilverFox> yeah this brand new capsule does the same thing
<SilverFox> it just immediately is gone on a field trip
<darklight> "Swiss court convicts man over 'defamatory' Facebook likes" not the onion
<SilverFox> holy fuck I froze its position and now its rotating like crazy
<GlassYuri> so I just tried a capsule myself, it comes out in the wrong orientation but is otherwise fine
<darklight> Getting a fine over liking a facebook comment.
<SilverFox> a cube does the same thing as well
<SilverFox> all shapes fly off
iPeer has joined #kspmodders
<darklight> I think what we have learned is sf should uninstall unity
<SilverFox> the only way to make it stop is to freeze position and rotation, and as soon as I unfreeze any position or rotation axis, it goes back to spinning and flying
<GlassYuri> SilverFox, I think the only thing to do is close unity and go to sleep
<SilverFox> it's 11:13
<GlassYuri> that's almost midnight
<SilverFox> AM
<GlassYuri> then do something else for a while
<GlassYuri> work on parts of the game that don't require cannons
<SilverFox> ...so work on zero parts of the game?
<GlassYuri> ...I want to create an airship enemy that just floats around stupidly (maybe along a curve or so) and continuously loses gas for each hole you put into it
<SilverFox> go for it
<darklight> inb4 sf calculates molecular weights and air transfers
<SilverFox> how big are the artillery shells?
<GlassYuri> that would be three parts, one up force to keep it floating, a torque to righten it, a forward force, and a steering force or torque
<GlassYuri> if you count more than three elements in that list it's because my thoughts are faster than my fingers
<GlassYuri> of that I have actually done the self-rightening torque, which I did in class because I wanted my ground plane to also be a physics object somehow
<kmath_> YouTube - Battlefield 1 Zeppelin Escape!!!
<GlassYuri> ...I could also make the airship straight out just seek the cannon
<GlassYuri> just gonna make one that flies forward first though
<SilverFox> make it stationary
<GlassYuri> that's just forward movement of magnitude 0
<SilverFox> reinstalling unity
<kmath_> YouTube - battlefield 1942 intro
<SilverFox> the og shit
<darklight> Good music
<SilverFox> alright time to download 6GB of shit again
<darklight> Wait, I had battlefield 2
<darklight> Why are you reinstalling unity?
<SilverFox> because it fucked up, seeing if a reinstall fixes it
<GlassYuri> at this point I'm just being kept awake by luo tianyi and not actually able to develop anymore
<SilverFox> nice
<SilverFox> this is what its like to be a ubisoft employee
<GlassYuri> why would they be listening to chinese vocaloid
<GlassYuri> I'm not sure if they have working internet connections there
<G-Mobile> Chocaloids?
<SilverFox> Greys, targets or airships
<GlassYuri> like airships aren't targets
<G-Mobile> ?
<SilverFox> both of us are working on the game, seperately
<SilverFox> and he wants to know where to go from here
<SilverFox> as my unity install decided to go FULL retard
<G-Mobile> What stage is done?
<SilverFox> controls
<GlassYuri> I have a working cannon
<G-Mobile> Are there currently things to shoot at
<GlassYuri> there would be if there were targets or airships
<darklight> Hrmm. The spicey show hasn't disabled comments yet
<G-Mobile> the entire things-to-shoit category will be revisited, I leave it up to you how complicated you want to make the placeholder
<SilverFox> do you want ground to air, or ground to ground?
<G-Mobile> Artillery is not normally used against air targets
<SilverFox> mine is like, a circle that's a target looking thing, and if collision from shell, point
<G-Mobile> good enough for now
<GlassYuri> I FUCKING SAID PUT THE FUCKING CANNON ON FUCKING FANTASY AIRSHIPS THEN IT CAN SHOOT AT AIR TARGETS YOU IDIOTS
<GlassYuri> had to be said.
<GlassYuri> also artillery is totally used against air targets
<G-Mobile> that can come later
<GlassYuri> I just think that an airship is a relatively good enemy by what you get for the effort
<SilverFox> I think a fucking disc is the easiest
<darklight> Hrmm, somehow there is only one "hitler did nothing wrong" guy, apart from that the chat hasn't caught aids yet
<G-Mobile> so with things to shoot done, .5 is probably the map system
<SilverFox> I thought you didnt want to see it
<GlassYuri> G-Mobile, are you developing your own version of this too?
<SilverFox> when are artillery people using maps?
<GlassYuri> all the time...
<G-Mobile> always
<SilverFox> pussies
<G-Mobile> the original vision of gameplay is, you are at a gun, you have a map and some kind of comm station, text based would be easiest, you receive commands designating target coordinates and your map indicates your position, then you calculate a firing solution, aim, and shoot
<G-Mobile> having never seen the target
<SilverFox> is this because of your sexual identification of artillery shells?
<G-Mobile> Pft
<G-Mobile> Shells are for pleba
<GlassYuri> airship now keeps altitude, moves forward and stays upright
<GlassYuri> implementation is kinda hacky but
<SilverFox> lemme see the code
<darklight> No PID controlled motors?
<SilverFox> looks good, except that Start and Update are weirdly indented
<darklight> Or derp, blimp right?
<SilverFox> so what is the difference here between AddForce and AddRelativeForce?
<GlassYuri> world and local coordinates
<GlassYuri> darklight, setting the drag and angular drag somewhat high in unity serves as a hack PID replacement
<darklight> Now you have to teach silverfox what a transform is
<SilverFox> GlassYuri, seems fair
<darklight> GlassYuri: Well, you have the P part of PID :P
<GlassYuri> darklight, the altitude keeping currently works by just turning off the floatyness when above the target altitude, and usually is accurate to about 4 to 6 millimeters
<GlassYuri> I think the effective range of my cannon right now is like 50 to 100 meters
<SilverFox> wtf is that range
<SilverFox> mine is fucking intercontinental
<SilverFox> with up to 400km range
<GlassYuri> ...on firing, you should use ForceMode.Impulse not ForceMode.Force, right?
<SilverFox> I dont adjust those
<SilverFox> but check em out
<darklight> You could probably just set a velocity right?
<SilverFox> darklight wtf
<SilverFox> get out
<GlassYuri> yes but that ignores mass
<darklight> And?
<SilverFox> OUT
<darklight> It's easier to set a muzzle velocity :P
<SilverFox> why would you ever ignore mass?
<darklight> For the initial firing you dolt
<SilverFox> you're the fucking dolt
<SilverFox> ignoring mass like an idjit
<darklight> If you're having different materials for canonballs, then I guess that might make sense?
<SilverFox> or you know, different types and makes of artillery shells
<SilverFox> different sizes
<SilverFox> shapes
<darklight> I wonder what the formula would be for the force, do you apply force while it's in the barrel?
<SilverFox> f=ma
Wetmelon has joined #kspmodders
<GlassYuri> well in the last 6 or 7 hours I have created a working cannon and a kind of enemy that reacts to being shot at (by righting itself up and continuing to fly in the direction it happens to be pointing at when it regains control
<GlassYuri> )
<SilverFox> congrats
<SilverFox> do you feel good about yourself?
<GlassYuri> if I were still awake enough to feel anything
<GlassYuri> I feel thirsty
<GlassYuri> that's a start
<SilverFox> punch yourself in the face repeatedly
<SilverFox> pain is a pretty strong feeling
<darklight> It's more than what sf has :P
<SilverFox> darklight stfu I ran into problems
<SilverFox> I'd be where he is if unity didn't cockblock me
<GlassYuri> I think I'm going to grab some drinks from the convenience store and then sleep
<darklight> You're rotating around up and then rotating around left
<darklight> I really don't see why unity would fuck that up
<GlassYuri> then tomorrow I'll look into getting this fucking airship done properly
<SilverFox> darklight seriously stop, are you lagging by a day or something?
<darklight> Yeah... you know what, fuck this channel. Apologies greys :P
darklight has left #kspmodders [Konversation terminated!]
<GlassYuri> wat
<SilverFox> lol ripperino
<kmath_> YouTube - The Perfect Programming Language - CodeConf 2016
<SilverFox> lets see how well this goes
<Greys> did you see android's new official language?
<SilverFox> no what is it?
<Greys> it's like, coiptertu or something
<SilverFox> sounds like shit
<Greys> runs on the JVM, has features similar to apple's new language Swift
<SilverFox> when you have to come up with a snazzy name for a language, it's probably bad
<Greys> so what did you do to darkbutt
<SilverFox> features like inferring returns?
<Greys> kotlin is the name of an island in russia
<SilverFox> I didnt do a thing
<Greys> what definition of snazzy
<SilverFox> something extra
<SilverFox> overly done
medsouz|offline is now known as medsouz
<SilverFox> 11 minutes in and this guy hasnt talked about the perfect programming language
stupid_chris has joined #kspmodders
<SilverFox> stupid_chris, wassssssssssssuppp
<stupid_chris> hullo
<SilverFox> whatchu been up to?
<stupid_chris> not much tbh
<SilverFox> nice
<Greys> stupid_chris, in like six weeks you should impliment parachutes in our artillery game for specialty shells like illumination
<SilverFox> reinstalling unity myself because it decided that all rigidbodies should shoot into space
<SilverFox> okay lets see if anything changes
<SilverFox> mmmmmmmmnope
<SilverFox> have no idea why it does this
<SilverFox> hrmm, created a new scene and it seems it works now
<stupid_chris> SilverFox: actually I've been reimplementing all of RealChute's UI in Unity
<stupid_chris> because fuck OnGUI
<SilverFox> fair enough
<SilverFox> I still use onGUI
<stupid_chris> but it sucks
<SilverFox> it's tedious, yeah
<SilverFox> its all I know and its okay for prototyping
<SilverFox> AYYY I DID IT
<SilverFox> GlassYuri, using RelativeForce just makes the shell fall to the ground
<SilverFox> so I use AddForce and it's fine
<pizzaoverhead> stupid_chris: What's the Unity UI system like to work with? I still use OnGui, but have been planning to change things over.
<stupid_chris> pizzaoverhead: flexible
<stupid_chris> WYSIWYG
<stupid_chris> if there are controls you want but aren't base included you can kinda easily code them in
<stupid_chris> you dont have to build every time you want test if it works
<stupid_chris> and you can place stuff yourself
<stupid_chris> it's much faster tbh
<stupid_chris> gotta go though
<stupid_chris> o/
<G-Mobile> Yogapants
stupid_chris has quit [Ping timeout: 180 seconds]
<SilverFox> what about em?
<GlassYuri> SilverFox, have you considered an exorcist
<SilverFox> alright, shell is able to detect targets and check for collisions with the target
<SilverFox> GlassYuri, Ao no exorcist?
<GlassYuri> one that specializes in posessed game engines
<SilverFox> lol
<SilverFox> it was a corrupt scene
<SilverFox> made a new one and now everything is working as intended
<SilverFox> now to implement a linerenderer that shows which way the target is
<GlassYuri> https://www.youtube.com/watch?v=CK7TSkamEOQ this has pretty much been my day
<kmath_> YouTube - 【洛天依】Luo Tianyi - 所謂自由 So-called Freedom (English Sub)
<SilverFox> the chinese language sounds very unappealing to me
Qboid was kicked from #kspmodders by *status [You have been disconnected from the IRC server]
Qboid_ has joined #kspmodders
Qboid is now known as Qboid_
inkers has joined #kspmodders
xShadowx|2 has joined #kspmodders
Stratege_ has joined #kspmodders
GlassFragments has joined #kspmodders
Ecliptica[H] has joined #kspmodders
<SilverFox> wtf
King_Arthur has quit [Killed (NickServ (GHOST command used by Dalewyn_Lancaster))]
Dalewyn_Lancaster has joined #kspmodders
Rokker_ has joined #kspmodders
Addle_ has joined #kspmodders
Shuudoushi has quit [Ping timeout: 383 seconds]
Guest95671 has quit [Ping timeout: 383 seconds]
xShadowx has quit [Ping timeout: 383 seconds]
Rokker has quit [Ping timeout: 383 seconds]
Qboid has quit [Ping timeout: 383 seconds]
tabakhase has quit [Ping timeout: 383 seconds]
Stratege has quit [Ping timeout: 383 seconds]
Ecliptica has quit [Ping timeout: 383 seconds]
Qboid_ is now known as Qboid
Rokker_ is now known as Rokker
GlassYuri has quit [Ping timeout: 383 seconds]
Addle has quit [Ping timeout: 383 seconds]
evil_dan2wik has quit [Ping timeout: 383 seconds]
tabakhase has joined #kspmodders
evil_dan2wik has joined #kspmodders
Shuudoushi has joined #kspmodders
<SilverFox> so targets have been implemented, working on a 3D object to point in the directon of the target
GlassFragments is now known as GlassSleep
GlassSleep has quit [Ping timeout: 204 seconds]
<SilverFox> sweet jesus christ it's happened again
Epsilon has quit [Read error: Connection reset by peer]
<SilverFox> hrmmmmmmmmmmmm
Epsilon has joined #kspmodders
<SilverFox> Greys, I give up on the project, I have no idea what is causing this scene corruption, but it's like having to start over every 30 minutes, and I wont have that, you'll have to contract Glass from here on out
Rokker has quit [Quit: Connection closed for inactivity]
xShadowx|2 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
xShadowx has joined #kspmodders
AlterJeb has joined #kspmodders
RandomJeb has quit [Read error: Connection reset by peer]
medsouz is now known as medsouz|offline
pacbard has joined #kspmodders
Rokker has joined #kspmodders
pacbard has quit [Quit: Bye!]
icefire has joined #kspmodders
pacbard has joined #kspmodders
Thomas is now known as Thomas|AWAY
angavrilov has quit [Remote host closed the connection]
TonyC1 has joined #kspmodders
TonyC has quit [Ping timeout: 204 seconds]
Supernovy has joined #kspmodders
egg is now known as egg|df|egg
fcbayerndm has joined #kspmodders
AlonzoTG has joined #kspmodders
Wetmelon has quit [Ping timeout: 204 seconds]
AlterJeb has quit [Ping timeout: 204 seconds]
Samario has quit [Quit: You think you are above consequences.]