.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 January 31st, 2004, 06:03 PM
thorfrog's Avatar

thorfrog thorfrog is offline
Sergeant
 
Join Date: Nov 2000
Location: USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
thorfrog is on a distinguished road
Default Modding CompEnhancement.txt question

Is there any way to limit certain weapon mounts in the CompEnhancement.txt to certain weapon types. For example Gauss Weapon mounts for only Depleated uranium cannons.
Reply With Quote
  #2  
Old January 31st, 2004, 06:13 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Modding CompEnhancement.txt question

Yes, use the "Comp Family Requirement" restriction. Just put the family number for Depleted Uranium Cannons on that line and only that component family can use it.
Reply With Quote
  #3  
Old January 31st, 2004, 07:06 PM

spoon spoon is offline
First Lieutenant
 
Join Date: Apr 2002
Location: California
Posts: 790
Thanks: 0
Thanked 0 Times in 0 Posts
spoon is on a distinguished road
Default Re: Modding CompEnhancement.txt question

And that field accepts a list (separated by commas). So, for example, if you wanted to have the mount only apply to DUCs and Torpedos, it would look like this:

Comp Family Requirement := 2027, 2003

where 2027 is the family for DUC and 2003 is the family for Torpedos.
__________________
Try out the Fantasy Empires Mod, a full conversion, fantasy based mod for SEIV Gold.
Click here to download.
Click here for the Fantasy Empires Mod discussion thread.
Reply With Quote
  #4  
Old January 31st, 2004, 09:34 PM

Paul1980au Paul1980au is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Australia
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Paul1980au is on a distinguished road
Default Re: Modding CompEnhancement.txt question

Interesting guys thanks it helps with a little problem i was having to. (comma part that is)
Reply With Quote
  #5  
Old February 1st, 2004, 01:46 AM
Deathstalker's Avatar

Deathstalker Deathstalker is offline
Captain
 
Join Date: Feb 2001
Location: Peterborough, Ontario, Canada
Posts: 907
Thanks: 0
Thanked 0 Times in 0 Posts
Deathstalker is on a distinguished road
Default Re: Modding CompEnhancement.txt question

"Is there any way to limit certain weapon mounts in the CompEnhancement.txt to certain weapon types. For example Gauss Weapon mounts for only Depleated uranium cannons. "

Yep and its fun as heck, you can also use the family line for such things as robo-miners, engines, weapons of all types. Just check out the latest Version of the 'Deathstalker's Mound Mod', its up on Fyrons website.

These were the 'new toys' added a bunch of patches ago:

"NewOptions: (as of Patch 1.78)

Shield Percent (Optional)
Percentage modifier to the shields generated by this component.

Vehicle Size Maximum (Optional)
The maximum tonnage size the vehicle can have to allow this mount.

Comp Family Requirement (Optional)
A comma separated list of the component families which can use this mount.
If this field is not present, then all families can use this mount.

Number of Tech Req: (Optional)
The number of Tech Requirements that are for this enhancement. The Tech requirement
determines the technology level an empire must have before this enhancement
becomes visible to be used in designs.

Tech Area Req X: (Optional)
For each of the Tech Requirements, this is the tech area of the requirement.
The X is the number of the requirement.
Allowable values for Tech Area Req:
A name from the TechArea.txt file.

Tech Level Req X: (Optional)
For each of the Tech Requirements, this is the tech level in the given area
that must be reached.
The X is the number of the requirement.
Allowable values for Tech Level Req:
A value from 1 to the Maximum Level for this Tech Area as defined in the
TechArea.txt file."

Example of a Torp mount:


Long Name := Mark IV Torpedo Launcher
Short Name := MkIV Launcher
Description := Highly advanced Torpedo Launcher, primary export of Sirus IV. +25% To Hit, +25% Damage.
Code := MkIV
Cost Percent := 150
Tonnage Percent := 125
Tonnage Structure Percent := 100
Damage Percent := 125
Supply Percent := 100
Range Modifier := 0
Weapon To Hit Modifier := 25
Vehicle Size Minimum := 300
Comp Family Requirement := 2003
Weapon Type Requirement := Direct Fire
Vehicle Type := Any
Number of Tech Req := 3
Tech Area Req 1 := Physics
Tech Level Req 1 := 1
Tech Area Req 2 := Advanced Military Science
Tech Level Req 2 := 1
Tech Area Req 3 := Torpedo Weapons
Tech Level Req 3 := 3


Example of a fun mount:

Long Name := Fighter Spinal Mount
Short Name := Ftr Spinal
Description := Fighter build around a weapon. (*3 damage, *3 size, +15% to hit. )
Code := SP
Cost Percent := 300
Tonnage Percent := 300
Tonnage Structure Percent := 300
Damage Percent := 300
Supply Percent := 300
Range Modifier := 1
Weapon To Hit Modifier := 15
Vehicle Size Minimum := 5
Comp Family Requirement := 2501,2502,2503,2504,2509,2510,2511,2512,2513,2514, 2515
Weapon Type Requirement := Direct Fire
Vehicle Type := Fighter
Number of Tech Req := 4
Tech Area Req 1 := Physics
Tech Level Req 1 := 2
Tech Area Req 2 := Advanced Military Science
Tech Level Req 2 := 3
Tech Area Req 3 := Computers
Tech Level Req 3 := 2
Tech Area Req 4 := Fighters
Tech Level Req 4 := 3


and an Engine mount:

Long Name := Military Engines
Short Name := Military Engines
Description := Military grade engines, smaller drive units and better efficiency. (1/2 size, 70% consumption, +75% Cost, +150% structure)
Code := MIL
Cost Percent := 170
Tonnage Percent := 50
Tonnage Structure Percent := 150
Damage Percent := 100
Supply Percent := 70
Range Modifier := 0
Weapon To Hit Modifier := 0
Vehicle Size Minimum := 0
Comp Family Requirement := 9
Weapon Type Requirement := None
Vehicle Type := Ship
Number of Tech Req := 1
Tech Area Req 1 := Propulsion
Tech Level Req 1 := 5

yep, I'm Mount Crazy....
__________________
We are all...the sum of our scars....(paraphrased) Matt. R. Stover-'Blade of Tyshalle'.

Human existance is all imagination...Reality is no more than a simple agreement among its participants that this is where we shall meet, and these are the rules that we shall abide by.- Kevin McCarthy/David Silva The Family:Special Effects..

Long Live the Legion!!-Comic book fandom...
Reply With Quote
  #6  
Old February 1st, 2004, 04:51 AM
thorfrog's Avatar

thorfrog thorfrog is offline
Sergeant
 
Join Date: Nov 2000
Location: USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
thorfrog is on a distinguished road
Default Re: Modding CompEnhancement.txt question

Cool! So I can make it so that only certain weapon types can use certain mounts. Is there any way to get the computer to select these mounts?
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 10:24 AM.


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