Author Topic: [TFTD] [Expansion] TWoTS+ Release (v.2.63.1)  (Read 905612 times)

Offline murkhach@centrum.cz

  • Captain
  • ***
  • Posts: 59
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.62) Yacht & Container Variety
« Reply #2235 on: December 16, 2024, 07:26:14 pm »
Hi I experimented  with enemy spawning.
  In first published  maps  I tried to manually set routes spawning ranks and patrol priorities.
  This make map interesting for first play, however after several times becomes stereotype and routine.
 
 So I wrote a simple  console app in .NET  that as argument accepts FILE 
  ( IE "XCOM Routes Randomizer.exe" d:\Documents\OpenXcom\xcom2\Yacht00.RMP )

1.)  It counts number of nodes for each rank and then
2.)  Sets spawning and patrolling priorities for all nodes to 1
3.)  Shuffles node ranks (Omits X-COM & Terrorist 2 )
4.)  Saves new file as .RMPX

Because my maps contains just one block,  it is easy  adjust terrains rule, that  when mission is created, then the block is picked randomly. So variety seems more rich then before.

ENJOY and share your feedback
 

   
 
 

Offline Nord

  • Commander
  • *****
  • Posts: 1757
  • The Gate is open.
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.62)
« Reply #2236 on: December 17, 2024, 08:54:59 am »
Interesting idea.
Quote
3.)  Shuffles node ranks (Omits X-COM & Terrorist 2 )
This can produce a mess out of map. Like 2x2 units locked in small rooms and so on.

Offline murkhach@centrum.cz

  • Captain
  • ***
  • Posts: 59
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.62)
« Reply #2237 on: December 17, 2024, 11:11:16 am »
Interesting idea.This can produce a mess out of map. Like 2x2 units locked in small rooms and so on.
I can update code that both terrorist ranks would stay in place (I supposed that 2x2 is used for terrorist 2)
The code actually shuffle only ranks and reset priorities - so the unit size and movement limitations  stay as it is

 So theoretically   ( if terrorist 1 is 2x2 unit and allowed nodes for this ran  are small units only) map script does not spawn unit or report error
 However only one surface 2x2 units are terrorist , so I will add Binary that omits both terrorist ranks


Algorithm:
             for (int i = 0; i<fileLenght / 24; i++)
            {
                fs_Rmp.Read(buffer, 0, 24);   // 20 - unit rank,21-patrol priority,  23-spawn priority  (others like links, position, unit size are unaffected)
                RouteNode r = new RouteNode(buffer);
                r.SpawnPriority = 1;
                r.PatrolPriority = 1;

                ranks[r.Rank]++;
                if (r.Rank != 1 && r.Rank != 8) // not X-XCOM and terrorist
                    toMixNodeIndexes.Add(i);

                routeNodes.Add(r);
            }

            // randomization 
            while (toMixNodeIndexes.Count > 0)
            {
                int idx = RandVal(toMixNodeIndexes.Count);
                mixedNodeIndexes.Add(toMixNodeIndexes[idx]);
                toMixNodeIndexes.RemoveAt(idx);
            }

            ranks[1] = 0;

            int convertedNodes = 0;
            for (byte i = 0; i < 8; i++)
            {
                for (byte j = 0; j < ranks; j++)
                {
                    routeNodes[mixedNodeIndexes[convertedNodes]].Rank = i;
                    convertedNodes++;
                }
            }

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9369
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.62)
« Reply #2238 on: January 01, 2025, 08:49:33 pm »
Things to be fixed for oxce80:


3x 'Akamu in Polynesia.nam, change to "'Akamu"

Comments without preceding whitespace:
- in TWoTS/Language/en-US.yml
e.g.  STR_BLOOPT: "X-COM INVASION OF AN"#title
and similar, search for "#
there's about a dozen of them


Offline davidjrusson

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.62)
« Reply #2239 on: January 16, 2025, 10:59:29 pm »
Meridian

Thank you for your help with running OXCE.

Thought I would try the Mod TWotS for TFTD with OXCE.

Works ok with my v7.15  OXCE folder but when trying to run with v8.0.0 folder the load fails and drops me to desktop . T

he error log has the following entries :-

16-01-2025_20-44-43]   [INFO]   Loading rulesets...
[16-01-2025_20-44-43]   [FATAL]   Error loading file 'F:/Users/David/Documents/OpenXcom/mods/TWoTS/MGS_SoldierName/Polynesia.nam'
[16-01-2025_20-44-43]   [WARN]   disabling mod with invalid ruleset: TWoTS
[16-01-2025_20-44-43]   [ERROR]   failed to load 'The world of (terrifying) silence'; mod disabled
F:/Users/David/Documents/OpenXcom/mods/TWoTS/Ruleset/soldiers.rul: Rapidyaml ERROR: reached end of file while looking for closing quote

Is this mod compatible with the latest OXCE version or only runs with 7.15?

Many thanks

DavidR


Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9369
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.62)
« Reply #2240 on: January 16, 2025, 11:01:56 pm »
Is this mod compatible with the latest OXCE version or only runs with 7.15?

