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

Online users

  • Shrike

Languages

  • English English
  • French French

Browse archives

« October 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    
Home » news » forums » Space Empires V » Space Empires V General

Is_Planet_Domed not working?

devnullicus's picture
Submitted by devnullicus on Mon, 2007-12-17 05:02. Space Empires V General

So, I was experimenting a bit today and tried out an idea. I wanted to make facilities cost twice as much (to build and maintain) if the planet is domed. Seems easy, right? IN facilities.txt, just use something like this:

Cost Minerals Formula := ( 1000 + ( ( [%Level%] - 1 ) * 50 ) ) * iif( Is_Planet_Domed(), 2, 1 )

Cost Organics Formula := ( 1000 + ( ( [%Level%] - 1 ) * 50 ) ) * iif( Is_Planet_Domed(), 2, 1 )

Cost Radioactives Formula := ( 1000 + ( ( [%Level%] - 1 ) * 50 ) ) * iif( Is_Planet_Domed(), 2, 1 )

Wrong.

Whether the facility is built on a domed or undomed planet, the cost is as if the Is_Planet_Domed is ALWAYS returning false.

Is there something else I need to do? Has anyone else tested Is_Planet_Domed()?

‹ Problems with Gameplay How to have 20 Empires? ›
» login or register to post comments

Now on STEAM

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

Popular content

Today's:

  • Star Wars SEV ship set available
  • No Point Defence in Technology in Balance mod
  • New Engine System
  • Research By Percentage SUCKS
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List

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:

  • Space empires 5
  • Fleet Transfer Screen and Damaged Ships
  • Mouse lag under Vista
  • Is there a way to count facilities?
  • Non-native racial tech: Thoughts?
(c) Strategy First, Inc. All rights reserved.