.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
  #7  
Old February 1st, 2004, 04:55 AM

ChinMonster ChinMonster is offline
Private
 
Join Date: Jan 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
ChinMonster is on a distinguished road
Default Re: Modding CompEnhancement.txt question

Is there a way to limit 1 component per ship? No special abilities or anything, just a weapon, i dont want more than 1 on a ship
Reply With Quote
  #8  
Old February 1st, 2004, 04:58 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Modding CompEnhancement.txt question

Atommaj, the AI will always use the Last mount in the file that is available to be used for that component.

Chin, yes. You can set limits to how many of a component can be placed on a ship with the Restrictions line. Set it to One Per Vehicle and you can only place one of those on the ship. You can go up to Ten Per Vehicle.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #9  
Old February 1st, 2004, 05:26 AM

ChinMonster ChinMonster is offline
Private
 
Join Date: Jan 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
ChinMonster is on a distinguished road
Default Re: Modding CompEnhancement.txt question

sweet, thanks dude
Reply With Quote
  #10  
Old February 2nd, 2004, 12:36 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

"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? "

Yes, Fyron is right, the AI will use the Last mount in the listing. But this also means you can get creative to 'force' the AI to use certain mounts.

Ways to do this are multiple listings of mounts (ie, you have 3 engine mounts but want the AI to use a specific one all the time, just simply list another identical mount at the end of the file with an 'AI only' txt tag...) and the use of the min/max tonnage settings. I've got my mount modd set for destroyers to use Extended Range mounts, Cruisers to use Pulsed Mounts, all AI ships to use Military Engine Mounts (except crystalline or organic races which use their own engine mounts which can be implemented by the use of the tech required fields...) and all ships use the shield mounts according to class except the crystalline races which have thier own shield mounts.

AI units will also use shield mounts for fighters and high density armor mounts for the troops as well.

any other questions..... (oh, and here is a freebee, mounts cannot affect the seeker of the missile weapon....ie, no extra damage etc....but they can affect the size/cost/supplies etc of the launcher....range can be changed for the firing of the seeker {when it is actually fired} but not the actual range of the seeker itself, ie, you can set it to fire when the range is down to 5 but if the range of the actual seeker is 12 it will still go to 12, eliminates the 'missile dance'...)
__________________
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
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 12:31 AM.


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