Prev Previous Post   Next Post Next
Lt. Commander
Join Date: Dec 2007
Posts: 120
# 1 "Get Random number"
11-09-2010, 10:33 PM
I wanted to make a daily transport mission that players could undertake. Deliver cargo from point A to point B. However, I wanted to mix it up a bit. The player would get to select what they transported. Medical supplies, colonists, even high-ranking officials.

Let's say the player opted to transport medical supplies. All well and good. The player takes the medical supplies to the desired system AND....

This is where I want to program the mission to select a random number between 1 and 4.

If the number is...

1 - Upon arriving in the system, the player's ship is met by the U.S.S. Barnard (medical ship). Player is invited to beam over and socialize with the captain, where they can purchase Large Hypos and or regenerators.

2 - Upon arriving in the system, the player establishes orbit and simply beams the supplies down to the colony and is thanked for the trouble.

3 - Upon arriving in the system, the player is informed that a sample of biomimetic gel has been stolen from sickbay. An investigation ensues, leading to one of the player's crewmen who was simply trying to get rich quickly.

4 - Upon arriving in the system, the player is met by a freighter claiming to be the medical ship. Player obviously does not beam the cargo over and a space battle ensues, with three cloaked Klingon birds-of-prey. If the player does, then the frieghter scrambles the player's sensors and warps out of the system and masks their trail. (Mission failure.)

You get the idea. I want to have the abilitiy to create multiple mission paths. Yes yes yes, this will be a pain for mission evaluators as they will have to play through every possible mission scenario, but as a player wouldn't it rock to play the same basic mission but have the circumstances be completely different most of the time?

My question: Will it be possible to create these multiple possibilities with a randomizer? I.E. Get random number between 1-4.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


All times are GMT -7. The time now is 07:14 PM.