Outpost Universe Forums

Projects & Development => Outpost 2 Programming & Development => Topic started by: Sirbomber on January 06, 2006, 08:39:38 PM

Title: Base Variations
Post by: Sirbomber 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.
Title: Base Variations
Post by: Eddy-B 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
}
Title: Base Variations
Post by: Sirbomber on January 07, 2006, 07:37:20 AM
Great, now I have to slap myself...
It's always something simple...
Title: Base Variations
Post by: Eddy-B 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!