aliens

Author Topic: LOVING THE NEW UFO DEFENSE  (Read 9710 times)

Offline Agent-HotChocolate

  • Squaddie
  • *
  • Posts: 2
    • View Profile
LOVING THE NEW UFO DEFENSE
« on: September 20, 2019, 09:32:53 pm »
Spent the past week playing.

GOOD JOB GUYS MAKING THIS.

This is how XCOM should have been.

Im still learning the game it still feels different compared to Collectors Edition.

Offline cptelerium

  • Sergeant
  • **
  • Posts: 37
    • View Profile
Re: LOVING THE NEW UFO DEFENSE
« Reply #1 on: November 24, 2019, 04:04:15 am »
Yes, UFO: Enemy Unknown (X-COM: UFO Defense) might be the best ever tactical(+strategical) game created by humans,

and open xcom project makes it x2 more fun to play than old clunky controls.

Thank you guys forever  8)

Offline andre2

  • Sergeant
  • **
  • Posts: 23
    • View Profile
Re: LOVING THE NEW UFO DEFENSE
« Reply #2 on: December 12, 2019, 03:30:09 pm »
I dont know what exaclty what you have played in the past of the old XCOM´s.
When you are finished with UFO, try TFTD. It is harder.
Then, when you have had alot of shitpants moments in TFTD and still could manage to win TFTD, take a look into the mod "The World of Terrifiying Silence" - "TWoTS".
It offers more shitpants moments.  ;)
No, really. TWoTS is amazing. I´m just ~30 hours into it.

Offline cptelerium

  • Sergeant
  • **
  • Posts: 37
    • View Profile
Re: LOVING THE NEW UFO DEFENSE
« Reply #3 on: December 27, 2019, 03:06:13 am »
I've played just the first UFO - that is "UFO: Enemy Unknown" (in USA renamed to "X-COM: UFO Defense") in DOS afair.

The biggest problem with it, by todays standards, was the UI, especially the mouse.

EDIT: and the bugs, I think smoke-tiles-limit bug might be the worst as it disabled entire strategy against most deadly alien attacks: the strategy to shut down EVERYTHING 111!!!!1 in smoke bombs.

Was so very annoying to point the correct unit/tile and not missclick on the one next to it (AFAIR it was lacking a mouse cursor too in most modes, just showing the selection, not how close you are to border of jumping to next one besides it).

Was so fantastic game back then, and still I wouldn't say I see any today that really is so in-depth.

Only thing making it better would be:
- more tactical AI, building real good plans
- collapse terrain (as in UFO-3 / Apocalypse) along with, of course, bigger dimensions, and more variant, maps


EDIT
- getting like 1 or 2 more alien types (back in the day) would be nice too, though I wouldn't say it was a "problem" especially back then
« Last Edit: December 27, 2019, 02:34:51 pm by cptelerium »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: LOVING THE NEW UFO DEFENSE
« Reply #4 on: December 27, 2019, 01:38:46 pm »
We can (and do) make new terrains and bigger battlescape.

AI is serious business. A few small but significant improvements have been done by Otto Hartenstein 23 in the OXCE fork, used by most big mods. The most important one is the sniper/spotter system, which allows enemy units to coordinate fire better. But nobody has yet appeared to really improve the AI on a larger scale, as it's a very ambitious task, and all devs already have their hands full with other updates.

Collapsing terrain is perhaps the most challenging, as it would probably require redoing all maps, both vanilla and custom.
« Last Edit: December 29, 2019, 04:28:13 pm by Solarius Scorch »

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: LOVING THE NEW UFO DEFENSE
« Reply #5 on: December 27, 2019, 10:11:20 pm »
Collapsing terrain is perhaps the most challenging, as it would probably require redoing all maps, both vanilla and custom.

If someone codes in the requirements for that i would be more than happy to do my fair share of maps :P I am picturing this as a 3rd map file for each mapset, something we could add through Mapview2 would be fantastic. You would want a global variable in game to turn it off though for a Vanilla Experience.
« Last Edit: December 28, 2019, 05:22:00 am by luke83 »

Offline kevL

  • Colonel
  • ****
  • Posts: 482
  • pitchforks and torches
    • View Profile
Re: LOVING THE NEW UFO DEFENSE
« Reply #6 on: December 28, 2019, 03:17:30 am »
i gave a shot at coding in falling terrain (not really collapsing so it would look ruined). Unfortunately i haven't had a chance to see it in action yet ... but things like lamposts should just go thud down a level. And haybales should fall to the ground. I guess it could look quite comic, but hey ...

It doesn't handle stuff like big trees though. That's where the code would have to get pretty wild, with possibly some extra vars in the MCDs

/idk

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: LOVING THE NEW UFO DEFENSE
« Reply #7 on: December 29, 2019, 04:33:04 pm »
Very interesting, kevL!

Luke's idea for a third file sounds fine, as it wouldn't conflict with vanilla - no .GRV file means no effect. But as kevL said, it gets really complicated with anything less straightforward than a lamp post, and I have only a limited idea on how it would work. For example, would there be material types? If yes, then it's more of a terrain value than maps...

Offline kevL

  • Colonel
  • ****
  • Posts: 482
  • pitchforks and torches
    • View Profile
