aliens

Author Topic: [Submod] Alternate Starting Troops for X-Piratez  (Read 2120 times)

Offline John___Doe

  • Sergeant
  • **
  • Posts: 16
    • View Profile
[Submod] Alternate Starting Troops for X-Piratez
« on: August 29, 2023, 05:22:57 am »
I have created a basic submod to facilitate starting X-Piratez with different troops than the standard six lunatics.

Updated to 2.4: Correct condemnations for ogres and disciples of twilight.

This submod adds 18 Wooden Apples to the starting base inventory, and new manufacturing options for recruiting the following soldier types. These replacements will have the Escaped Lunatic condemnation.

3 Wooden Apples:
-Hero
-Girl Guide
-Theban Assault Catgirl
-Freak

2 Wooden Apples:
-Assault Clone (with aqua suit)
-Wild Gnome
-Disciple of Twilight (Bugeye)
-Ogre
-Former Commando

1 Wooden Apple:
-Catgirl
-Damsel
-Bloodhound
-Lokk'Naar

When recruiting gnomes or catgirls this way, a new item will also be produced (Guide to Gnomes/Catgirls) which when researched provides the Soldier: Gnome/Catgirl tech.
The purpose of this is to allow for some armors to be researched for these troops in a reasonable time, as it is very possible not to reach this for these units for a very long time
in normal play.

Note that there is a hardcoded transfer time of 24 hours for each trooper produced via manufacturing, so I have left the six lunatics in case a mission comes up before the replacements arrive. The lunatics will need to be dismissed manually.

I recommend hiding the manufacturing recruitment options after you have used the apples, or disabling the submod.
« Last Edit: December 29, 2023, 08:41:07 am by John___Doe »

Offline Dakkon

  • Squaddie
  • *
  • Posts: 9
    • View Profile
Re: [Submod] Alternate Starting Troops for X-Piratez
« Reply #1 on: December 08, 2023, 03:51:48 am »
Would it be too much trouble to add an option for starting with freak gals in this way? I like the concept a lot personally, the main mod could really use alternate starts as the setting is rich enough where themed play-throughs could be a lot of fun.

Offline John___Doe

  • Sergeant
  • **
  • Posts: 16
    • View Profile
Re: [Submod] Alternate Starting Troops for X-Piratez
« Reply #2 on: December 19, 2023, 07:27:08 am »
Would it be too much trouble to add an option for starting with freak gals in this way? I like the concept a lot personally, the main mod could really use alternate starts as the setting is rich enough where themed play-throughs could be a lot of fun.

Good idea, and now I'm a little disappointed I didn't think of that myself. Added with version 2.2 among other changes.

Offline Dakkon

  • Squaddie
  • *
  • Posts: 9
    • View Profile
Re: [Submod] Alternate Starting Troops for X-Piratez
« Reply #3 on: December 22, 2023, 01:06:08 am »
Recently tried out the mod with the new release and got a crash when trying to view the inventory of new hands recruited with the mod. After I finished producing the items to recruit the new hands (1 freak, 1 hero, and some gnomes) and those hands arrived, the game would crash upon either viewing the inventory of those hands from the HANDS menu, or through adding them to a vessel and then trying to view their inventory in that way. The only mods I have active are the main mod, city lore, and the alternative start.

The Popup for the crash referenced a missing image in BIGOBS.PCK for ST_GNOME_GUIDE. I've included a save file below. Seems like a simple fix, but maybe the other image for the other race guides is missing too.
« Last Edit: December 22, 2023, 02:36:05 pm by Dakkon »

Offline wolfreal

  • Colonel
  • ****
  • Posts: 298
    • View Profile
Re: [Submod] Alternate Starting Troops for X-Piratez
« Reply #4 on: December 22, 2023, 02:28:57 pm »
A quick turnaround is modifying the items.rul file, commenting the bigsprite and floorsprite attribute for the items. The drawback of this is that you lose the item graphic. I tried using some others numbers existing in the   - type: BIGOBS.PCK from piratez mod, but it does not work. It seems like there is not inheritance of the extrasprites from the master mod... but I'm not sure about that.

Offline John___Doe

  • Sergeant
  • **
  • Posts: 16
    • View Profile
Re: [Submod] Alternate Starting Troops for X-Piratez
« Reply #5 on: December 22, 2023, 08:57:37 pm »
A quick turnaround is modifying the items.rul file, commenting the bigsprite and floorsprite attribute for the items. The drawback of this is that you lose the item graphic. I tried using some others numbers existing in the   - type: BIGOBS.PCK from piratez mod, but it does not work. It seems like there is not inheritance of the extrasprites from the master mod... but I'm not sure about that.

Thank you wolfreal, you've saved me a lot of time. I copied the numbers from the golden apple, and I see you used the same as the (regular) apple uses. Do you know why the golden apple values caused a crash but the apple values do not?


Recently tried out the mod with the new release and got a crash when trying to view the inventory of new hands recruited with the mod. After I finished producing the items to recruit the new hands (1 freak, 1 hero, and some gnomes) and those hands arrived, the game would crash upon either viewing the inventory of those hands from the HANDS menu, or through adding them to a vessel and then trying to view their inventory in that way. The only mods I have active are the main mod, city lore, and the alternative start.

The Popup for the crash referenced a missing image in BIGOBS.PCK for ST_GNOME_GUIDE. I've included a save file below. Seems like a simple fix, but maybe the other image for the other race guides is missing too.

You are correct, it was caused by the added items being set up incorrectly. wolfreals fix worked when I tested it, and I have updated the submod to include it.

Offline wolfreal

  • Colonel
  • ****
  • Posts: 298
    • View Profile
Re: [Submod] Alternate Starting Troops for X-Piratez
« Reply #6 on: December 23, 2023, 12:57:41 am »
Thank you wolfreal, you've saved me a lot of time. I copied the numbers from the golden apple, and I see you used the same as the (regular) apple uses. Do you know why the golden apple values caused a crash but the apple values do not?


You are correct, it was caused by the added items being set up incorrectly. wolfreals fix worked when I tested it, and I have updated the submod to include it.

Hey John___Doe

I would not call it a fix. I mean, it worked. But now the items have no graph on inventory neither in battlescape.
I just commented bigsprite and floorsprite attribute. (Meaning they're not used)
The numbers are changed but that was because I was doing a test.
Sadly, it is outside of my knowledge why using the floorsprite and bigsprite attribute from the main mod does not work.