This site is in archival mode. A replacement is being developed. In the meantime, please use the PBW2 Forums for community discussions. The replacement software for this site will use a unified account system with PBW2, and any newly created threads will carry over.
Welcome to Spaceempires.net
Login or Register

Search
Modules
· Content
· Downloads
· Forums
· Game Info
· Image Gallery
· Links
· Shipyards
· Topics
· Staff

User Info
· Welcome, Anonymous
Membership:
· New: Tiregan
· New Today: 0
· New Yesterday: 0
· Overall: 3154

People Online:
· Visitors: 109
· Members: 0
· Total: 109

  

Spaceempires.net :: Pollution! :: View topic
Forum FAQ :: Search :: Memberlist :: Usergroups :: Profile :: Log in to check your private messages :: Log in


Pollution!

 
Post new topic   Reply to topic    Spaceempires.net Forum Index -> Gritty Galaxy
View previous topic :: View next topic  
Author Message
SuicideJunkie
Leaky Guru


Joined: May 28, 2005
Location: Canada!

PostPosted: Sun Mar 30, 2008 4:38 am    Post subject: Pollution! Reply with quote

Thanks to new functions in the latest patches, I've finally got the chance to finish my pollution scheme.

High organics value improves things, as do farms a little. Weather Control facilities help a lot.
Rads value, and polluting industry lowers value.

Conditions will trend towards 1.5 * (improvement) / (improvement + pollution)
Where conditions range from 1.5 (Optimal) to 0.0 (Deadly)

If conditions are below 0.5, some people are gonna die. Random weather each turn will vary the exact amount, but the worse the conditions the more die.
If a planet is unbreathable, the death toll is tripled.

Dome facilities are available in small, medium and large sizes; these domes add between 10 and 300 housing units, and make the contained population completely immune to planetary conditions.
Available city facilities add much more housing space per kt, but provide no protection from conditions.


Back to top
Sunnendei_Tinco
Space Emperor


Joined: Oct 20, 2006
Location: Calgary, Alberta, Canada

PostPosted: Sun Mar 30, 2008 4:34 pm    Post subject: Reply with quote

Will you be adding this code to your scripting toolkit SJ?

Back to top
SuicideJunkie
Leaky Guru


Joined: May 28, 2005
Location: Canada!

PostPosted: Sun Mar 30, 2008 5:36 pm    Post subject: Reply with quote

I'll have to do some work before it is ready for that.

At the moment, I've hardcoded all the facility IDs -> effects in the script, and I'll have to convert that to a couple of longlists first.

Of course, anybody who is willing to brave the psychological hazards of lightly commented SE5 script is free to duplicate it.
Though, as Xintis on #spaceempires would say "You'd be better off summoning Cthulhu!"


Back to top
Sunnendei_Tinco
Space Emperor


Joined: Oct 20, 2006
Location: Calgary, Alberta, Canada

PostPosted: Mon Mar 31, 2008 5:34 am    Post subject: Reply with quote

Hmmmmm, maybe I should get the rest of the UofC Campus Crusade for Cthulhu to lend a hand... might not be able to summon the devourer, but I'm sure some of them have a WAY better ability to script than myself.

edit: Scratch that, most of them are English majors Wink


Back to top
Shektho
Space Emperor


Joined: Aug 05, 2006

PostPosted: Mon Mar 31, 2008 10:33 pm    Post subject: Reply with quote

Thats really cool! I'd like to check it out but I've been afraid of under-commented code since my programming classes in high school (my lab partner NEVER used comments! Shocked ).

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Spaceempires.net Forum Index -> Gritty Galaxy All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
All logos and trademarks used on this site, all comments and stories posted for reading, all files hosted for download,
and all art work hosted for viewing are property of their respective owners; all the rest copyright 2003-2010 Nolan Kelly.
Syndicate news: SpaceEmpires.net News RSS Feed - Syndicate forums: SpaceEmpires.net Forums RSS Feed
Page Generation: 0.13 Seconds