Author Topic: Blank unit file/Faction specific units?  (Read 4004 times)

0 Members and 1 Guest are viewing this topic.

Offline Linamints

Blank unit file/Faction specific units?
« on: January 09, 2014, 11:35:11 PM »
I could've sworn I stumbled onto the graphics file for in game units at one point but I'm having an insanely hard time finding it again if I did.
i was wondering if anyone knew which file it was and if there was a blank one floating around somewhere?
I checked the downloads and didn't see anything like that in there.

Also, I am doing a custom AC faction set for my brother who is curious about the game. He is a big fan of the anime series Zoids and I'm trying to make it fairly accurate. I tracked down the sprites for the different faction's units in the shows/games, however they are supposed to be region specific. I wanted to do custom graphics for each faction but was wondering if there was anyway to make it so they only show up in certain factions and not others?

Offline Geo

Re: Blank unit file/Faction specific units?
« Reply #1 on: January 10, 2014, 11:46:58 PM »
It looks like the file you're looking for is named "units.pcx".

As for unique faction units, the only way is to link them to a tech, give that tech to the home faction, and to ensure no other factions gain this tech disable tech stealing, -trading, and the planetary datalinks, in the alphax file and/or scenario editor when creating yoyr scenario.

Offline Linamints

Re: Blank unit file/Faction specific units?
« Reply #2 on: January 11, 2014, 03:42:37 AM »
I saw that one, but it seems like it only has the native life forms and a red missile thing.
In particular I'm looking for the sprite sheet that controls the patrol scout and other non native units.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49279
  • €532
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Blank unit file/Faction specific units?
« Reply #3 on: January 11, 2014, 03:46:05 AM »
Those are individual .cvr files, and no one knows how to crack them.

Offline Flygon

Re: Blank unit file/Faction specific units?
« Reply #4 on: January 11, 2014, 10:09:42 AM »
It's not so much that nobody knows how, so much as that it'd require a lot of effort. And there's simply much better investments that effort can be put into. Arguably, even remaking the Caviar based assets in a more modern sensible format from the ground up would take less time and effort.

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49279
  • €532
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Blank unit file/Faction specific units?
« Reply #5 on: January 11, 2014, 10:15:45 AM »
Someone who did that would be like a god to the modding community...

Offline Linamints

Re: Blank unit file/Faction specific units?
« Reply #6 on: January 11, 2014, 03:41:37 PM »
I can so  agree with that XD, they'd have my eternal praise at least. Is it possible to make any custom graphic with the unit.pcx file then?

And Flygon if you have any pointers to get started I'd be happy to take something like that on as a personal project. I've only been able to find one viewer and it opened them in binary format.

Offline Geo

Re: Blank unit file/Faction specific units?
« Reply #7 on: January 11, 2014, 04:22:51 PM »
... Is it possible to make any custom graphic with the unit.pcx file then?

Yes. Simply edit in your own graphics in the open slots, and/or paste over the existing 'native life' graphics with an editor like gimp.
As you probably already counted, there's at least 10 slots to put in your own graphics. Maybe more, but I haven't looked into how the game manages the appearance of 3 different progenitor ogres from the same row in inits.pcx

Offline Linamints

Re: Blank unit file/Faction specific units?
« Reply #8 on: January 11, 2014, 03:55:37 PM »
Will do, but then how do you tell the game where to pull the correct image from/ what tech makes that particular unit?

Offline Geo

Re: Blank unit file/Faction specific units?
« Reply #9 on: January 11, 2014, 04:40:21 PM »
Will do, but then how do you tell the game where to pull the correct image from/ what tech makes that particular unit?

In the Alphax file, #units section. Look it up, and check the native life/ogre lines. Just before all the zero's, you see either -1, or a positive number. The positive number refers to one of the 10 slots (0-9 IIRC) in units.pcx, the -1 tells the game to refer to the caviar file(s) and 'assemble' the unit accordingly.

Offline Kilkakon

  • Likes cute things but is
  • Mostly Harmless
  • *
  • Posts: 1155
  • €695
  • View Inventory
  • Send /Gift
  • It does something (It's free and yet priceless)  
  • Creator of Lost Eden and C&C: Dawn of Tomorrow
  • Scenario Creator Custom Faction Modder AC2 Hall Of Fame AC2 Wiki contributor Downloads Contributor Author of at least one AAR Planet tales writer author of the Lost Eden mod for Alien Crossfire
    • View Profile
    • My website!
    • Awards
Re: Blank unit file/Faction specific units?
« Reply #10 on: January 12, 2014, 09:37:13 AM »
In LE I used the "starting tech" thing to give people starting armies. :) Eventually they can discover the other ones but not for a while.

Offline Geo

Re: Blank unit file/Faction specific units?
« Reply #11 on: January 12, 2014, 11:10:21 AM »
In LE I used the "starting tech" thing to give people starting armies. :) Eventually they can discover the other ones but not for a while.

Yeah. It's too bad the game doesn't accept 'closed loops' in the tech tree. :(

Offline Kilkakon

  • Likes cute things but is
  • Mostly Harmless
  • *
  • Posts: 1155
  • €695
  • View Inventory
  • Send /Gift
  • It does something (It's free and yet priceless)  
  • Creator of Lost Eden and C&C: Dawn of Tomorrow
  • Scenario Creator Custom Faction Modder AC2 Hall Of Fame AC2 Wiki contributor Downloads Contributor Author of at least one AAR Planet tales writer author of the Lost Eden mod for Alien Crossfire
    • View Profile
    • My website!
    • Awards
Re: Blank unit file/Faction specific units?
« Reply #12 on: January 12, 2014, 12:55:28 PM »
Yeah true. :( I made the base tech for the branching point "inter species society" though so it almost makes sense. :D

Offline Yitzi

Re: Blank unit file/Faction specific units?
« Reply #13 on: January 12, 2014, 06:34:41 PM »
Yeah. It's too bad the game doesn't accept 'closed loops' in the tech tree. :(

What happens if you try?  (I'm guessing some sort of hang or crash as it attempts, and fails, to assign a level.)

Offline Kilkakon

  • Likes cute things but is
  • Mostly Harmless
  • *
  • Posts: 1155
  • €695
  • View Inventory
  • Send /Gift
  • It does something (It's free and yet priceless)  
  • Creator of Lost Eden and C&C: Dawn of Tomorrow
  • Scenario Creator Custom Faction Modder AC2 Hall Of Fame AC2 Wiki contributor Downloads Contributor Author of at least one AAR Planet tales writer author of the Lost Eden mod for Alien Crossfire
    • View Profile
    • My website!
    • Awards
Re: Blank unit file/Faction specific units?
« Reply #14 on: January 12, 2014, 11:16:02 PM »
Unsure--I know it doesn't like unavailable starting techs either as AIs will constantly try to trade for them. It isn't possible to do it as well as in like Civ 2 or something from memory

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


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
-=-
103 (32%)
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: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

Until now the battle had been proceeding smoothly. The enemy was outflanked and had been driven from the reactor housing, but against the reactor itself the matter canons were strangely ineffective. Rounds simply-stopped-in mid air.
~Col. Corazon Santiago 'A Tactical History of Sparta'

* 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: 40.

[Show Queries]