Re: LOVING THE NEW UFO DEFENSE
« Reply #8 on: December 29, 2019, 08:24:06 pm »
luke and I shot a few messages back & forth about this. We both seemed to center on the idea that the .grv file might have data that connects specific parts to other specific parts on the (specific) Map, as well as perhaps "load-bearing" and "load-transfer" values ...

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: LOVING THE NEW UFO DEFENSE
« Reply #9 on: December 30, 2019, 12:12:00 am »
luke and I shot a few messages back & forth about this. We both seemed to center on the idea that the .grv file might have data that connects specific parts to other specific parts on the (specific) Map, as well as perhaps "load-bearing" and "load-transfer" values ...

I'm not sure what it means, but if you mean that all stresses and such would have to be done by the mapper completely by hand, for each block, then... well, sorry, no way...

Offline kevL

  • Colonel
  • ****
  • Posts: 482
  • pitchforks and torches
    • View Profile
Re: LOVING THE NEW UFO DEFENSE
« Reply #10 on: December 30, 2019, 12:26:59 am »
maybe, maybe not (the possibility of some sort of prefabs crossed my mind)

Offline Stoddard

  • Colonel
  • ****
  • Posts: 485
  • in a fey mood
    • View Profile
    • Linux builds & stuff
Re: LOVING THE NEW UFO DEFENSE
« Reply #11 on: December 30, 2019, 03:09:42 am »
What's the problem with starting just with LOF voxels and going from there?

There would be decisions to be had on what shear strength do a wall or a wall joint have - as in how long a wall can hang.
But that can be decided later.

And floors can be hanldled in a DF-like fashion for a start - if it isn't 4-way connected to at least another tile, it falls.


Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: LOVING THE NEW UFO DEFENSE
« Reply #12 on: December 30, 2019, 06:04:17 am »
I'm not sure what it means, but if you mean that all stresses and such would have to be done by the mapper completely by hand, for each block, then... well, sorry, no way...
Doing it at the MCD Level and apply a support strength to each item sounds like the easy solution but im sure some building configurations wont standup by default if we take that approach. My thought was to do it on a Mapblock  level and just flag a few items around the Map as "load bearing" and show area around each "load bearing item" to show how much that enitity is  supporting. To me if i only had to flag 8 items per map block this way it doesnt seam like a huge amount of work to be honest, the vanilla Urban set would be done in like 30mins.

Now maths & coding are NOT my things so i will stay out of the details of how you handle it ( as there are plenty of smarter people on here than me) but let me know when your ready to test as im happy to help at that level :)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: LOVING THE NEW UFO DEFENSE
« Reply #13 on: December 30, 2019, 05:48:54 pm »
Doing it at the MCD Level and apply a support strength to each item sounds like the easy solution but im sure some building configurations wont standup by default if we take that approach.

Yes, most likely. Still, I'd rather slightly modify some blocks to prevent auto-collapse (just a column here or there) than make another, harder ROUTES.

My thought was to do it on a Mapblock  level and just flag a few items around the Map as "load bearing" and show area around each "load bearing item" to show how much that enitity is  supporting. To me if i only had to flag 8 items per map block this way it doesnt seam like a huge amount of work to be honest, the vanilla Urban set would be done in like 30mins.

Yeah, but I have several thousand blocks... :)

Now maths & coding are NOT my things so i will stay out of the details of how you handle it ( as there are plenty of smarter people on here than me) but let me know when your ready to test as im happy to help at that level :)

I have no idea how to do that wither, so it's easy for me to throw around "suggestions". But it still sounds most attractive for me to make the change in two places: terrain (to define basic characteristics of a tile) and maps (to refine the forces for a given case, such as, what should be "glued together" and what shouldn't).

Offline cptelerium

  • Sergeant
  • **
  • Posts: 37
    • View Profile
Re: LOVING THE NEW UFO DEFENSE
« Reply #14 on: December 31, 2019, 06:42:28 pm »
I was thinking, we could automatically support all existing maps - as in step 2:

1) for each tile we check tiles around to decide:
a) is this tile supported by the one below it (e.g. mountain-top on the earth fill, or tree-top on tree-trunk)
b) if not, then it must be hanging on tiles around it (e.g. a floor tile on other floor tiles around)

most interesting is case B.
On each such tile, we calculate how much support it has. I guess it could be "radiating" from tiles (A), is further away from support then less of it.
Consider floor tiles, on 1st floor (above 0-th ground floor) in e.g. the farm building.
The ones near edge (near wall) are strongly support, the ones in middle are less.

2) When loading a map in battlescape, one-time do following calculations:
For each tile we assume that the support it has now, is the right support for it; and further assume at least 50% of current value is needed for that tile in that place to hang.

We save that value for this tile.

And that should be it.

Of course, still new maps might customise this setting and save support-needed value for each tile, or set it to be e.g. 1..100% of current value (to make certain floors very fragile).

During battlescape, when some tiles are destroyed, we re-check all tiles around (in worst case scane the entire map, but that can be optimised a lot, later).

As walls around that floor are destroyed, support is lessen, and if it falls below 50% of what it was then tile drops off.

As for case (A), simply if the tile below it is gone, then we this one also drops.


Depending on tile type, after falling it might remain (e.g. earth-filled block), or might be removed and instead smoke generated (falling floor tile shatters and is gone) or perhaps changed into object "rubble" sometimes (would be hidden from map and from inventory screen).






« Last Edit: December 31, 2019, 06:48:58 pm by cptelerium »