Author Topic: Nope  (Read 4521 times)

0 Members and 1 Guest are viewing this topic.

Offline PlotinusRedux

Nope
« on: November 29, 2014, 10:03:35 am »
Thought I'd see what the AC textures looked like over an Endless Legend type frame (though with squares instead of hexes).  Well, now I know--I definitely won't be going that route...

Offline Geo

Re: Nope
« Reply #1 on: November 29, 2014, 02:40:43 pm »
 ;lol

Offline Flux

Re: Nope
« Reply #2 on: November 29, 2014, 04:44:57 pm »
It'd be worthit to re-draw those in a higher resolution I'm thinking.
Left the internet, more-or-less.... Might drop in occasionally.

Offline Sigma

Re: Nope
« Reply #3 on: November 29, 2014, 08:29:12 pm »
Honestly it doesn't look that bad to me, for a game released 15 years ago.

Offline PlotinusRedux

Re: Nope
« Reply #4 on: November 30, 2014, 02:26:52 am »
Here's the same thing with Civ 4 textures--it could be improved a bit by having the tiles bleed into each other, but I think the stepped frames are just a dead end.  I might add them as an optional view at some point in the future just because it makes elevations easier to judge, but I wouldn't want to play on anything like this--AC today already looks better than this.

Offline Flux

Re: Nope
« Reply #5 on: December 01, 2014, 02:58:57 am »
Hm. That does look like crap. Also made me want to play Civ 4 again.
It would be pretty cool to see one of these open-source WIP ports like JAC or opensmac be made in 3D. Maybe one day.
I haven't the faintest idea of how to program something like that though.
Left the internet, more-or-less.... Might drop in occasionally.

Offline Yitzi

Re: Nope
« Reply #6 on: December 01, 2014, 12:23:48 pm »
Here's the same thing with Civ 4 textures--it could be improved a bit by having the tiles bleed into each other, but I think the stepped frames are just a dead end.  I might add them as an optional view at some point in the future just because it makes elevations easier to judge, but I wouldn't want to play on anything like this--AC today already looks better than this.

As for elevations, I know of at least one bug intrinsic to the way that elevations work, and one of the potential future projects is making them work in a more intuitive manner (so that having a 1999 elevation square next to a 1 elevation square is not easier than having a 2001 elevation square next to a 999 elevation square.)

Offline PlotinusRedux

Re: Nope
« Reply #7 on: December 02, 2014, 07:18:55 am »
Yitzi--That's funny, I've really only looked at elevations from a graphics point of view.  Divide by 1000 then compare, eh?

BlueFlux--I haven't abandoned using 3D (via DirectX 9), just doing so with the Endless Legend stepped look.  At least, 3D for the terrain--unless there's someone here with a lot of time that's good at making 3D models, I plan to leave all the units, etc., as 2D sprites, just with better color depth and possibly a little animation and run through DX9 for better scaling algorithms.

If I had time, I *could* do an open source rewrite of everything except the AI--I've never looked in to how AI is done for games like this.  That would really take more time than I have to spare, though.

Offline PlotinusRedux

Re: Nope
« Reply #8 on: December 02, 2014, 09:02:11 am »
I'm still trying to decipher this terrain shading code.  It's actually quite sophisticated for a paletted 1999 game, complete with spectacular lighting, all done in code without any help from DX or OpenGL.  To increase the color depth, I either need to convert all that code to handle 32-bit color, or just bypass it and let DX or OpenGL handle the shading--the latter will be easier, give better results, and run faster, as even a basic intel chip without a graphics card can handle a good part of it in hardware today.  But I'm impressed at what they managed to do themselves--you can really tell the difference between a game like SMAC Sid cared about, and Civ:BE where he's phoning it in from a beach somewhere....

   

Offline Yitzi

Re: Nope
« Reply #9 on: December 02, 2014, 12:34:35 pm »
If I had time, I *could* do an open source rewrite of everything except the AI--I've never looked in to how AI is done for games like this.  That would really take more time than I have to spare, though.

It's mainly done via "maximize function X" functions.

However, the AI for SMAX, and I think even SMAC, isn't too bright, and it would probably make more sense to just rewrite it from scratch.

Offline ete

