Author Topic: [Piratez] Alt-Corpse Mod 0.2.99.c.1.a (Patch)  (Read 61758 times)

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
[Piratez] Alt-Corpse Mod 0.2.99.c.1.a (Patch)
« on: March 19, 2016, 04:21:00 am »
Woot!  Finally got it working!!  Thanks Yankes!!

Okay, all work has been completed on the new version of the mod compatible with new versions of the executable after changes made by Yankes in OXCE 3.1.




Important: These mods will only work with OXCE+ 3.2 (v2016-07-20) or later.

This mod creates alternate big objects and floor objects for quick visual identification on the battlefield of stunned, wounded, or dead units.  Dead units are bloodied as normal, stunned display "ZZz"s and wounded dispaly "++"s.



Three versions of the mod are being posted in this thread.  One for BigObs only, One for FloorObs only, and one complete version.  This gives the player to use this in a modular fashion or turn off the "FloorOb" version if it feels too overpowered.  (I've removed this feature for the time being.  Give me feedback if you would like to see it restored)

Spoiler:
Ok, the first working draft is ready for publishing.  Drop in your user/mods folder and enable in settings.

Notes on the Mod:
Spoiler:
Notes for this Mod.

This mod came out of a very enjoyable campaign of Dioxine's X-PirateZ.  Meridian's custom builds of Yankes' OXCE (OpenXcom Extended) inspired me to add a visual ID method of determining if an entity was stunned or dead. 
 
 Meridian had added a terrific Fatal Wounds counter that quickly showed you how many wounds the entity had, but it still wasn't obvious at first glance if they were stunned or had expired.  Brainstorming with Dioxine and Bloax in the xpiratez irc chat, brought up the idea that Yankes had implemented a feature that allowed for alternate sprites for unconscious units to be defined in the rulesets.   
 
 This put the wheels in motion in my head of creating a second set of Corpse BigObs and I began the task of cleaning up bloodied corpses and bloodying up those that were already clean.  Further collaboration hit upon the method of flipping the facing of these units too, (Dead face Right, Stunned to the Left because arbitrary, thats why). 
 
 Once the graphics were done, they still needed to be converted to OpenXcom indexed palettes before final usage.  Ruleset development followed, where I quickly borrowed the shell from Roxis' excellent alt armor mods, and then added in all 280+ corpse objects.  Through the graphic editing process I had settled on going with only .png format.  That caused a few issues when I first tested, as .gif images previously defined in the PirateZ master mod, did not display correctly if they carried the same number as the master mod.  This then required developing a new set of numbers for those images.  I arbitrarily chose to put them in the 115,000 range.  The New unconscious images were given to the 120,000 range. 

The good news is, we have a cool working mod.  The bad news is, Yankes is going to entirely rework the alt-sprite function with a script functionality in 3.0 (so this will have to be re-written to stay relevant).

Special thanks to Dioxine for all his original and franken-sprited art that I further Franken-sprited for this mod.  Further thanks to Bloax and the gang in irc chat for feedback and tips, and for the team on the OpenXcom forum for further great advice.

Cheers, Ivan :D


This mod provides a rapid way to identify if a body on the ground in inventory is either dead or stunned. 


Cheers, Ivan :D

Change Log:

Alt-Corpse Mod 0.2.99.c.1.a  (Patch) - Fixes Floorob for Tough Girl to distinct sprites instead of borrowing the Guild Rep's

Alt-Corpse Mod 0.2.99C.1 Patch - This fixes Revenant Armor crash, and replaces a few images that were malformed. This patch is compatible with Piratez .99C1.

Alt-Corpse-Complete Mod 0.2.99.A.1.b - Adding in compatibility for new Armor: Heavy Kevlar (PIR_411).  This is expected in the next release of XPiratez after .99A.1.

Alt-Corpse-Complete Mod 0.2.99.A.1.a - Four bugfixes, one set of new sprites for upcoming armor.  I'm only going to support the Complete Mod going forward as that is where I think the interest is.  If others would like to have either the Floor or the Bigobs and not both, I'll consider updating them.  More info on the changes is in this post.

Alt-Corpse-Complete Mod 0.2.99A - Combined both Floor and Bigobs into one mod.

Alt-Corpse-Big Mod 0.2.99A - New Bigobs created for all vanilla units and some that used the same sprites.  Stunned and Wounded variants created and tested.

Alt-Corpse-Floor Mod 0.1.99A - This mod is configured to use the scripting mechanics from OpenXcom Extended 3.1 to replace images according to unit states.  This version creates Floor Object images that show whether the unit is stunned, wounded, or dead.  Important: This will only work with OXCE+ 3.2 (v2016-07-20) or later.
-------------
Versions prior to this require OXCE+ 2.9 or earlier.
Spoiler:
o.1.98e - This is newer than the one shipped with PirateZ 98e.  It has the better ruleset, and the tester file is renamed so there should be no conflicts.
.98c-Patch - Re-palettized .98c corpse images to get them working in game properly
0.1c.98c - Updated to include entities in .98C (2 new Pirate Armors, 2 Church, 1 Trader, 1 Academy).
0.1b - Updated to include entities in .98B (3 new Pirate Armors, one new Humanist).
0.1a - Minor fix for Catgirl sprites
0.1 - Corpses for all .98 XPirateZ entities. Uses OXCE 2.9 altBigsprite coding that will be superseded.
« Last Edit: October 12, 2016, 05:31:15 pm by ivandogovich »

Offline BetaSpectre

  • Colonel
  • ****
  • Posts: 128
    • View Profile
Re: [Piratez] Alt-Corpse Mod
« Reply #1 on: March 19, 2016, 07:34:18 pm »
This is a pretty cool mod.
I would assume that you could have just removed the blood stains to show of someone was alive or dead. Are there enemies that don't have blood on their corpse or was it just easier to flip em around?

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [Piratez] Alt-Corpse Mod
« Reply #2 on: March 19, 2016, 11:28:56 pm »
Yeah, cleaning up the blood was one thing done.  Flipping them makes it even more distinctive.  There were a lot of female corpses that weren't bloody to begin with so they had to have some blood pools and trails applied to them as well. :)

Offline Cristao

  • Colonel
  • ****
  • Posts: 407
    • View Profile
Re: [Piratez] Alt-Corpse Mod
« Reply #3 on: March 21, 2016, 08:14:35 am »
Well done Ivan.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [Piratez] Alt-Corpse Mod
« Reply #4 on: March 27, 2016, 12:12:41 am »
Small fix posted in first post.  Catgirl dead corpse was mis-numbered.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
[Piratez] Alt-Corpse Mod 0.1b (to synch with XPirateZ .98B)
« Reply #5 on: April 04, 2016, 10:03:22 pm »
Updated mod attached to first post.  .01b.  Brings in the 3 new armors for the gals and one big humanist enemy.

I also added a changed log to the first post.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: [Piratez] Alt-Corpse Mod 0.1b
« Reply #6 on: April 17, 2016, 01:47:52 am »
Adding this to the new version ;) Watch out for new units to sprite :)

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [Piratez] Alt-Corpse Mod 0.1b
« Reply #7 on: April 17, 2016, 02:23:39 am »
Adding this to the new version ;) Watch out for new units to sprite :)

