.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Atrocities - SE:V Trek sets' AI (http://forum.shrapnelgames.com/showthread.php?t=33113)

Captain Kwok February 1st, 2007 02:11 PM

Atrocities - SE:V Trek sets\' AI
 
Atrocities, I'm curious to know how you generate the compiled scripts for your sets AI? I ask because they are not the approximate size as they should, which makes me think they will cause problems if chosen as a computer player.

You can either compile them correctly if that is the case, or you can change [Empire_Name]_Main.txt to use the default scripts instead.

Atrocities February 1st, 2007 07:18 PM

Re: Atrocities - SE:V Trek sets AI script Problem
 
They are copies. As stated in the Read-me, the sets do not come with AI. Only the required files which are copies from the TMP for the Feds, and the Jnaenar for the Klingons and Roms.

I don't know anything about how to unpack/script/repack the files. Any insight into this would be appreciated.

Captain Kwok February 1st, 2007 07:41 PM

Re: Atrocities - SE:V Trek sets AI script Problem
 
Sorry Atrocities. It's my mistake. I had looked at the packed size not the actual size, so the scripts are the right size and everything should be ok. http://forum.shrapnelgames.com/image...es/redface.gif

Atrocities February 1st, 2007 07:53 PM

Re: Atrocities - SE:V Trek sets AI script Problem
 
Thank CK. But still can you offer any insight into how to unpack/script/repack them? The AI is something that I am going to have to learn to mod in order to move forward with any plans for a ST mod. So any help is greatly appreciated.

Captain Kwok February 1st, 2007 08:17 PM

Re: Atrocities - SE:V Trek sets AIs
 
It's basically the same as SE:IV in a way. Take an existing AI set ([EmpireName]_Main_Script.txt, [EmpireName]_Setup_Script.txt; located in the Utilities\SE5EmpireScripts folder) and make whatever changes to the script you'd like. This might be changing what weapons they use, perhaps the racial traits they pick, or different percent values for diplomacy. You'd then use the Script Parser to compile the two files and viola, you have your custom AI files.

President_Elect_Shang February 1st, 2007 08:37 PM

Re: Atrocities - SE:V Trek sets AIs
 
Try rewriting the AI from scratch! http://forum.shrapnelgames.com/images/smilies/Sick.gif

I'll help you whip up some generic stuff as soon as I can. Later when I am done rewriting the AI I will be fully prepared to create custom AI's for you if you would like.

Thy_Reaper February 1st, 2007 08:47 PM

Re: Atrocities - SE:V Trek sets AIs
 
Try rewriting the AI from scratch using a data system that almost totally requires two-dimensional arrays. It hurts. Badly.


All times are GMT -4. The time now is 06:22 AM.

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