It's not compatible yet.
Nord is working on it.

Here is a list of compatible and not compatible major mods: https://openxcom.org/forum/index.php?topic=12367.msg169045#msg169045

Offline Nord

  • Commander
  • *****
  • Posts: 1757
  • The Gate is open.
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.62)
« Reply #2241 on: January 20, 2025, 09:54:05 am »
Version 2.63 is up.
Changelog:
- OXCE 8.0 compatible;
- Added new pirate map by murkhach.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9369
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.63)
« Reply #2242 on: January 20, 2025, 10:06:49 am »
Hi,
it still crashes.
Please add `ignore: DUMMY` to alienDeployments.rul, near line 320

Edit: I was wrong, it doesn't crash on the current beta version, because it was built in year 2024, but it will crash on the next release built in 2025... in any case, it needs to be fixed soon-ish


PS: we will now change the error so that it cannot be suppressed anymore by user options, there was enough time for migration (over 1 year)
Edit2: that whole error suppression concept is too complicated, even for me (and doesn't seem to help, since everybody is ignoring errors in the log file completely), in the future there will be no more error suppression possibility... just one deadline until when things need to be migrated and after that date, it will be a hard error.
« Last Edit: January 20, 2025, 09:52:54 pm by Meridian »

Offline Nord

  • Commander
  • *****
  • Posts: 1757
  • The Gate is open.
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.63)
« Reply #2243 on: January 21, 2025, 11:03:51 am »
Done.
Version 2.63.1 is up.
Fixed AlienDeployments.

Offline Xcomfan

  • Squaddie
  • *
  • Posts: 1
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.63.1)
« Reply #2244 on: February 10, 2025, 12:24:08 pm »
Hi, how do i get biolab? i tried searching in tech tree but no results. Also, is there a discord chat ?

Offline psavola

  • Commander
  • *****
  • Posts: 929
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.63.1)
« Reply #2245 on: February 10, 2025, 08:00:29 pm »
Hi, how do i get biolab? i tried searching in tech tree but no results. Also, is there a discord chat ?

To research it, you need advanced bionics (which requires alien implanter, moletronics and examination room; implanter you can get from various sources, examination rooms practically requires a very large USO).

To build it, you need 4 alien cloning, 2 alient implanter and 1 examination room (practically a very large USO).

