|
|
|
|
April 6th, 2001, 12:25 AM
|
Sergeant
|
|
Join Date: Dec 2000
Location: Miami, FL U.S.A.
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Annoying feature about the speed values in AI_Design_Creation.txr
I'm working on a mod that uses the "Engines per Move" field, requiring ships to use the same % of their weight in engines to achieve the same speed. However, the entries for "Desired Speed" and "Min. Speed" in the AI_Design_creation.txt actually refers to ENGINES not speed. The only way I see to get arround this problem, is to make seperate templates for every size of ship for every race! That's a lot of work!
Here's my question(s): Is there a better/easier way to do this, and if I do this, will it cause problems with the AI?
Any answers greatly appreciated!
(P.S. I wrote MM about this and asked him to change it so that Speed refers to SPEED not engines (but before any bonous movement is added))
|
April 6th, 2001, 01:07 AM
|
General
|
|
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Annoying feature about the speed values in AI_Design_Creation.txr
quote: Originally posted by Trachmyr:
I'm working on a mod that uses the "Engines per Move" field, requiring ships to use the same % of their weight in engines to achieve the same speed. However, the entries for "Desired Speed" and "Min. Speed" in the AI_Design_creation.txt actually refers to ENGINES not speed. The only way I see to get arround this problem, is to make seperate templates for every size of ship for every race! That's a lot of work!
Here's my question(s): Is there a better/easier way to do this, and if I do this, will it cause problems with the AI?
Any answers greatly appreciated!
(P.S. I wrote MM about this and asked him to change it so that Speed refers to SPEED not engines (but before any bonous movement is added))
Since there is a hard limit on the NUMBER of engines a ship can carry there doesn't seem any reasonable way for the AI to design its ships by any other rule than numbers of engines. I've been playing a game using a mod that give engines more than ONE standard movement and then gives ships different 'engines per move' to scale the number of engines more gradually by ship size, though it's not as exact as you seem to want to do. Escorts and Frigates only need 5 engines, destroyers 6, light cruiers 8, cruisers and battlecruisers 10, and battleships and dreadnoughts 12. This is a 'reasonable' scale of increasing movement cost to my mind. We are only dealing in approximations in this game.
I should point out, though, that the max speed of larger ships goes DOWN as the engine count goes up, so the scale is a bit steeper than it may look. Escorts move 7 for their 5 engines, frigates and destroyers 6, all cruisers move 5, BB and DN move 4. So, there is a reason to still build destroyers or maybe even escorts in the later game. They are faster and can make 'torpedo runs' at larger ships.
[This message has been edited by Baron Munchausen (edited 06 April 2001).]
|
April 6th, 2001, 02:23 AM
|
Second Lieutenant
|
|
Join Date: Jan 2001
Location: Eldersburg, Maryland, USA
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Annoying feature about the speed values in AI_Design_Creation.txr
The limit on engine per ship size can be changed in the vehicle file. You could put any number of engines you want on a hull. Maybe that could help you do what you want.
I've noticed a lot of threads on getting engines to move based the hull size and on weight. What is the reasoning behind that?
|
April 6th, 2001, 03:10 AM
|
Second Lieutenant
|
|
Join Date: Dec 2000
Location: Houston, TX, USA
Posts: 571
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Annoying feature about the speed values in AI_Design_Creation.txr
In a mod I was testing a little while ago I increased the attack ship desired speed to 20 and then used vehicle.txt to increase the engines per move and max engines to increase the number of engines ships need for movement. Worked fine. I had battleships set to 3 engines per move and 15 max engines. The AI designer built them with 15 engines.
However, it *is* tedious to increase the "desired speeds" of those ships by so much.
__________________
--
...can you and your associates arrange that for me, Mr. Morden?
|
April 6th, 2001, 06:07 AM
|
Private
|
|
Join Date: Mar 2001
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Annoying feature about the speed values in AI_Design_Creation.txr
My solution was to find and replace "Desired Speed := " with "Desired Speed := 10" effectively changing all 6's to 106's. AI now always uses max engines.
|
April 6th, 2001, 08:41 AM
|
Sergeant
|
|
Join Date: Dec 2000
Location: Miami, FL U.S.A.
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Annoying feature about the speed values in AI_Design_Creation.txr
Let me clarify what I'm talking about... I know you can change the limit of engines, and engines per move in Vechiclesize.txt; However if the AI_DesignCreation.txt says min speed 4 and desired speed 6... it will use 4-6 engines regardless of what SPEED that will achieve. This becomes a problem because the enties for "Attack Ship", "Carrier", etc. have a range of possible ship sizes (Attack Ships range from 100 to 1000 tons)... but if diffrent sizes have diffrent "Engines per Move" entries then you get the AI to build with far too few engines for larger ships. The Soulution is to create a seperate "Attack Ship" template for EACH hull size (times the number of races)... which is a lot of work, and I worry that this may cause other problems for the AI.
As for WHY I want to do this, I want to retain smaller ships in play for far longer... to do so, I make Large ships use a lot of engines (thus reducing space for weapons), or make them smaller. I know that the larger ships can put less engines on... but they still get too much speed for a couple of engines (thus more room for weapons) in my opinion.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|