• Welcome! The TrekBBS is the number one place to chat about Star Trek with like-minded fans.
    If you are not already a member then please register an account and join in the discussion!

OpenTrek tactical ship shooter

intgerspin

Ensign
Newbie
Hi, Thought I'd post a link to a fun little project I've been knocking around. Basically, I wanted a tactical shooter similar to Taldrens starfleet command, but that operated more in line with my head cannon (and less SFB). Source material is old TOS, TOS movies and some TNG. Don't know much trek after that, honestly. Trying to lean into the sensors and signals aspect to capture a sub-battle feel.

Let's see.. esc will get you to a manual of sorts, shift-1 to dis/engage warp (2-6 to select warp or use the ui). Warp is a multiplier on the impulse drive, so it's possible to be at max warp and not move. spacebar to fire selected weapons. tab to cycle targets. Systems all have some base power, use the energy allocation panel to channel warp power (or aux power) to them. Shields leak unless reinforced with extra power. If the reinforcement shield layer is destroyed, don't bother putting power to it until it repairs itself (slow). Phasers can be toggled in and out of point defense mode (point defense will auto target drones, gravitic mines and torps). Torps can be toggled between regular and proximity mode (for hunting cloaked ships). Other stuff... some planets/stars will have mag fields that scramble sensors (shift-b to display), nebula will do what you'd expect, asteroid and debris fields are good for hiding (no collisions though).

I'm not a pro by any stretch... a pretty lousy programmer TBH. But, this was fun to piece together. Graphics are pretty basic, but the systems under the hood are fairly complex.

Here is a windows version... I dev this on a Mac, so it might be a bit buggier than the version I play. I basically built this for myself and some friends, so it's very rough around the edges and absolutely not in any way a commercial product. If there's interest, I can post a Mac version. There is no cert, so your computer will warn you that it might be unsafe. It's safe to run. Posting to see if anyone has suggestions that I haven't thought of.

 
A warning to anyone coming here: we don't know this developer and this is their first post at the board. Installing software can pose a risk to your machine. If you use this software ensure you know what you're doing and take adequate precautions. If you're unsure, don't do it.
 
A warning to anyone coming here: we don't know this developer and this is their first post at the board. Installing software can pose a risk to your machine. If you use this software ensure you know what you're doing and take adequate precautions. If you're unsure, don't do it.
Are you going to try it?
 
If an admin wants to shoot me an email, I'll provide them with my identity that they can easily confirm. I'm sure they'd be satisfied that I'm reasonably trustworthy. :) I don't see how to upload screenshots or videos. Maybe because my login is too new?
 
Imgur is blocked in my country.

To clarify it's not that I don't trust you, I'm just saying to the wider audience use caution when investigating such things. It's just a standard disclaimer, and I felt better than the post being taken down.
 
No, it's good advice. It's why I posted the game as an exe, and also as a zipped exe.


Hoping to get a bit of feedback on what doesn't work so well. I'm a pretty lousy programmer (more of a hardware guy). It's a fairly straightforward pygame, but has grown to about 255K lines of code. I'm thinking about a refactor to something like panda3d.
 
I'm just realizing that the LLM communications officer is broken. :rolleyes: I recently refactored the LLM ai director, and it looks like I broke the comms. I'll fix it this weekend, but it's not necessary for the game. Basically, if you enable LLM, you can hail enemy and ally ships and chat with the captains (or demand surrender). They do a pretty good job of remaining in character.
 
Begin was an inspiration of sorts (uh huh, I'm old), so yes those are the roots. I wrote it on a Mac... linux version should be easy enough via docker (probably work better than the win version). I think pygame and numpy have platform specific native code that can't be cross compiled. Can probably knock up a linux version.
 
If you are not already a member then please register an account and join in the discussion!

Sign up / Register


Back
Top