Re: Nope
« Reply #10 on: December 02, 2014, 05:46:12 pm »
If I had time, I *could* do an open source rewrite of everything except the AI--I've never looked in to how AI is done for games like this.  That would really take more time than I have to spare, though.

If you end up having more spare time than you expect or feel like taking it on as a long term project I would be *extremely* interested in this and willing to help out as much as I can (mostly organization and testing, I'm not much of a programmer but worked closely with the guy who wrote Pokemon Online for several years dealing with bug reports/making suggestions/collecting data/helping out with anything that's not serious programming). There are a couple of opensource clones that've been started already (python (code), java), but I imagine you working on this would massively increase the chances of completion, so would throw my weight behind whichever you worked on if you went for it (including starting from scratch).

Especially with regards to AI, I've been thinking for a very long time that having AI as adjustable/easy to swap around scripts acting on an API (like bwapi) would massively improve the game, and have a lot of ideas about how that could work with UI and interact with the rest of the game. Judging by the interest by AI designers in BW, I'd bet SMAX would be able to attract several people who'd create AI if a vaguely easy to use API was provided. BW AI must be significantly more tricky due to real time, and afaik there's no real top-quality TBS with an API for AI to use. There would even be potential for things like scripting governors who are non-stupid, handling of large armies lategame without total lack of tactics, and custom automate-former settings, ideally reloadable from in-game so it was changeable by text quickly for testing. I'd seriously love the opportunity to fiddle with AI and try to create something that's a real challenge to beat, but I'm not quite dedicated enough to learn assembly and try to fix the AI directly in that.

Quick sketch of my ideas for handling AI:
API which lets scripts read data from game-state efficiently and return actions in a neat format.
General helper script which contains a bunch of universally useful functions, like a library.
Individual AI scripts, which using functions in the library and direct API (plus current faction personality from faction files if they like) make decisions based on game-state.
Each AI script is in a separate file, with UI on the faction selection dialogue to pick the AI loaded for each faction (for humans this deals with unit automation only). We'd bundle easy, moderate, hard, etc AI scripts, with later some of the best/most interesting user-created AI scripts.
Ideally tolerant of reloading scripts in-game, so you could switch windows to notepad++ or something, edit, save, and immediately see the reaction.
Ideally having a time-out system that gave some default action (and an error message?), so the game did not freeze if the script gets stuck.

Offline JeroenDStout

Re: Nope
« Reply #11 on: December 02, 2014, 08:44:54 pm »
PlotinusRedux,

Out of interest, could you perhaps post screenshots of the various factors it uses for rendering? I am guessing the one you posted above is the specular component. I am quite curious what other components the game uses. The final look has a certain uniqueness to it which is not reflected in many games of the time.

Offline PlotinusRedux

Re: Nope
« Reply #12 on: December 03, 2014, 03:56:10 am »
Jeroen--that's the entirety of the shading shown.  I just replaced the terrain texture.pcx with solid yellow of the color seen in the flat squares to isolate the shading results.

Offline JeroenDStout

Re: Nope
« Reply #13 on: December 04, 2014, 02:05:15 am »
Jeroen--that's the entirety of the shading shown.  I just replaced the terrain texture.pcx with solid yellow of the color seen in the flat squares to isolate the shading results.

Ah, OK! That perhaps makes more sense.

Interesting, considering it is done in the code (not on a GPU), it would have been capable of some more shading effects, like a normal map or shadows. I wonder how this game ran back in 1999, considering it also uses voxels for the units, which cannot have been cheap.

Offline gwillybj

Re: Nope
« Reply #14 on: December 04, 2014, 11:43:07 am »
"I wonder how this game ran back in 1999"

On my K6 266, it was reasonably quick for the first 100 turns or so, became very slow until factions began to fall, then speeded up some. I read a lot of thick books during those games.
Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. ― Arthur C. Clarke
I am on a mission to see how much coffee it takes to actually achieve time travel. :wave:

 

* User

Welcome, Guest. Please login or register.

Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
105 (33%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 316
AC2 Wiki Logo
-click pic for wik-

* Random quote

The first living thing to go through the device was a small white rat. I still have him, in fact. As you can see, the damage was not so great as they say.
~Academician Prokhor Zakharov 'See How They Run'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 44.

[Show Queries]