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 1 user and 107 guests online.

Online users

  • Firzen_Zero

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

Question: Making components wear out

Submitted by Dunii1 on Sat, 2008-05-10 22:59. SE:V MODs

Ok, I want to know if there is any way to make components take damage every turn, ultimately resulting in their destruction after a certain number of turns. I've already tried using the "Component Regeneration" ability type with a negative value but this doesn't work.

Also, is there any way to make a component that would work as a backup for a component like the one above, that would only become active/"degenerate" after the first one had failed.

Thanks for any advice you can provide.

‹ Spawning Sphereworlds and Ringworlds How is it? ›
» 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: Question: Making components wear out

Submitted by Fyron on Sun, 2008-05-11 20:13.

For the first part, you would have to write some custom functions in the event script. I'm not sure you can even deal damage to individual components, however. You might be limited to just dealing X damage to a ship.

To the second part, no.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Re: Question: Making components wear out

Submitted by AndreyKl on Thu, 2008-05-15 15:37.

1)//you would have to write some custom functions in the event script.
It is posible to create demage type, which can demage only one component. But I don't know if function, which cause demage to vehicle each turn can be found in game, so script may be best idia.
2)I think it is posible. May be you can use Get_Design_Specific_Component_Count(), but i don't know, if it change result when one of components destroyed. Also devnul mod uses function Get_Design_Ability_Component_Count() in components file, I think tgis function can change its meaning when component destroyed. At least you can try these functions. You can make such ability (but i don't know if it will work, you can try different wariations):
Ability 1 Type := Movement Standard
Ability 1 Description := works only if no other engines.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := iff(Get_Design_Ability_Total("Movement Standard")...

» login or register to post comments
Mod Designer

Re: Question: Making components wear out

Submitted by Fyron on Thu, 2008-05-15 18:01.

Get_Design_XXX() type functions only work in requirement fields.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Re: Question: Making components wear out

Submitted by AndreyKl on Sat, 2008-05-17 16:41.

Are there any functions, which works in battle?

» login or register to post comments
Mod Designer

Re: Question: Making components wear out

Submitted by Fyron on Sat, 2008-05-17 19:17.

I'm not sure what exactly you are looking for. There are no functions that trigger specifically during battle, but every value used in battle was determined by some function at the ship design stage (or from constructed facilities, space object abilities, etc.).

There is certainly no way to evoke event script functions during a battle.


SpaceEmpires.net | Space Empires Wiki

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

  • Research By Percentage SUCKS
  • Cloaked Warp Points
  • Capturing suicidal colony ships of Balance Mod AI empires
  • Space Empires V 1.74
  • Space Empires V

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:

  • Is Space Empires the most complex 4x game ever?
  • Xiati or Xi'Chung showing up in games?
  • Stuipd Question
  • Babylon 5 Wars Mod Beta Sign-up
  • Crap ... help...
(c) Strategy First, Inc. All rights reserved.