Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 5 users and 193 guests online.

Online users

  • Captain Kwok
  • GambitUK
  • Fyron
  • crazydog
  • Zaphod666

Languages

  • English English
  • French French

Browse archives

« September 2008  
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Making AI Use My Corvette Vehicle Class with New Tech Too

Submitted by BlueGreen on Thu, 2007-11-15 07:10. SE:V MODs

Hi all ive been modding the data files and adding them to a new mod folder for a new Class of ship (Corvette) that requires a new tech 'Very Ligh Hull Construction' which I modded to come before the first ship tech 'Light Hull Construction'. Well everything works fine for the Human player; and I can research through the New Tech onto the older tech; and design and make Corvette ships how I wanted. Its great.

I also modded the following AI files and added them to the data file in order to hopefully get the AI to use the Corvette ships too:(Script_AI_GlobalConstants_VehicleSizes.txt / Script_AI_GlobalConstants_Tech.txt / Script_AI_GlobalResearch.txt / Script_AI_GlobalSettings.txt / Script_AI_Research.txt) Also they shouldnt have no choice; because they can only build Colony Ships and Corvette ships until they research through 'Very Light Hull Construction. However when i start the game up to test it by making the whole universe visible at all times; the AI only constructs; Space Stations, Sattelites, Mines, Weapon Platforms and Colony Ships. They do not however construct the new corvette ships and they seem stuck on the new ship technology.

I definately put in all the information about the new ship class and technologies; in the same way the default ones are into the text files. Maybe having these in the Data folder is the wrong place? Or maybe I have to make them into scripts and put them there? However even the default versions of 3 of 5 of these scripts dont parse with the Compiler :/ . Im at a loss the AI is just stuck.

‹ Kwok, I've got a question: Unit scripting ? ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Captain Kwok's picture
Mod Designer

Re: Making AI Use My Corvette Vehicle Class with New Tech Too

Submitted by Captain Kwok on Thu, 2007-11-15 09:15.

It doesn't sound like you are compiling the files correctly. The SE wiki has a brief section that includes which scripts should be compiled etc:
http://wiki.spaceempires.net/index.php/AI_and_Script_Editing_%28SEV%29

Also, Script_AI_GlobalResearch.txt is only used during player setup. You'll want to edit Script_AI_Research, which covers the AI's turn to turn research.


Space Empires Depot | SE:V Balance Mod

» login or register to post comments

Re: Making AI Use My Corvette Vehicle Class with New Tech Too

Submitted by BlueGreen on Wed, 2007-11-21 08:48.

Thankyou for the information... It says that when you compile the race files they include your data from those text files.

However Even when i do this the AI still gets completely stuck and only builds Weapon Platforms and Satellites now. No Ships or bases.

If any1 who has successfully added a new vehicle type that wont wreck the AI could they please tell me how or post the files cheers Smiling. Ive checked the mods around and none actually add new unit types (There was 1 mod that did add new types but the AI didnt use them).

» login or register to post comments

Re: Making AI Use My Corvette Vehicle Class with New Tech Too

Submitted by BlueGreen on Fri, 2007-11-23 22:44.

Ahh Nm I finally got it to work Smiling - was a stupid thing really; hadnt set the right engines and life-support for the cpu to use.

» login or register to post comments

Re: Making AI Use My Corvette Vehicle Class with New Tech Too

Submitted by BlueGreen on Sat, 2007-11-24 10:38.

Hmm Btw it seems too small versions of ships will not be used by the AI even when theres enough room for essential components and some extra components too.

The AI uses my 180KT Corvette Ships just fine; making ship designs as well as it normall makes frigate designs. However it doesnt wanna use my Escort Class 130KT or my Settler Ship 270KT. I only made it require 3 engines to run too the Escort.

» login or register to post comments
Mod Designer

Re: Making AI Use My Corvette Vehicle Class with New Tech Too

Submitted by Gideon on Sat, 2007-11-24 13:44.

BlueGreen wrote:
Hmm Btw it seems too small versions of ships will not be used by the AI even when theres enough room for essential components and some extra components too.

The AI uses my 180KT Corvette Ships just fine; making ship designs as well as it normall makes frigate designs. However it doesnt wanna use my Escort Class 130KT or my Settler Ship 270KT. I only made it require 3 engines to run too the Escort.

The AI always builds the lowest ship in it's list in GlobalSettings that it can. This is why it doesn't field mixed fleets of ships, but instead churns out only dreadnaughts in the late game.

"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
Download my mod here: GidMod

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • Balance Mod v1.05 Available!
  • Supply and ordnance taking damage before platforms.
  • Gid Mod 4.9.0-beta
  • The art of diplomacy (and some other questions)
  • Empire Selection Algorithm Question

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • New engine types
  • NeoStandard Mods/Shipsets?
  • Supply and ordnance taking damage before platforms.
  • Balance Mod v1.05 Available!
  • Mesh BM FQM and Asteroids
(c) Strategy First, Inc. All rights reserved.