Will do. Sounds fun. (or you can pass them to me ahead of time, and I can knock them out before hand). ;)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Piratez] Alt-Corpse Mod 0.1b
« Reply #8 on: April 17, 2016, 02:26:38 am »
Will do. Sounds fun. (or you can pass them to me ahead of time, and I can knock them out before hand). ;)


Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [Piratez] Alt-Corpse Mod 0.1b
« Reply #9 on: April 17, 2016, 05:18:07 am »
Heh.  Ok.  I'll be able to get the new ones together early next week.  Looking forward to the new version.  I think. ;)

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: [Piratez] Alt-Corpse Mod 0.1b
« Reply #10 on: April 17, 2016, 02:02:42 pm »
Sorry, I will give you a heads-up next time :) It was really hectic here and I kinda forgot until the very last moment. The 4 new ones are COS_10, COS_11, TRD_10 and SCI_10.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [Piratez] Alt-Corpse Mod 0.1c.98c
« Reply #11 on: April 18, 2016, 10:58:05 pm »
Updated mod to 98C attached to first post.  .01c.98c.  Brings in the 2 new armors for the gals and 4 different new enemies.

Also, I checked with Dioxine, and this mod is not currently integrated with the main PirateZ ruleset.  He had intended to package it with 98C, as a standalone mod, ala alternate smoke, but it somehow didn't make it into the package.  If you want an updated version, compatible with .98C, download from the first post. :)

Offline new_civilian

  • Commander
  • *****
  • Posts: 725
    • View Profile
Re: [Piratez] Alt-Corpse Mod 0.1c.98c
« Reply #12 on: April 19, 2016, 09:44:54 am »
There's an error in your ruleset at line 720, causing CTDs, here the fixed file. Fwiw, I am using Notepad++, it helps a lot to find those bugs when they are colored automatically. hf!

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [Piratez] Alt-Corpse Mod 0.1c.98c
« Reply #13 on: April 19, 2016, 03:10:46 pm »
There's an error in your ruleset at line 720, causing CTDs, here the fixed file. Fwiw, I am using Notepad++, it helps a lot to find those bugs when they are colored automatically. hf!

Thanks! I've updated the package in the first post.  Curious that my game didn't crash with that ruleset. :?

Offline new_civilian

  • Commander
  • *****
  • Posts: 725
    • View Profile
Re: [Piratez] Alt-Corpse Mod 0.1c.98c
« Reply #14 on: April 20, 2016, 07:56:28 am »
I had some strange graphic anomalies yesterday with the churchmaiden body, not sure if it was one of the mods (alt-Graphics, Juggernaut Battlesprite) that I have installed or what. Will test and report back if I find the cause.


edit: Nope, disabled all mods and the problem remains. Maybe it has to do with the very large ID numbers? Just guessing wildly, though.
« Last Edit: April 20, 2016, 10:49:38 am by new_civilian »