.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, 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
  #2  
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
  #3  
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
  #4  
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
  #5  
Old July 15th, 2003, 05:47 PM
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!

Sorry for the mistake about rounding. Rollo is correct. It is rounded up only to 1. But if the component is specified as "must have ability" then one more is added even before the calculation of the misc abilities are made.
Reply With Quote
  #6  
Old July 16th, 2003, 03:31 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 again, Rollo and Q, for the information about "spaces per one." I tried the new numbers yesterday, and things seem to be working well. I think I'll probably add a new entry to DesignCreation.txt for each ship size, so they all come out exactly the way I want them.

BTW, Rollo - May I borrow some things from the United Flora? (I would, of course, give you full credit in the "read me" file.) The Verdurans are also a plant-based life form, and it seems a natural fit. The ship designs, general characteristics (Verdurans are not religious), speech file, and Construction vehicles would all be different. But the planet types and general research path (without the religious tree) would essentially be stolen from your excellent UF AI. If you would rather I not do this, please let me know, and I will attempt to create everything from scratch.
Reply With Quote
  #7  
Old July 16th, 2003, 06: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!

Yes, feel free to use as much or as little as you want from the UF AI files.

Rollo

[ July 16, 2003, 17:12: Message edited by: 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 04:06 AM.


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