Author Topic: Base Variations  (Read 1672 times)

Offline Sirbomber

  • Hero Member
  • *****
  • Posts: 3238
Base Variations
« on: January 06, 2006, 08:39:38 PM »
I've been trying to figure this out, but I usually get a long list of errors, and here I am. I'll skip the whole speech and get to the problem/question/doohickey.

How do I make bases different based on difficulty level? So if somebody is set to hard/low res their base/vecs/mine sites/etc is/are different from somebody on easy/high res.
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star

Outpost 2 Coding 101 Tutorials

Offline Eddy-B

  • Hero Member
  • *****
  • Posts: 1186
    • http://www.eddy-b.com
Base Variations
« Reply #1 on: January 07, 2006, 04:17:33 AM »
easy: use an if ... else  (or a switch) statement:

switch (Difficulty)
{
case 0:
...
break;

case 1:
...
break;

case 2:
...
break
}
Rule #1:  Eddy is always right
Rule #2: If you think he's wrong, see rule #1
--------------------

Outpost : Renegades - Eddy-B.com - Electronics Pit[/siz

Offline Sirbomber

  • Hero Member
  • *****
  • Posts: 3238
Base Variations
« Reply #2 on: January 07, 2006, 07:37:20 AM »
Great, now I have to slap myself...
It's always something simple...
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star

Outpost 2 Coding 101 Tutorials

Offline Eddy-B

  • Hero Member
  • *****
  • Posts: 1186
    • http://www.eddy-b.com
Base Variations
« Reply #3 on: January 07, 2006, 01:24:10 PM »
yeah, but did u make it work ?
i did not have enough time to give you a full response this morning.. had to go work. So if you need extra help, let me know!
Rule #1:  Eddy is always right
Rule #2: If you think he's wrong, see rule #1
--------------------

Outpost : Renegades - Eddy-B.com - Electronics Pit[/siz