.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 May 13th, 2001, 07:53 PM

Eagle Eagle is offline
Private
 
Join Date: Nov 2000
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Eagle is on a distinguished road
Default Custom Ship types

How would I require a ship type to have a min of X point defense cannons? I have tried playing with the requirements area in the VehicleSize.txt file.

------------------
"To live is to serve."
__________________
To live is to serve.
Reply With Quote
  #2  
Old May 13th, 2001, 08:31 PM

Dravis Dravis is offline
Corporal
 
Join Date: Dec 2000
Location: Procyon III
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Dravis is on a distinguished road
Default Re: Custom Ship types

I don't believe you can require a ship to have any more than one. To require just one component use the ability "must have special groupe" or something like that.
__________________
Grand Admiral Dravis
------------------
We are all bound by our experiences. They are the limits of our consciousness.
But in the end the human soul will ever reach for the truth...
Reply With Quote
  #3  
Old May 13th, 2001, 11:30 PM

jc173 jc173 is offline
Sergeant
 
Join Date: Mar 2001
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
jc173 is on a distinguished road
Default Re: Custom Ship types

Couldn't this be done by changing majority or secondary comp ability to equal point defense instead of weapon like on most attack/defense ships then specifying the spaces per one?
Reply With Quote
  #4  
Old May 13th, 2001, 11:39 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Custom Ship types

If this is for a hull requiring X PDCs, just like a transport requiring 50% cargo, I know the game engine supports that type of thing, but it may be hardcoded to only be used with lifesupport, crew quarters, and cargo space...
Reply With Quote
  #5  
Old May 14th, 2001, 01:33 AM

God Emperor God Emperor is offline
Second Lieutenant
 
Join Date: Dec 2000
Location: Australia
Posts: 464
Thanks: 0
Thanked 0 Times in 0 Posts
God Emperor is on a distinguished road
Default Re: Custom Ship types

For my AI's in the past, I have just used the spaces per one value. If you choose your value carefully (I used 95 for point defence), you can pretty much ensure that each hull size gets one more component each level.
Reply With Quote
  #6  
Old May 15th, 2001, 01:20 AM

Atraikius Atraikius is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Elk River, MN, USA
Posts: 472
Thanks: 0
Thanked 0 Times in 0 Posts
Atraikius is on a distinguished road
Default Re: Custom Ship types

As far as I've been able to tell, if you want to ensure that a ship has a specific number of items, such as Point Defense, you can do it using the Must Have feilds.

If you wanted to ensure that a attack ship would have three Point Defense cannons change the lines:

Number Must Have: :=1
Must Have Ability 1: :=Weapon

to

Number Must Have: :=4
Must Have Ability 1: :=Weapon
Must Have Ability 2: :=Point-Defense
Must Have Ability 3: :=Point-Defense
Must Have Ability 4: :=Point-Defense

Then when the AI builds attack ships it would place the required bridge, crew, life support, minimum engines, one of the primary weapons, and three Point Defense cannons before it would place anything else on the ship. As a warning though, the must have components DO NOT count towards the components per tonage value, and if the AI cannot fit the bridge, crew, life support, min engines and ALL Must Have items, the ship will not be built.


Suicide_Junkie - the Bridge, Life Support and Crew Quarters seem to be hard-codded, but from what I have been able to tell, the min and max percents should work when added on otherwise.


[This message has been edited by Atraikius (edited 14 May 2001).]
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 05:57 AM.


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