- [LuaZM] ATC sim
- 13 Apr 2013 03:52:50 pm
- Last edited by flyingfisch on 15 Apr 2013 01:55:15 pm; edited 1 time in total
I am building an ATC sim with LuaZM.
IRC history and ideas:
Code:
So, you can read that, or you can read what I have below.
Features so far
:: Multiple locations to play at
:: Multiple plane classes, each with different characteristics
:: Airspace exit points, entry points
:: Takeoffs and landings
Post your ideas and questions below, I want to make this as realistic as possible!
EDIT:
Download: http://casio.clrhome.org/2013/04/nerves-of-steel-released.html
IRC history and ideas:
Code:
03:29:06 PM - saxjax: (C) [flyingfisch] i am working on an ATC game
03:29:45 PM - KermM: Yarr, back with a snack.
03:29:47 PM - KermM: What did I miss?
03:30:01 PM - krazylego: everything kerm
03:30:14 PM - krazylego: :p
03:30:32 PM - Techboy: ATC game?
03:30:36 PM - Techboy: air traffic control?
03:31:06 PM - saxjax: (C) [flyingfisch] tech: yep :)
03:32:08 PM - krazylego: Any idea on where I could start
03:32:08 PM - Techboy: :o
03:32:17 PM - Techboy: I've always wanted one of those!
03:32:46 PM - saxjax: (C) [flyingfisch] :)
03:32:46 PM - saxjax: (C) [flyingfisch] they are my favorite type of game
03:33:06 PM - saxjax: (C) [flyingfisch] so i am planning on finishing it in a couple days
03:33:06 PM - saxjax: (C) [flyingfisch] luazm
03:33:59 PM - Techboy: oh, aww
03:34:06 PM - saxjax: (C) [flyingfisch] krazy: what lang?
03:34:07 PM - krazylego: prizmc
03:34:19 PM - Techboy: I don't have a prizm :(
03:34:24 PM - KermM: You should have a prizm.
03:34:36 PM - Techboy: I bought a 84+SE over the Prizm
03:34:41 PM - KermM: krazylego: Darn, I knew I would miss everything. :(
03:34:44 PM - KermM: Techboy, fair enough.
03:34:45 PM - tifreak_: Krazy, he did provide source, look at his, get some ideas, adapt and expand
03:34:46 PM - saxjax: (C) [flyingfisch] krazy: hmm, i'm not an expert at C...
03:35:18 PM - krazylego: his sourse is in a language that's not C
03:35:30 PM - krazylego: so I'll have to look pretty hard
03:35:46 PM - saxjax: (C) *KermMartian added a post in [Age of Empires 2] http://cemete.ch/p203580#203580
03:35:50 PM - tifreak_: No wonder it's so slow
03:36:05 PM - krazylego: it looks like Cpp
03:36:06 PM - saxjax: (C) [flyingfisch] maybe techboy can port my game...
03:36:06 PM - saxjax: (C) *tifreak8x has entered the room.
03:36:06 PM - saxjax: (C) [flyingfisch] :P
03:36:26 PM - saxjax: (C) [flyingfisch] ok, back to programming i go
03:36:28 PM - Techboy: what language? what game? :P
03:37:26 PM - saxjax: (C) [flyingfisch] :P
03:37:27 PM - saxjax: (C) [flyingfisch] the atc game im making
03:37:32 PM - Techboy: oh
03:37:33 PM - Techboy: maybe
03:37:37 PM - Techboy: depends what language it is
03:37:47 PM - saxjax: (C) [flyingfisch] lua
03:37:54 PM - Techboy: I'm pretty awesome with lua
03:38:26 PM - saxjax: (C) [flyingfisch] its lua
03:38:46 PM - saxjax: (C) [flyingfisch] luazm
03:39:04 PM - Techboy: is it very different from lua?
03:39:27 PM - saxjax: (C) [flyingfisch] no
03:39:46 PM - Techboy: ok then i should be fine
03:39:47 PM - saxjax: (C) [flyingfisch] just the display functions
03:40:13 PM - benryves: Lua doesn't have any display functions, does it?
03:40:24 PM - Techboy: it has print
03:40:27 PM - saxjax: (C) [flyingfisch] in fact, most of it should work with pretty much any lua interpretor
03:40:27 PM - saxjax: (C) [flyingfisch] oh, key input is different too
03:40:47 PM - saxjax: (C) [flyingfisch] Love2D has display functions for lua
03:40:47 PM - benryves: Heh, I suppose, Techboy :)
03:40:53 PM - KermM: I need to get my LuaZM updates pushed out soon
03:41:07 PM - saxjax: (C) [flyingfisch] what device would you port to? nspire?
03:41:18 PM - Techboy: 84/83 family
03:41:27 PM - saxjax: (C) [flyingfisch] Kerm: what you just said ++
03:42:07 PM - saxjax: (C) [flyingfisch] htere is a lua interpretor for the 84/83 series?
03:42:44 PM - Techboy: no
03:43:01 PM - Techboy: actually i might try to port it to PC
03:43:09 PM - Techboy: with love2d
03:43:27 PM - saxjax: (C) [flyingfisch] oh that could be fun :)
03:43:47 PM - Techboy: ypu
03:43:50 PM - Techboy: yup*
03:48:28 PM - saxjax: (C) *WahlerIT has logged in.
03:48:47 PM - KermM: Nope, there's not TI-83+/84+ Lua interpreter
03:48:59 PM - KermM: the size required for both the interpreter and programs is a bit prohibitive.
03:52:09 PM - aeTIos: Hello
03:52:37 PM - aeTIos: Lua \o/
03:52:54 PM - aeTIos: Lua kicks ass :D
03:52:59 PM - aeTIos: er
03:53:03 PM - aeTIos: *Lua rocks
03:54:47 PM - Techboy: nice recovery
03:55:28 PM - saxjax: (C) *WahlerIT has logged out.
03:56:08 PM - benryves has left the room (Part).
03:57:30 PM - krazylego: bbiab
04:00:45 PM - comic: No
04:01:02 PM - aeTIos: Yes
04:01:19 PM - KermM: Maybe.
04:02:29 PM - saxjax: (C) [flyingfisch] lua++
04:03:09 PM - saxjax: (C) [flyingfisch] ok, got display routines done, plane movement routines done... now collisions,
04:03:30 PM - saxjax: (C) [flyingfisch] and then the engine will be done and i can move to some sort of interface
04:04:19 PM - Techboy: how exactly will this be played
04:04:30 PM - Techboy: will it be like one of those games where you give them a path to follow
04:04:49 PM - Techboy: or will you actually give them commands
04:05:50 PM - saxjax: (C) [flyingfisch] you will actually give commands
04:06:10 PM - saxjax: (C) *ACagliano has entered the room.
04:06:19 PM - aeTIos: ffisch: that sounds like fun :D
04:06:30 PM - saxjax: (C) [flyingfisch] a little like the old atc game included with bsd, but with a more visual interface instead of command line
04:06:32 PM - Techboy: sorta like atcsim.net
04:06:34 PM - Techboy: ?
04:06:39 PM - aeTIos: Who made LuaZM actually?
04:07:10 PM - saxjax: (C) [flyingfisch] so you will select a plane, tell it the course and altitude to follow, and the plane follows your command
04:07:33 PM - Techboy: cool
04:07:50 PM - saxjax: (C) [flyingfisch] techboy: let me check and see
04:08:09 PM - Techboy: it's a really awesome javascript atc sim
04:08:10 PM - saxjax: (C) [flyingfisch] was this what you were talking about? http://www.vatroute.net/
04:08:30 PM - saxjax: (C) [flyingfisch] thats what atcsim.net redirects to
04:08:30 PM - saxjax: (C) [flyingfisch] ok let me see
04:08:42 PM - Techboy: oh nope
04:08:44 PM - Techboy: wrong site
04:08:45 PM - Techboy: here: http://atc-sim.com/
04:10:10 PM - saxjax: (C) [flyingfisch] techboy: yup, pretty similar to that. :)
04:10:37 PM - Techboy: that sounds fantastic
04:10:50 PM - saxjax: (C) [flyingfisch] ok gonna go work on the collision routine
04:10:50 PM - saxjax: (C) [flyingfisch] *collision detection
04:11:10 PM - saxjax: (C) [flyingfisch] thanks :)
04:12:30 PM - saxjax: (C) [flyingfisch] it probably won't be as pretty as that though, i dont have very much screen real estate
04:12:31 PM - saxjax: (C) [flyingfisch] so you will only see data for the selected plane
04:12:51 PM - saxjax: (C) [flyingfisch] alt, etc
04:13:22 PM - Techboy: maybe you could have a side panel of buttons that show up when you select a plane
04:14:11 PM - saxjax: (C) [flyingfisch] thats exactly what i am going to have ;)
04:14:28 PM - Techboy: great minds think alike :D
04:14:31 PM - saxjax: (C) *Fryedsoft has logged in.
04:14:31 PM - saxjax: (C) *Fryedsoft has entered the room.
04:14:51 PM - saxjax: (C) [flyingfisch] most of the screen is going to be radar, and then on the side will be all the data and controls for the selected plane
04:15:05 PM - Techboy: maybe it can show data when you hover over a plane?
04:15:31 PM - saxjax: (C) [flyingfisch] actually, i was thinking you would use the arrow keys to selct next and prev planes
04:15:36 PM - Techboy: ah
04:15:51 PM - saxjax: (C) *piano4lifez has entered the room.
04:16:11 PM - saxjax: (C) [flyingfisch] so i dont have to implement a cursor
04:16:26 PM - Techboy: probably a good idea
04:16:50 PM - Techboy: are you thinking of just handling approaches or also take offs
04:17:11 PM - saxjax: (C) [flyingfisch] takeoffs and landings as well
04:17:11 PM - saxjax: (C) [flyingfisch] just not taxiing
04:17:51 PM - saxjax: (C) [flyingfisch] i may make a ground control game in the future though, for those who want to manage runways and stuff
04:17:59 PM - Techboy: what about different aircraft types?
04:18:11 PM - saxjax: (C) [flyingfisch] yup
04:18:14 PM - Techboy: like a boeing 747 turns slower than a cessna 172, etc.
04:18:31 PM - saxjax: (C) [flyingfisch] right
04:18:31 PM - saxjax: (C) [flyingfisch] and ceilings
04:18:51 PM - saxjax: (C) [flyingfisch] and top speeds/min speeds
04:18:51 PM - saxjax: (C) [flyingfisch] all will factor in
04:19:01 PM - JoeYoung has left the room (Quit: Leaving).
04:19:06 PM - Techboy: seems like the game will have a ton of depth
04:19:31 PM - saxjax: (C) [flyingfisch] i hope so :)
04:20:11 PM - saxjax: (C) *Fryedsoft added a post in [TI-Connect 4.0 and 84C OS 4.0 released !] http://cemete.ch/p203581#203581
04:20:22 PM - comic: Sounds ambitious!
04:21:31 PM - saxjax: (C) [flyingfisch] hmm... should i try to find true distance from plane to plane or just do collision boxes
04:21:32 PM - saxjax: (C) *Fryedsoft has logged in.
04:21:32 PM - saxjax: (C) *Fryedsoft has entered the room.
04:21:52 PM - saxjax: (C) *MrIdrik has entered the room.
04:21:52 PM - saxjax: (C) [flyingfisch] oh wait
04:21:52 PM - saxjax: (C) [flyingfisch] i can use trig functions!
04:22:12 PM - saxjax: (C) [flyingfisch] let me think here now
04:22:12 PM - saxjax: (C) *flyingfisch is going to find pen and paper
04:22:25 PM - Techboy: take that notepad
04:22:32 PM - comic: flying, it'd probably be easier to do boxes
04:22:32 PM - comic: Because, by true distance I assume you mean from the wing of one plane to, say, the fuselage of another.
04:23:05 PM - Techboy: comic: wouldn't fuselage to fuselage make more sense?
04:23:12 PM - saxjax: (C) [flyingfisch] no no, i mena like a vectore distance
04:23:30 PM - comic: I would think Wing to wing
04:23:32 PM - saxjax: (C) [flyingfisch] just have to find distance between two points
04:23:48 PM - Techboy: ah that makes more sense
04:23:52 PM - saxjax: (C) *Fryedsoft edited a post in [TI-Connect 4.0 and 84C OS 4.0 released !] http://cemete.ch/p203581#203581
04:23:57 PM - Techboy: flyingfisch: you mean like magnitude?
04:24:12 PM - saxjax: (C) [flyingfisch] if its less than 3 mi, then bingo, you lose
04:24:12 PM - saxjax: (C) [flyingfisch] of course, we have to factor in altitude as well
04:24:27 PM - Techboy: is 3m the FAA standard?
04:24:52 PM - saxjax: (C) [flyingfisch] i think so, its what all the games use, but i'll check
04:25:12 PM - saxjax: (C) *Fryedsoft edited a post in [TI-Connect 4.0 and 84C OS 4.0 released !] http://cemete.ch/p203581#203581
04:27:32 PM - saxjax: (C) [flyingfisch] 3NM or 1000ft
04:27:52 PM - saxjax: (C) [flyingfisch] in terminal airspaces
04:27:53 PM - saxjax: (C) [flyingfisch] https://en.wikipedia.org/wiki/Separation_(air_traffic_control)
04:28:03 PM - Techboy: so 3NM apart and 1000ft difference in altitude
04:28:12 PM - saxjax: (C) [flyingfisch] the game will be concerned with the area around an airport, so i think that's it
04:28:27 PM - Techboy: are you going to have vector points?
04:28:32 PM - saxjax: (C) [flyingfisch] yup
04:29:13 PM - saxjax: (C) [flyingfisch] vector points? like VOR stations?
04:29:28 PM - aeTIos: I'm leaving, cyall later
04:29:33 PM - saxjax: (C) [flyingfisch] i am going to have airspace exit points, airspace entry points, and an airport
04:29:40 PM - aeTIos has left the room (Part: bye).
04:29:53 PM - saxjax: (C) [flyingfisch] bye :)
04:30:09 PM - Techboy: cya
04:30:13 PM - saxjax: (C) *flyingfisch works out the distance formula
04:30:24 PM - Techboy: are you going to have different airports?
04:31:13 PM - saxjax: (C) [flyingfisch] i was thinking no... just because the screen is so small...
04:31:13 PM - Techboy: actually what i should say is, different locations
04:31:27 PM - Techboy: no, not multiple airports in a single go
04:31:34 PM - Techboy: like the ability to choose what airport to work at
04:31:46 PM - Techboy: and that might affect what types of planes you have
04:31:53 PM - saxjax: (C) [flyingfisch] oh yes, i was thinking i would do that
04:32:33 PM - saxjax: (C) [flyingfisch] and...... if Kerm ever releases that next version of luazm, i can have people make custom maps...
04:32:53 PM - comic: Don't forget cross winds!
04:33:05 PM - comic: But, you're not flying the plane so it wouldn'r really matter...?
04:33:53 PM - saxjax: (C) [flyingfisch] comic may be right... let me think
04:34:11 PM - Techboy: i don't think ATC personnel take crosswinds into consideration, do they?
04:34:13 PM - saxjax: (C) [flyingfisch] well, no, you would have to take crosswinds into account
04:34:13 PM - saxjax: (C) [flyingfisch] because you are giving pilots a heading
04:34:19 PM - Techboy: it's up to the pilots to correct
04:34:28 PM - comic: You're both right
04:34:33 PM - saxjax: (C) [flyingfisch] not a vor fix
04:34:42 PM - comic: After a certain altitude flight control can't really help anymore
04:34:53 PM - saxjax: (C) [flyingfisch] right
04:34:55 PM - comic: They can say, "pull up!" but not
04:35:01 PM - comic: Like, adjust 5meters to the right
04:35:13 PM - saxjax: (C) [flyingfisch] also, if you give a VOR fix, then the crosswind wont matter at all
04:35:33 PM - saxjax: (C) [flyingfisch] but if you give a heading, then it does matter
04:36:54 PM - saxjax: (C) [flyingfisch] the pilot doesnt know if he is drifting
04:36:54 PM - saxjax: (C) [flyingfisch] unless he has a gps
04:37:13 PM - saxjax: (C) [flyingfisch] with a VOR fix, though, the pilot simply flies the instruments
04:37:33 PM - saxjax: (C) [flyingfisch] and VOR will keep him flying a radial into/out of the station
04:37:51 PM - Techboy: hopefully he would figure out he's drifting if he's about to come in for a landing :P
04:38:13 PM - saxjax: (C) [flyingfisch] oh yes
04:38:33 PM - saxjax: (C) [flyingfisch] but crosscountry he cant be super precise... but then hes probably not flying a compass
04:38:54 PM - saxjax: (C) [flyingfisch] so... i guess it doesnt matter
04:39:21 PM - Techboy: i guess its up to you whether you want to implement crosswinds
04:39:30 PM - Techboy: but from an ATC perspective they're not really important
04:39:54 PM - saxjax: (C) [flyingfisch] i dont think i do
04:39:54 PM - saxjax: (C) [flyingfisch] i want to make this really realistic
04:44:56 PM - saxjax: (C) *builderboy2005 has entered the room.
04:45:28 PM - comic: You should make a topic, flying!
So, you can read that, or you can read what I have below.
Features so far
:: Multiple locations to play at
:: Multiple plane classes, each with different characteristics
:: Airspace exit points, entry points
:: Takeoffs and landings
Post your ideas and questions below, I want to make this as realistic as possible!
EDIT:
Download: http://casio.clrhome.org/2013/04/nerves-of-steel-released.html