.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 February 11th, 2002, 06:02 AM
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 AI Patching requests

Does your mod require tweaks to the AI files for them to function properly?

I can include support for your mod in my AI Patcher.
Reply With Quote
  #2  
Old February 11th, 2002, 07:45 AM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: AI Patching requests

What exactly does your patcher do? Forgive the dumbass question as I really don't understand what its does. I know it patches AI, but what do you mean by "patch"?
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #3  
Old February 11th, 2002, 08:29 AM

dumbluck dumbluck is offline
Lieutenant Colonel
 
Join Date: Feb 2001
Location: iola, ks, usa
Posts: 1,319
Thanks: 3
Thanked 0 Times in 0 Posts
dumbluck is on a distinguished road
Default Re: AI Patching requests

Personally, in this particular topic I think the answer would be "What do you WANT it to mean?"

His first AI patcher patched the ai general.txt and the ai ship design text file from the standard movement system to his Quasi Newtonian Physics movement system for P&N 2.x (ie a dreadnaught with only 2 engines isn't going anywhere). (I think it might have tweaked it in a few other ways, but I'm not a computer expert so I'll let him get into the specifics )
__________________
dumbluck
CEO, Fortuitous Investments, Inc.
Author: The Belanai Story
Reply With Quote
  #4  
Old February 11th, 2002, 08:52 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: AI Patching requests

Ooo, maybe I should have went here first instead of "complaining" in the Pirates thread

I'll have more information ready once I get everything planned out. No Gold yet, so I don't want to do a huge amount of work only to have to re-vamp everything for gold.

Phoenix-D
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #5  
Old February 11th, 2002, 03:32 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: AI Patching requests

I can always update things later, and from what I gathered from your other post was that your mod should be a simple cut and paste from what I've already got.

Dumbluck:
Precisely. Any sort of simple, repetitive change to the AI files I can do.
As long as you have some fairly simple rules on what and how to change things... It's not an AI program to write AIs for SE4

As an example of moderate complexity:
In P&N2, for the AI_general file, I:
- skip ahead to the "*begin*"
- skip ahead until "num advanced traits" appears in the text.
- remember the first nonzero value in the text string (eg. "race opt 1 num advanced traits := 2")
- check the value of this line, if its zero, then decrement the value of the previous line in the file. (To free up some racial points so the AI will choose the adv. trait)
- increment the value of this line
- skip ahead until the first number in the line equals the old number of advanced traits
- insert "Race Opt "(number remembered above)" Name "(new number of adv traits)" := Normal"
- repeat from point 2 until EndOfFile
Reply With Quote
  #6  
Old February 11th, 2002, 04:59 PM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: AI Patching requests

Ok AI patching notes for my "Ultimate Vehicle Size mod"


***************
research
***************
increase
ship const x3
base const x3

Add near the start
bases 2
sats 2
early

***************
design_creation
***************

Name := Attack Ship(small)
Design Type := Attack Ship
...
Size Minimum Tonnage := 1
Size Maximum Tonnage := 400
..
Minimum Speed := 2
Desired Speed := 4
...
Majority Weapon Family Pick 1 := (a weapon less than 25kt e.g. UDC (weapfam 25))

Name := Attack Ship(normal/big)
Design Type := Attack Ship
...
Size Minimum Tonnage := 400
Size Maximum Tonnage := 5000
...
Minimum Speed := 6
Desired Speed := 6

Name := Attack Base
Design Type := Attack Base
...
Size Minimum Tonnage := 5000
Size Maximum Tonnage := 65000 (40,000)
...
Minimum Speed := 6
Desired Speed := 6


Name := Colony (...) (Small)
Design Type := Colony (...)
...
Size Minimum Tonnage := 10
Size Maximum Tonnage := 260
...
Minimum Speed := 1
Desired Speed := 3

Name := Colony (...) (Normal)
Design Type := Colony (...)
...
Size Minimum Tonnage := 260
Size Maximum Tonnage := 500 (370)
...
Minimum Speed := 5
Desired Speed := 6

Name := Base Space Yard
...
Size Minimum Tonnage := 430
Size Maximum Tonnage := 65000?

Name := Carrier(small)
Design Type := Carrier
...
Size Minimum Tonnage := 20
Size Maximum Tonnage := 2500
...
Minimum Speed := 1
Desired Speed := 6

Name := Carrier(big)
Design Type := Carrier
...
Size Minimum Tonnage := 2500
Size Maximum Tonnage := 65000 (31400)
...
Minimum Speed := 6
Desired Speed := 6

Name := Small Fighter
Design Type := Fighter
...
Size Minimum Tonnage := 5
Size Maximum Tonnage := 15
...
Minimum Speed := 2
Desired Speed := 6

Name := Mine
...
Size Minimum Tonnage := 5
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 12:12 AM.


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