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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 19th, 2006, 11:47 PM
Wenin's Avatar

Wenin Wenin is offline
Corporal
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Wenin is on a distinguished road
Default Re: Is it possible to restrict a component ...

Awesome, such quick responses! =)
Reply With Quote
  #2  
Old March 20th, 2006, 12:12 AM

Kevin Arisa Kevin Arisa is offline
Sergeant
 
Join Date: Dec 2002
Location: Denver, CO USA
Posts: 329
Thanks: 0
Thanked 2 Times in 1 Post
Kevin Arisa is on a distinguished road
Default Re: Is it possible to restrict a component ...

Alternatively, you could give the armor the basic movement ability that an engine has, then allow only the infantry vehicle size to have engines. Then the larger troop sizes will not be able to use it. It is also helpful for handheld weapons such as blades and guns.
__________________
"Murder!? Who said anything about murder!? God save the Queen!"
ISA Command

A- Se GdY $- Fr! C- Css Sf+++ Ai Au M++ Mp* S++ Ss+++ RV Pw Fq Nd Rp+ MM+ G Bb L- Tcp+
Reply With Quote
  #3  
Old March 20th, 2006, 12:40 AM
Wenin's Avatar

Wenin Wenin is offline
Corporal
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Wenin is on a distinguished road
Default Re: Is it possible to restrict a component ...

The base file doesn't address the way to restrict a mount to a family. Do I specify the Weapon Type Requirement to be none?
Reply With Quote
  #4  
Old March 20th, 2006, 12:55 AM
Wenin's Avatar

Wenin Wenin is offline
Corporal
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Wenin is on a distinguished road
Default Re: Is it possible to restrict a component ...

I'm liking your idea better Kevin, it requires less modification. I'm running into a problem however. The I'm using happens to have Small Arms as well. They are identified as Movement just as you're suggesting. If I set the Max engines to two, then the unit can have two suits of armor, or two small arms. I've tried to set the armor up as a Aux Control, and the Infantry are the only Troop Vehicle allowed to have them. However I'm able to add the armor onto the larger troop vehicles without any warnings.

Here is my Battle Suit

Name := Battle Armor I
Description := A full suit of armor used by infantry.
Pic Num := 2273
Tonnage Space Taken := 3
Tonnage Structure := 6
Cost Minerals := 10
Cost Organics := 0
Cost Radioactives := 0
Vehicle Type := Troop
Supply Amount Used := 0
Restrictions := None
General Group := Armor
Family := 3519
Roman Numeral := 1
Custom Group := 0
Number of Tech Req := 1
Tech Area Req 1 := Armor
Tech Level Req 1 := 1
Number of Abilities := 2
Ability 1 Type := Armor
Ability 1 Descr := Is damaged before any other components on the vehicle.
Ability 1 Val 1 := 0
Ability 1 Val 2 := 0
Ability 2 Type := Ship Auxiliary Control
Ability 2 Descr :=
Ability 2 Val 1 := 0
Ability 2 Val 2 := 0
Weapon Type := None
Reply With Quote
  #5  
Old March 20th, 2006, 01:03 AM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default Re: Is it possible to restrict a component ...

Here is how you do such a mount. Make the component oversized by 100 (Tonnage Space Taken := 300, in your case) and add this mount to /data/compenhancement.txt
Code:

Long Name := Battle Armor Mount or whatever
Short Name := Battle Armor Mount or whatever
Description := whatever
Code := BA or whatever
Comp Family Requirement := 3519 (the family number of your armor)
Cost Percent := 100
Tonnage Percent := 1
Tonnage Structure Percent := 100
Damage Percent := 100
Supply Percent := 100
Range Modifier := 0
Weapon To Hit Modifier := 0
Vehicle Size Minimum := vehicle size of your troopers
Vehicle Size Maximum := vehicle size of your troopers
Weapon Type Requirement := None
Number of Tech Req := 0
Vehicle Type := Troop

__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #6  
Old March 20th, 2006, 01:17 AM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default Re: Is it possible to restrict a component ...

As an alternative you could also use both the engine ability for the Armor and Small Arms, restrict the trooper vehicle to max. engnies = 2. And restrict the armor AND the small arms to only one per vehicle (Restrictions := One Per Vehicle).

That way your trooper can carry both an armor and a small arms, but not two of either.
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #7  
Old March 20th, 2006, 07:27 AM
Wenin's Avatar

Wenin Wenin is offline
Corporal
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Wenin is on a distinguished road
Default Re: Is it possible to restrict a component ...

How does the whole "Family" thing get created? Can I just pull out any number I want? I just have to make sure that it doesn't match any other family numbers being used.
Reply With Quote
  #8  
Old March 20th, 2006, 07:56 AM
Wenin's Avatar

Wenin Wenin is offline
Corporal
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Wenin is on a distinguished road
Default Re: Is it possible to restrict a component ...

Any ideas why the Aux Control didn't work?
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 08:31 AM.


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