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 208 guests online.

Online users

  • Karaya
  • Fyron
  • mudshark
  • Astroshak
  • Piffle

Languages

  • English English
  • French French

Browse archives

« Juillet 2008  
Lu Ma Me Je Ve Sa Di
  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 31      
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Checking Retrofit Cost

Submitted by unnamed on Tue, 2008-02-05 14:33. SE:V MODs

Hey Everyone,

I'm working on my mod, and I noticed ships trying to retrofit but the cost preventing them (error message) when the AI ships try to do this. Obviously this is annoying to have ships wasting their time and supplies trying to retrofit when they cant. I was wondering if anyone has a bright idea on how to check the cost of the retrofit?

The only thing I can think of is to check the total cost of the new design versus the old, and if above a certain percentage more than the old just skip the retrofit (say 15%). But this is obviously a weak solution at best. Either blocks some legitimate upgrades, or misses some too expensive ones, or both.

Any ideas?

-Unnamed

‹ Ship Building It was a dud! ›
» 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.
Mod Designer

Re: Checking Retrofit Cost

Submitted by unnamed on Tue, 2008-02-05 14:34.

Clarification: When I said to expensive, I meant the 50% cost rule.

-Unnamed

Unnamed Mod

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Checking Retrofit Cost

Submitted by Captain Kwok on Tue, 2008-02-05 15:34.

You had the right idea. Look at the cost between the old and new design. If the new one is 50% more than the old one, don't retrofit. It's exactly what the hardcode is doing when a player attempts to retrofit a ship.


Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Mod Designer

Re: Checking Retrofit Cost

Submitted by unnamed on Tue, 2008-02-05 15:53.

Hey Kwok,

THanks for the reply, but I thought it would look at the individual components replaced to determine cost (added), not the total design cost to compare. Example, the total designs only cost 15% different, but your replacing 2/3 of components, so those components cost more than 50% of the design. If I'm wrong then thats great though. Easier to fix. Thanks again.

-Unnamed

Unnamed Mod

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Checking Retrofit Cost

Submitted by Captain Kwok on Tue, 2008-02-05 17:59.

I don't understand why you'd look at the individual components... The cost rule is based on the total cost in all resources of the design...


Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Mod Designer

Re: Checking Retrofit Cost

Submitted by unnamed on Wed, 2008-02-06 08:45.

Not sure Kwok, just for whatever reason I got it in my head that it was that way. Thanks for the clarification though, that solves my problem. Thanks again.

-Unnamed

Unnamed Mod

» 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:

  • Babylon 5 Wars SEV Mod Update
  • SEV 1.74 misc. Issues and Suggestions
  • Starting with custom empires
  • Research By Percentage SUCKS
  • Space Empires V 1.74

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:

  • Making Custom Models
  • Invalid Data Files
  • Space Empires V 1.44
  • Drones?
  • Will I ever be able to finish a game??
(c) Strategy First, Inc. All rights reserved.