.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old September 23rd, 2006, 07:59 PM
Noble713's Avatar

Noble713 Noble713 is offline
Sergeant
 
Join Date: Aug 2000
Location: Garden-Variety State
Posts: 356
Thanks: 5
Thanked 0 Times in 0 Posts
Noble713 is on a distinguished road
Default SE5: Limitations on modding unit graphics

So I've been testing out meshes in the demo, and came across a surprising and disappointing limitation.

The 3d models for fighters are only used for ground combat, not space combat. Space combat uses sprites from the Empire_Unit_Combat_Texture file. Not a bad idea in theory, as it keeps the poly counts in space combat down. The problem is that the code for determining which sprite to use is tied not to the individual vehicle size/class (such as small fighter, medium fighter, etc.) as defined by the vehiclesizes.txt and Empire_Ships_xfileclasses.txt but to the overall unit type (i.e. "Fighter") as defined in vehicleunittypes.txt . This means that currently you can only have one image displayed in the tactical combat screen for all of your different fighter types, a step backwards from SE4. It makes it very confusing when you can't tell the difference between your light space-superiority fighters and your heavy anti-ship bombers.

I suspect it will be a long while before we can get it changed so the sprites are assigned by the ships_xfileclasses file instead.
__________________
Hail Caesar!

L+ GdY $? Fr! C- SdS T!+ Sf+ Tcp A% M++ MpM R!- Pw+ Fq-- Nd-- RP+ G++
Reply With Quote
  #2  
Old September 23rd, 2006, 09:27 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: SE5: Limitations on modding unit graphics

What data file is it that calls the unit texture file?
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #3  
Old September 24th, 2006, 12:45 AM
Noble713's Avatar

Noble713 Noble713 is offline
Sergeant
 
Join Date: Aug 2000
Location: Garden-Variety State
Posts: 356
Thanks: 5
Thanked 0 Times in 0 Posts
Noble713 is on a distinguished road
Default Re: SE5: Limitations on modding unit graphics

EDIT: Oops. Misinterpreted your question.

Empire_AI_Main.txt

Image Unit Combat Texture := Terran\Terran_Unit_Combat_Texture.bmp
__________________
Hail Caesar!

L+ GdY $? Fr! C- SdS T!+ Sf+ Tcp A% M++ MpM R!- Pw+ Fq-- Nd-- RP+ G++
Reply With Quote
  #4  
Old September 25th, 2006, 06:50 PM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default Re: SE5: Limitations on modding unit graphics

Yeah I have the same concern, that we will not be able to add more models than what is currently available in SEV.
Reply With Quote
  #5  
Old September 25th, 2006, 07:11 PM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: SE5: Limitations on modding unit graphics

Quote:
Kana said:
Yeah I have the same concern, that we will not be able to add more models than what is currently available in SEV.
I think I mentioned this before, but you can add more models.

The game doesn't auto-scale the bitmaps though, leading to the small/medium/large problem the original post mentioned. :/
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #6  
Old September 25th, 2006, 11:20 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: SE5: Limitations on modding unit graphics

I'm actually hopeful that the sprites can actually be extended to all ships in the VehicleSizes.txt file as an additional line in that file with a picture reference to a bmp with the "basic textures". This would allow for lower-end systems to run larger combats in a low-end mode. This would eliminate the need for that line in [Empires]_AI_Main.txt and add some additional flexibility for users.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #7  
Old September 26th, 2006, 01:44 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: SE5: Limitations on modding unit graphics

On the OP's problem: I don't think its actually tied to the VehicleUnitTypes.txt. Rather its the

Vehicle TopDown Picture Index

line in vehiclesizes.txt, which happens to be the same for all the fighters in stock. So this can be changed..
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #8  
Old September 26th, 2006, 01:54 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: SE5: Limitations on modding unit graphics

That line actually refers to the little ship icons though used in lists etc.

What I suggested is that you have a second file like the [Empire]_shipset.bmp file with the top/bottom textures that can be referenced to by VehicleSizes.txt for "2D" combat versions. This way you can add extra images to the file for new vehicle types etc, as well as have a low graphics setting for combat.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.