Offline ufodefguy

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.63.1)
« Reply #2246 on: February 15, 2025, 11:26:05 am »
[15-02-2025_11-24-50]   [INFO]   OpenXcom Version: Extended 8.0.0 (v2024-12-27)
[15-02-2025_11-24-50]   [INFO]   Platform: OSX
[15-02-2025_11-24-50]   [INFO]   Data folder is:
[15-02-2025_11-24-50]   [INFO]   Data search is:
[15-02-2025_11-24-50]   [INFO]   - /Users/Library/Application Support/OpenXcom/
[15-02-2025_11-24-50]   [INFO]   - /Users/Shared/OpenXcom/
[15-02-2025_11-24-50]   [INFO]   - ./
[15-02-2025_11-24-50]   [INFO]   User folder is: /Users/Library/Application Support/OpenXcom/
[15-02-2025_11-24-50]   [INFO]   Config folder is: /Users/Library/Application Support/OpenXcom/
[15-02-2025_11-24-50]   [INFO]   Options loaded successfully.
[15-02-2025_11-24-50]   [INFO]   SDL initialized successfully.
[15-02-2025_11-24-50]   [INFO]   SDL_mixer initialized successfully.
[15-02-2025_11-24-50]   [INFO]   Attempted locale: nl_NL.UTF-8
[15-02-2025_11-24-50]   [INFO]   Detected locale: nl_NL.UTF-8
[15-02-2025_11-24-50]   [INFO]   Attempting to set display to 1600x900x8...
[15-02-2025_11-24-51]   [INFO]   Display set to 1600x900x8.
[15-02-2025_11-24-51]   [INFO]   Loading data...
[15-02-2025_11-24-51]   [INFO]   Scanning standard mods in './'...
[15-02-2025_11-24-51]   [INFO]   Scanning user mods in '/Users/Library/Application Support/OpenXcom/'...
[15-02-2025_11-24-51]   [WARN]   scanModDir('/Users/Library/Application Support/OpenXcom/', 'mods'): Can't scan xcom_visual_upgrade_v6.5, skipping.
[15-02-2025_11-24-51]   [INFO]   Active mods:
[15-02-2025_11-24-51]   [INFO]   - xcom2 v8.0.0
[15-02-2025_11-24-51]   [INFO]   - StrategyCore_Swap_Small_USOs_TFTD v1.0
[15-02-2025_11-24-51]   [INFO]   - XcomUtil_Always_Daytime_TFTD v1.0
[15-02-2025_11-24-51]   [INFO]   - XcomUtil_No_Psionics_TFTD v1.0
[15-02-2025_11-24-51]   [INFO]   - XcomUtil_Statstrings_TFTD v1.0
[15-02-2025_11-24-51]   [INFO]   - XRUI2 v6.5
[15-02-2025_11-24-51]   [INFO]   - MFaces v1.2
[15-02-2025_11-24-51]   [INFO]   - orchestra-of-the-deep v0.5.0
[15-02-2025_11-24-51]   [INFO]   Loading begins...
[15-02-2025_11-24-51]   [INFO]   Pre-loading rulesets...
[15-02-2025_11-24-51]   [INFO]   Loading vanilla resources...
[15-02-2025_11-24-51]   [INFO]   Loading rulesets...
[15-02-2025_11-24-51]   [INFO]   Loading rulesets done.
[15-02-2025_11-24-51]   [INFO]   Loading fonts... Font.dat
[15-02-2025_11-24-51]   [INFO]   Lazy loading: 1
[15-02-2025_11-24-51]   [INFO]   Loading custom palettes from ruleset...
[15-02-2025_11-24-51]   [INFO]   Making palette backups...
[15-02-2025_11-24-51]   [INFO]   After load.
[15-02-2025_11-24-51]   [INFO]   Loading ended.
[15-02-2025_11-24-51]   [INFO]   Data loaded successfully.
[15-02-2025_11-24-51]   [INFO]   Loading language...
[15-02-2025_11-24-51]   [INFO]   Language loaded successfully.
[15-02-2025_11-24-51]   [INFO]   OpenXcom started successfully!
[15-02-2025_11-24-51]   [INFO]   Playing flx, 320x200, 200 frames
[15-02-2025_11-24-51]   [INFO]   Using software scaling routine. For best results, try an OpenGL filter.
[15-02-2025_11-24-53]   [INFO]   SDL_mixer initialized successfully.
[15-02-2025_11-25-03]   [INFO]   SDL_mixer initialized successfully.
[15-02-2025_11-25-03]   [INFO]   Loading data...
[15-02-2025_11-25-03]   [INFO]   Scanning standard mods in './'...
[15-02-2025_11-25-03]   [INFO]   Scanning user mods in '/Users/Library/Application Support/OpenXcom/'...
[15-02-2025_11-25-03]   [WARN]   scanModDir('/Users/Library/Application Support/OpenXcom/', 'mods'): Can't scan xcom_visual_upgrade_v6.5, skipping.
[15-02-2025_11-25-03]   [INFO]   Active mods:
[15-02-2025_11-25-03]   [INFO]   - xcom2 v8.0.0
[15-02-2025_11-25-03]   [INFO]   - StrategyCore_Swap_Small_USOs_TFTD v1.0
[15-02-2025_11-25-03]   [INFO]   - XcomUtil_Always_Daytime_TFTD v1.0
[15-02-2025_11-25-03]   [INFO]   - XcomUtil_No_Psionics_TFTD v1.0
[15-02-2025_11-25-03]   [INFO]   - XcomUtil_Statstrings_TFTD v1.0
[15-02-2025_11-25-03]   [INFO]   - TWoTS v2.63
[15-02-2025_11-25-03]   [INFO]   - XRUI2 v6.5
[15-02-2025_11-25-03]   [INFO]   - MFaces v1.2
[15-02-2025_11-25-03]   [INFO]   - orchestra-of-the-deep v0.5.0
[15-02-2025_11-25-03]   [INFO]   Loading begins...
[15-02-2025_11-25-03]   [INFO]   Pre-loading rulesets...
[15-02-2025_11-25-03]   [INFO]   Loading vanilla resources...
[15-02-2025_11-25-03]   [INFO]   Loading rulesets...
[15-02-2025_11-25-03]   [INFO]   Loading rulesets done.
[15-02-2025_11-25-03]   [INFO]   Loading fonts... Font.dat
[15-02-2025_11-25-03]   [INFO]   Lazy loading: 1
[15-02-2025_11-25-03]   [INFO]   Loading custom palettes from ruleset...
[15-02-2025_11-25-03]   [INFO]   Making palette backups...
[15-02-2025_11-25-03]   [INFO]   After load.
[15-02-2025_11-25-03]   [ERROR]   During linking rulesets of facilities:
Error processing 'STR_MC_GENERATOR' in facilities: Battlescape map name is missing.
Error processing 'STR_MC_LAB' in facilities: Battlescape map name is missing.
note:its the normal twots not twots+ (i think)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9369
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.63.1)
« Reply #2247 on: February 15, 2025, 12:27:19 pm »
[15-02-2025_11-25-03]   [ERROR]   During linking rulesets of facilities:
Error processing 'STR_MC_GENERATOR' in facilities: Battlescape map name is missing.
Error processing 'STR_MC_LAB' in facilities: Battlescape map name is missing.

`XcomUtil_No_Psionics_TFTD v1.0` mod is not compatible with TWoTS.

Or with anything else for that matter.

Offline ufodefguy

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: [TFTD] [Expansion] TWoTS+ Release (v.2.63.1)
« Reply #2248 on: February 15, 2025, 04:12:42 pm »
aw man, it didint work anyways