|
|
|
 |
|

December 28th, 2002, 10:32 PM
|
Private
|
|
Join Date: Dec 2002
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Modding Questions (especially need help for AI)
First off, thank you very much everyone for their 2 cents in the other modding threads and on my previous questions. Now on to the questions
Where in the component enhancement file should tech pre-reqs be placed? (or is this not enabled, saw differing opinions in previous threads)
Do seeker weapon missile mounts work? I have tried and it seems to DISPLAY the change (and the size and dmg cap are changed), but damage and range seem to be unaffected in practice...
How can you give a single weapon a combat to-hit bonus without affecting all the weapons on the ship?
Is there any way to EXCLUDE a single weapon/component from a weapon mount? (without simply adding ALL the others to the comp family specifications)
Is there a simple way to tell when and in which direction the program will round a number?
How can one edit the AIs to comply with a new mod?
How can one set a limit on the number of a component that can be used in a design?
What is a good way to test a mod?
How much do troops affect a populace's happiness, can this be modified, if so then how/where, and how can you tell that it does (other than watching the 400+ troops you just dropped on the rioting planet make it jubliant the next month)?
[edit(s) - more questions]
[ December 29, 2002, 06:30: Message edited by: LostCommander ]
__________________
All is never lost.
|

December 29th, 2002, 05:40 AM
|
 |
Lieutenant Colonel
|
|
Join Date: Jan 2002
Location: Dundas, Ontario, Canada
Posts: 1,498
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Questions (especially need help for AI)
Quote:
Originally posted by LostCommander:
Is there a simple way to tell when and in which direction the program will round a number?
|
Good question. The one area I have noticed this it was rounded down. The case was when I picked a 90% repair trait for my Race in a P&N game. I forget which but a component that normally repaired ONE component per turn was now repairing 0. So in this case things were rounded down.
|

December 29th, 2002, 09:09 AM
|
Sergeant
|
|
Join Date: Oct 2002
Location: Dallas, tx
Posts: 391
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Questions (especially need help for AI)
Quote:
Originally posted by LostCommander:
How can one set a limit on the number of a component that can be used in a design?
|
in components.txt there is a line for restrictions. this lets you limit the # of components per ship. it ranges from 0-10 per ship but it has to be spelled out not done in numbers.
__________________
The vastness of space and time, and I end up here?
|

December 29th, 2002, 11:50 PM
|
 |
General
|
|
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
|
|
Re: Modding Questions (especially need help for AI)
Quote:
How can you give a single weapon a combat to-hit bonus without affecting all the weapons on the ship?
|
I think you'd have to design a separate Version of the weapon with the bonus, and add it to Components.txt while leaving the originals in there, too.
Quote:
How can one edit the AIs to comply with a new mod?[...] What is a good way to test a mod?
|
Depends on the mod. Mods that don't change any techs or Advanced Traits shouldn't require any changes to the AI. Tech changes may mean rewriting the AIs to use the techs or counter them.
Playing lots of test games is the best way to go, either solo or with volunteer betatesters helping. You can also set up hotseat solo games with more than one empire under your control, if the AIs can't handle the mod.
Quote:
How much do troops affect a populace's happiness, can this be modified, if so then how/where, and how can you tell that it does (other than watching the 400+ troops you just dropped on the rioting planet make it jubliant the next month)?
|
This is defined by the race's Happiness type; the numbers are in Data\Happiness.txt . Watching what the troops do is the only way to judge, unfortunately; there's no way to see what the actual Anger number for a planet is.
__________________
Cap'n Q
"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
|

December 30th, 2002, 02:42 AM
|
Private
|
|
Join Date: Dec 2002
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Questions (especially need help for AI)
Capnq, thanks for happiness info!  For the weapon to-hit bonus, I am making new weapons and just wanted to know which ability it was (for a single weapon emplacement and not necessarily PD). I looked through the abilities file and could not find it. For the AI, my problem is illegal ship designs. I have gone through and crushed all non-conforming weapon family #s from the components, but there are still too many engines. I would like the AI to make the ships as fast as is legally possible, and no faster.
Desdinova, thanks for component restriction info! 
__________________
All is never lost.
|

December 30th, 2002, 04:10 AM
|
 |
Brigadier General
|
|
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Questions (especially need help for AI)
Can you be a bit more specific about the illegal desings? If you post the design and the engine components, some people might be able to help.
Rollo
|

December 30th, 2002, 05:57 AM
|
Private
|
|
Join Date: Dec 2002
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Questions (especially need help for AI)
 Sure Rollo. The only change in the vehicle size file that the AI has access to is that Escorts and Frigates are allowed 8 engines and Destroyers and Light Cruisers are allowed 7 (as opposed to the original 6 for all lower warships). I am running across AI:
Escorts - command comps (B,LS,CQ), 1 DUC, and 9 regular, everyday Ion Engines.
Frigates - CCs, 2 DUCs, a supply storage, and 9 Ion Engines.
Destroyers - CCs, 4 DUCs, 1 SS, and 13 engines...
DUCs and IEs are completely untouched, ss was given 3K supplies instead of normal 500. I am, well... lost... as to what to do about it.
__________________
All is never lost.
|

December 30th, 2002, 07:35 AM
|
 |
General
|
|
Join Date: Nov 2000
Posts: 3,013
Thanks: 17
Thanked 25 Times in 22 Posts
|
|
Re: Modding Questions (especially need help for AI)
Quote:
Originally posted by LostCommander:
[QB]Capnq, thanks for happiness info! For the weapon to-hit bonus, I am making new weapons and just wanted to know which ability it was (for a single weapon emplacement and not necessarily PD). I looked through the abilities file and could not find it.
|
To-hit for weapons is controlled by the weapon modifier line of the data file.
|

December 30th, 2002, 07:48 AM
|
Private
|
|
Join Date: Dec 2002
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Questions (especially need help for AI)
Graeme Dice, Thanks! I am not sure why I could not figure that out. Even listed in the SEIV modding 101 page... *shakes head* better get some sleep I suppose.
BTW to anyone, can combat to-hit / to-be-hit modifiers be set to more than 99% / less than -99%?
__________________
All is never lost.
|

December 30th, 2002, 11:57 AM
|
 |
Brigadier General
|
|
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Questions (especially need help for AI)
hmm, not sure why you get illegal designs with the changes you mentioned, but i have a suspicion...
what AI causes this? can you paste the design from the ..._AI_DesignCreation file. that would help a great deal to track the problem.
|
Thread Tools |
|
Display Modes |
Linear 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
|
|
|
|
|