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 2 utilisateurs et 180 invités en ligne.

Utilisateurs en ligne

  • evader23
  • Randallw

Languages

  • English English
  • French French

Parcourir les archives

« December 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 » Space Empires V » Space Empires V General

Limiting # of Componets help

Soumis par Kilson le Mar, 2007-04-10 12:13 Space Empires V General

Ok Im at work : )
Just have my data here and came up with an component for enhancing ships, problem is I cant figure out how to limit it to just one per Ship or Base.
Not sure if SEV will except a - for Space. I will not be able to test this until later so If any one has Ideas, Please feel free to comment. If I cant limit them they have the power to be abused

Name := Ship Extension Small
Description := Extension to a starship for equipment.
Picture Number := 9
Maximum Level := 4
Tonnage Space Taken Formula := 0 - ([%Level%] * 25) ------------>Fixed typo now starts as - 25Kt
Tonnage Structure Formula := -30 - (([%Level%] - 1) * 25)
Cost Minerals Formula := 200 + (([%Level%] - 1) * 25)
Cost Organics Formula := 200 + (([%Level%] - 1) * 25)
Cost Radioactives Formula := 200 + (([%Level%] - 1) * 25)
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Ship, Base
Can Be Placed In Ship Sections := Inner Hull, Outer Hull
Component Type List := Technological
General Group := Cargo
Custom Group := 0
Number Of Requirements := 2
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Cargo.
Requirement 1 Formula := Get_Empire_Tech_Level("Cargo") >= (1 + ([%Level%] - 1))
Requirement 2 Description := The vehicle size must be at least 200kT.
Requirement 2 Formula := Get_Vehicle_Size_Tonnage() >= 200
Number Of Abilities := 1
Ability 1 Type := Combat To Hit Defense
Ability 1 Description := Extension makes Ship [%Amount1%]% easier to hit in combat.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := -5 - (([%Level%] - 1) * 5) ------------>now starts as a -5 Defense
Ability 1 Amount 2 Formula := -20

and Componet # 2

Name := Robotic Maintenance Pod
Description := Robotic Maintenance helps maintain ship.
Picture Number := 9
Maximum Level := 5
Tonnage Space Taken Formula := 25
Tonnage Structure Formula := 25
Cost Minerals Formula := 200 + (([%Level%] - 1) * 25)
Cost Organics Formula := 200 + (([%Level%] - 1) * 25)
Cost Radioactives Formula := 200 + (([%Level%] - 1) * 25)
Supply Amount Used Formula := 0
Ordnance Amount Used Formula := 0
Can Be Placed On Vehicle Types := Ship, Base
Can Be Placed In Ship Sections := Inner Hull, Outer Hull
Component Type List := Technological
General Group := Miscellaneous
Custom Group := 0
Number Of Requirements := 1
Requirements Evaluation Availability := AND
Requirements Evaluation Allows Placement := TRUE
Requirements Evaluation Allows Usage := TRUE
Requirement 1 Description := Empire must have at least tech level 1 in Cargo.
Requirement 1 Formula := Get_Empire_Tech_Level("Robotics") >= (1 + ([%Level%] - 1))
Number Of Abilities := 1
Ability 1 Type := Ship Maintenance Cost Modifier
Ability 1 Description := Robotic Maintenance decrease maintenance cost by [%Amount1%]%.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := -0 - ([%Level%] * 5)
Ability 1 Amount 2 Formula := 0

Thanks

‹ Orders Maintenance Not Adding Up ›
» 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.

Re: Limiting # of Componets help

Soumis par Brad le Mar, 2007-04-10 23:13

Kilson wrote:
Just have my data here and came up with an component for enhancing ships, problem is I cant figure out how to limit it to just one per Ship or Base.

I don't know if you can put any limits on the component itself. Normally such limits go in the vehicle hulls in vehiclesizes.txt.

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

Re: Limiting # of Componets help

Soumis par Phoenix-D le Mar, 2007-04-10 23:39

Check the requirements for the Emergency Propulsion and Emergency Resupply Pods.

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

Re: Limiting # of Componets help

Soumis par Kilson le Mer, 2007-04-11 10:03

Phoenix-D wrote:
Check the requirements for the Emergency Propulsion and Emergency Resupply Pods.

Why did I not think of that Thanks Phoenix,

So I should add a line
like
Requirement 2 Formula := Get_Design_Ability_Component_Count("Ship Extension Small") = 0 . . . . .

Hmm now If Say I had more than one type of Extension would I limit by doing something like
Requirement 2 Formula := Get_Design_Ability_Component_Count("Ship Extension Small") = 0, or Get_Design_Ability_Component_Count("Ship Extension") = 0, or Get_Design_Ability_Component_Count("Ship Extension Large") = 0, or Get_Design_Ability_Component_Count("Ship Extension Huge") = 0

would something like that work. . . Hmm I have more free time here at work than when Im at home. . . Except that I cant install SE5 here. . . : (

Thanks , again

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

  • Research By Percentage SUCKS
  • Is the Patch Process Dead, and Other Thoughts...
  • Known SE5 v1.74 Bugs
  • Babylon 5 Wars SEV Mod Update
  • Space Empires V 1.74

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 :

  • Possible Cause of "Processing" Resulting in Hung Game
  • In Battle Jumps?
  • Task Force Formation doesn't matck the in game picture
  • Ground Cannons
  • Modding How to?
(c) Strategy First, Inc. All rights reserved.