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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old July 15th, 2003, 06:57 AM

TNZ TNZ is offline
Sergeant
 
Join Date: Jul 2003
Location: New Zealand
Posts: 252
Thanks: 0
Thanked 0 Times in 0 Posts
TNZ is on a distinguished road
Default Re: AI Modding: I have no clue, please help!

Is PDC a Point-Defense Cannon?
Reply With Quote
  #2  
Old July 15th, 2003, 09:12 AM

TNZ TNZ is offline
Sergeant
 
Join Date: Jul 2003
Location: New Zealand
Posts: 252
Thanks: 0
Thanked 0 Times in 0 Posts
TNZ is on a distinguished road
Default Re: AI Modding: I have no clue, please help!

Seems the AI works its way down adding components until it finishes or it runs out of room.

[ July 16, 2003, 05:29: Message edited by: TNZ ]
Reply With Quote
  #3  
Old July 15th, 2003, 09:58 AM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Re: AI Modding: I have no clue, please help!

point defense is misc ability. Here's a line from my AI:
Num Misc Abilities := 7
Misc Ability 1 Name := Armor Regeneration
Misc Ability 1 Spaces Per One := 300
Misc Ability 2 Name := Point-Defense
Misc Ability 2 Spaces Per One := 200 (....)
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #4  
Old July 15th, 2003, 10:01 AM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Re: AI Modding: I have no clue, please help!

and realy, the Spaces Per One, what does it mean?
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #5  
Old July 15th, 2003, 10:45 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: AI Modding: I have no clue, please help!

It defines how many components of this type are added according to the ship size. In you example of a destroyer (300kT):

Misc Ability 6 Name := Point-Defense
Misc Ability 6 Spaces Per One := 200

would mean that 2 PDC will be added (300 : 200 = 1.5) because it is always rounded up to the next integer.

Therefore your line:

Misc Ability 1 Name := Armor Regeneration
Misc Ability 1 Spaces Per One := 120

will give you 3 organic armors in your destroyer (300 : 120 = 2.5, rounded up to 3).

Because your PDC are at the end of the list I think there is simple not enough space on the ship to include one. I usually add organic armor at the end of the list to fill up the space.

Hope that helps.

[ July 15, 2003, 09:46: Message edited by: Q ]
Reply With Quote
  #6  
Old July 15th, 2003, 04:21 PM
Chronon's Avatar

Chronon Chronon is offline
Sergeant
 
Join Date: Sep 2002
Location: Connecticut, USA
Posts: 252
Thanks: 0
Thanked 0 Times in 0 Posts
Chronon is on a distinguished road
Default Re: AI Modding: I have no clue, please help!

Thanks Q!

Now I understand why I'm not getting any PDC on the destroyer. I'm sure you're right about not being any space left for them. I'll swap the PDC and armor lines and make both 150. That should give me two of each (I hope).
Reply With Quote
  #7  
Old July 15th, 2003, 05:11 PM
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: AI Modding: I have no clue, please help!

Quote:
Originally posted by Q:
It defines how many components of this type are added according to the ship size. In you example of a destroyer (300kT):

Misc Ability 6 Name := Point-Defense
Misc Ability 6 Spaces Per One := 200

would mean that 2 PDC will be added (300 : 200 = 1.5) because it is always rounded up to the next integer.

Therefore your line:

Misc Ability 1 Name := Armor Regeneration
Misc Ability 1 Spaces Per One := 120

will give you 3 organic armors in your destroyer (300 : 120 = 2.5, rounded up to 3).

Because your PDC are at the end of the list I think there is simple not enough space on the ship to include one. I usually add organic armor at the end of the list to fill up the space.

Hope that helps.
'Spaces per one' is NOT always rounded up. It is always rounded down, but with minimum of one.

So, 'Spaces per one' = 200 gives you one on a DS and lower. 2 on LC and CR. 3 on BC, etc.

If you want to make a DS use two compontns, you need to make a value >= 150.

Rollo
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
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 03:53 AM.


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