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

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 3 utilisateurs et 140 invités en ligne.

Utilisateurs en ligne

  • GambitUK
  • Randallw
  • BlueTemplar

Languages

  • English English
  • French French

Parcourir les archives

« August 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 31
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Flat cost curve mod

Soumis par Szumo le Jeu, 2006-10-26 12:36 SE:V MODs

Introduction:
I think there might be other players out there who do not like the fact that vehicles, components and facilities become more expensive both to build and to maintain as your technology gets better. If you are
one of those, this little mod is for you.

Well, to be honest, that is not actually mod per so, but a mod's mod.
What i have done is I have written a Python script that changes all vehicle/facility/component cost to stay constant and independent of technology level, for example a space yard facility will now cost the same to build whether it's level 1 or 5.

The archived script can be downloaded here: http://rapidshare.com/files/779279/balance_-_flat.zip
You need Python to run, of course do it in mod's directory not where stock game files are! (if you want to use stock files copy them to a mod directory first).

For those of you who don't have python installed i've included changed VehiclesSizes.txt, Components.Txt and Facilites.Txt from Kwok's Balance Mod (0.92) in the above archive.

Let me know if it's of any use to you Smiling

‹ Componant restrictions for mounts AI building problems ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Here's the source

Soumis par Szumo le Jeu, 2006-10-26 12:56

Here's the source code:

import os, re

flatteners = [ '(Cost Minerals Formula[^+]+)\+.*', '(Cost Organics Formula[^+]+)\+.*', '(Cost Radioactives Formula[^+]+)\+.*', ]

flatteners = [re.compile(flattener) for flattener in flatteners]

files_to_flatten = ['Facilities.txt', 'Components.txt', 'VehicleSizes.txt']

for newfilename in files_to_flatten:
  print newfilename + ":",
  matchcount = 0
  oldfilename = newfilename + '.old'
  try:
    os.unlink(oldfilename)
  except WindowsError:
    pass		
  os.rename(newfilename, oldfilename)
  oldfile = file(oldfilename, 'r')
  oldlines = oldfile.readlines()
  oldfile.close()
  newlines = []
  for oldline in oldlines:
    for flattener in flatteners:
      match = flattener.match(oldline)
      if match is not None:
        oldline = match.group(1) + "\n"
        matchcount += 1
    newlines.append(oldline)
  newfile = file(newfilename, 'w')
  newfile.writelines(newlines)
  newfile.close()
  print "%d matches" % matchcount

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

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

Contenu populaire

Aujourd'hui :

  • Very disappointed
  • Babylon 5 Wars SEV Mod Update
  • SE5 Interface Issues v1.74
  • Fate Shrine sabotage protection
  • Babylon 5 Space Empires V mod?

Depuis toujours :

  • 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

Dernier accès :

  • SE5_20060929-54.jpg
  • IRM 0.9a released! (Updated link)
  • Low FPS, laggy mouse movement
  • Modding
  • Ship destroyed when component destroyed?
(c) Strategy First, Inc. All rights reserved.