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 1 utilisateur et 216 invités en ligne.

Utilisateurs en ligne

  • ForesterSOF

Languages

  • English English
  • French French

Parcourir les archives

« May 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

How does this work?? (Get function)

Image de Deathstalker
Soumis par Deathstalker le Ven, 2008-02-01 19:32 SE:V MODs

Ok, I'm trying to make a component for a ship that adds 'space' to the ships hull (ie, tonnage). I call it 'External Hull Enhancement'. I've used the negative tonne forumula up until now (ie make a component that just subtracts away from the total tonnage so as to 'trick out' more space) but now I'd like to try using the 'Get_Vehicle_Size_Tonnage' function to add 20% of the hulls total tonnage back into the ship.

Question one: Would this mean that for each component it would re-calc the tonnage of the ship (ie, each successive comp would not be 20% of the original ships size added but 20% of the new total successively).??

Question two: Why does this not work (what dumb thing am I not doing, it keeps giving me a 'cannot parse' error when loading the mod.)
I figure someone with waaayyy more experience can answer this easier than I could figure out in probally 3 hours of racking my brain (while I chase my 3yr old around and try to give her a bath in between, lol, Eye-wink..)
Comp:

Name := External Hull Enhancement
Description := Additions to the outside of the hull to increase the 'space' of a ship or base. (uses negative number formula).
Picture Number := 268
Maximum Level := 5
Tonnage Space Taken Formula := 0 - (0 + ((Get_Vehicle_Size_Tonnage("")) * 0.20))
Tonnage Structure Formula := 100 * (1 + ((Get_Empire_Tech_Level("Armor")) * 0.1)) * (1 + (([%Level%] -1) * 0.05))
Cost Minerals Formula := 500 - ([%Level%] * 25)
Cost Organics Formula := 200 - ([%Level%] * 25)
Cost Radioactives Formula := 300 - ([%Level%] * 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 := Armor
Component Type List := Technological
General Group := Vehicle Control
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 Construction.
Requirement 1 Formula := Get_Empire_Tech_Level("Construction") >= (1 + ([%Level%] - 1))
Requirement 2 Description := There is a limit of four external hull additions per vehicle.
Requirement 2 Formula :=Get_Design_Specific_Component_Count("Space Yard")

‹ AI surrender Dark Nova 5 RELEASED! ›
» 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.
Image de Captain Kwok
Mod Designer

Re: How does this work?? (Get function)

Soumis par Captain Kwok le Ven, 2008-02-01 19:41

Get_Vehicle_Size_Tonnage does not work in Components.txt.


Space Empires Depot | SE:V Balance Mod

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

Re: How does this work?? (Get function)

Soumis par Deathstalker le Ven, 2008-02-01 19:53

ah darn it Sad

Don't suppose there is a work around for what I'm trying to do? or maybe something arcane that I obviously havn't thought of?

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

Re: How does this work?? (Get function)

Soumis par Fyron le Sam, 2008-02-02 15:46

You could use a mount for each vehicle size to scale the "size" of the component..


SpaceEmpires.net | Space Empires Wiki

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

  • Defence vs. Attack and other Combat related questions...
  • Sphere world construction?
  • Gritty Galaxy Fleet Clash
  • BattleStar Galactica Mod Available
  • Ringworld / Sphereworld

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 :

  • Good Game But..................................
  • SE5_20060929-55.jpg
  • Has any one ever seen a "Points - Change" event work?
  • SE5_20060929-59.jpg
  • Yet another noob question -- using outdated components?
(c) Strategy First, Inc. All rights reserved.