GLSMAC - Open-source OpenGL/SDL2 remaster of SMAC

Since I'm not a coder, is there a way to access / add to the game the stuff you already created?
You mean adding something to original SMAC? It's not possible, completely different codebase. But I think GLSMAC will reach playable state this year :crazyeye:

Btw, added some units UI today
 

Attachments

  • units_ui.png
    units_ui.png
    82.6 KB · Views: 296
  • 2024-02-20-220107_1920x1080_scrot.png
    2024-02-20-220107_1920x1080_scrot.png
    3.1 MB · Views: 310
  • 2024-02-20-220033_1920x1080_scrot.png
    2024-02-20-220033_1920x1080_scrot.png
    3.7 MB · Views: 3,285
  • 2024-02-20-220017_1920x1080_scrot.png
    2024-02-20-220017_1920x1080_scrot.png
    3.2 MB · Views: 275
Improved version, also added unit movement and death animations. Everything is synchronized in multiplayer, also tiles are locked during animations to avoid any race conditions (it's impossible to move or attack tile until it's unlocked).
Tab key can be used to switch to other units even while previous one is in combat (as in civ5). Animations don't lock ui, meaning many units can move or attack at same time and it will work fine.

 
Last edited:
Awesome! Keep up the good work. What is your next task? Do you have the plan in your head in which order you're implementing the new features?
 
Some bugs are left, after that I'll move to bases, economy, building units, building colony pods (placeholder sprite for now) and building new bases, by that 0.4v will be reached :crazyeye:
Then, first step in 0.4v will be (finally) CVRs.
Hm, I'll also need to implement an in-game console, similar to one in Quake / Half life / etc, and ability to execute scripts while in game and from command line, will make testing so much easier. Prob better to do before bases 🤔 Not super difficult tho.

Btw, just did small benchmark -
- and game can handle 8100 animations (animation on every tile of huge map) at same time, still gives ~1200 FPS :cool: (medium tier hardware)
 
Last edited:
Bases in progress

Small glitches here and there, moving to base UI soon. Hive and Angels text color isn't readable, I checked original SMAC and kinda same issue. Not sure how to improve without changing look 🤔
 

Attachments

  • 2024-06-30-211207_1920x1080_scrot.png
    2024-06-30-211207_1920x1080_scrot.png
    3.3 MB · Views: 142
  • 2024-06-30-211244_1920x1080_scrot.png
    2024-06-30-211244_1920x1080_scrot.png
    2.5 MB · Views: 144
  • 2024-06-30-211255_1920x1080_scrot.png
    2024-06-30-211255_1920x1080_scrot.png
    2.8 MB · Views: 6,026
  • 2024-06-30-211320_1920x1080_scrot.png
    2024-06-30-211320_1920x1080_scrot.png
    3 MB · Views: 415
  • 2024-06-30-211335_1920x1080_scrot.png
    2024-06-30-211335_1920x1080_scrot.png
    3.3 MB · Views: 3,054
  • 2024-06-30-211423_1920x1080_scrot.png
    2024-06-30-211423_1920x1080_scrot.png
    3 MB · Views: 100
  • 2024-06-30-211501_1920x1080_scrot.png
    2024-06-30-211501_1920x1080_scrot.png
    3.2 MB · Views: 4,350
  • 2024-06-30-211602_1920x1080_scrot.png
    2024-06-30-211602_1920x1080_scrot.png
    3.1 MB · Views: 1,831
  • 2024-06-30-211138_1920x1080_scrot.png
    2024-06-30-211138_1920x1080_scrot.png
    2.6 MB · Views: 80
  • 2024-06-30-211055_1920x1080_scrot.png
    2024-06-30-211055_1920x1080_scrot.png
    2.9 MB · Views: 1,802
  • 2024-06-30-211037_1920x1080_scrot.png
    2024-06-30-211037_1920x1080_scrot.png
    2.5 MB · Views: 823
  • 2024-06-30-211020_1920x1080_scrot.png
    2024-06-30-211020_1920x1080_scrot.png
    3.2 MB · Views: 154
Improved fonts a bit
 

Attachments

  • image5.png
    image5.png
    605.8 KB · Views: 158
  • image4.png
    image4.png
    427.5 KB · Views: 165
  • image3.png
    image3.png
    538.2 KB · Views: 146
  • image2.png
    image2.png
    645.7 KB · Views: 141
  • image1.png
    image1.png
    763.5 KB · Views: 148
Wow this is incredible work, really hoping you can advance further ahead! It would be the Next Level for SMAC. Imagine, fully modable SMAC. This game would live for a looong time.

By the way, do you think adding the possibility of adding further terrains and weather is possible? I was thinking something like cliff-coast which blocks access to and from sea but can be entered by land units, and the possibility of having snow in the SMAC system of weather/climate/terrain. Iceball and Slushball Planet, anyone?

As for the Progenitors, I'd suggest that their arrival be moved a bit later for huge-map players, because it doesn't make sense storywise to have them appear while the humans are still our seeking each other. Perhaps have them appear 10 turns later for huge map and 5 turns later for normal map?
I have the impression 20-10 might be better for Progenitors, from the short novella, it seems humans were already fighting each other by the time the Progenitors dropped on Chiron.
 
Modding support is high priority for GLSMAC, for now many things are in C++ to speedup development but I'll add more and more higher level game logic to .gls.js scripts (in GLSMAC_data). Later I'll move more things from C++ to scripts (for example terrain types, map generation) and those scripts can be modified easily (won't require game recompilation because it loads them in runtime), later mods can also be packaged into single files (with manifests and versioning) and in multiplayer distributed between host and players automatically (so host can just make lobby with his mod and everyone who connects will get it and they can just play, then those players will be able to host their games with this mod, etc. Each mod will be stored separately from others, also newer versions separately from older, so no compatibility issues).
 
Last edited:
Improved fonts a bit
I don't know if this is possible or even within your design philosophy, but I would advice giving each faction a unique secondary colour for the text outline. That's at least how I would go about in keeping readability consistently high
 
Have been looking forward to this one for a while. Couple of thoughts/wishes. SMAC's 3D terrain is unique in the civ series. It's great and I love it but it's very round and smooth. It would be nice if it were more rugged. More skyrim than morrowind, so to speak. Probably, this could be tied into rockiness.

mountains - Copy.jpg
(Some decent looking mountains in civ6)

The other great map feature would be to make the world a 3D globe with ice caps. You'd be able to send needlejets howling over the poles to bomb your enemies and so on. Long term, this would open up some nice modding possibilities with placing stations in orbit, with moving ships around in space, to the moons, to that one other planet closer to the primary sun.

Of course, you want to replicate the original game first. These are just my dreams.
 
Back
Top Bottom