.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 August 3rd, 2005, 10:36 AM

Emperor's Child Emperor's Child is offline
Sergeant
 
Join Date: Jan 2002
Location: Fredericksburg, VA, USA
Posts: 254
Thanks: 0
Thanked 0 Times in 0 Posts
Emperor's Child is on a distinguished road
Default Swapping ship picture

Folks, I Need some AI design / Mod advice for an unusual thing I’m trying to do in a Mod’ I’m working on (Battlefleet Gothic). My problem is that I’d like to make 2 warships of the same size that are same in all respects except for the picture. My intention is to have one picture used for ships with a certain weapon, and the standard one used for all the rest. I’m using the carrier picture for the unique picture so all standard shipsets will have it. I’ve fiddled around with AI tags but can’t find a way so far that will force the use of one ship definition (with its unique picture) over the standard one.

Has anybody done this or have any ideas?
__________________
Emperor's Child
Reply With Quote
  #2  
Old August 3rd, 2005, 11:05 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Swapping ship picture

The only way to achieve what you want is to create a new entry in vehiclesize.txt - more or less identical to the first one, except for the image. Then you ought to be able use mounts to make sure that your weapon can only be used on one of the ships. (You might have to make one hull 1kt larger than the other or something, to make sure that the mount can only be used on one of the hulls.)
Reply With Quote
  #3  
Old August 3rd, 2005, 04:22 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Swapping ship picture

Dogscoff is correct. You can also give the second design a new tech requirement, adding a technology to the tech.txt file and giving it a starting value of 1. That means when you start the game its already researched. Then put all of your new weapons for it under that technology. For example:

Big Ship Technology
Level I Gives you Big Ship Hull
Level I Big Ship Weapons Technology

Big Ship Weapons Technology
Level I Big Gun A
Level II Big Bun B
etc.

If you opt for Dogscoffs idea and go with mounts, simply make the component 10,000kt and give it a specific weap family number. When you create the mount, set the mount size min/max to the size of the HULL you want it to work with and us the weapon or component number fir tge 10,000kt comp or weap that you wish.

For examples, look to the Star Trek Mod, Federation Cloaking Technology, Federation or is it Defiant Cloaking in the mounts and components files.

Good luck.

Also there is a lot of information over at the Mod Works on www.spaceempires.net/home in the forums.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #4  
Old August 3rd, 2005, 08:51 PM

Emperor's Child Emperor's Child is offline
Sergeant
 
Join Date: Jan 2002
Location: Fredericksburg, VA, USA
Posts: 254
Thanks: 0
Thanked 0 Times in 0 Posts
Emperor's Child is on a distinguished road
Default Re: Swapping ship picture

That will work, but you could omit the step using mounts (since they are looking for a certain hull size) and just make the new hull one ton larger or smaller than the other design with the same effect. Then you can directly associate the new design with the slightly larger or smaller hull with ease from the design creations file.

Thanks for the help. I was thinking along the lines of using hulls of the exact same size and could not noodle that one out.
__________________
Emperor's Child
Reply With Quote
Reply

Bookmarks


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 06:56 PM.


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