|
This page shows off some screen shots of the Sundog Resurrection market
engine that was designed by myself and developed and coded by
CrazyWeazel.
The stock market engine
in our remake of Sundog is
a beautiful thing, since it is designed to operate independent of any
heavy-handed scripting or manipulation by the game developer. Once
the market is dropped under the game's hood, the in-game GUI will feed
right off it. It is a VERY dynamic market system that runs completely
by itself, keying off of 14 variables that affect market prices (as
opposed to the original Sundog's 3 variables and some forced
manual-coding), which creates very real-world market reactions and
price fluctuations. Such variables are crime, wealth, planet
fertility, temperature, political instability, and population, just to
name a few. There are 40 stocks to play with (basically all the
original stocks plus a few extras).
The engine first looks to
see if you can either buy or sell from the stock market in question.
This is determined by a set of tests that look at the individual stock
and then at the variables mentioned above. For instance, if you have
Grains/Cereals and you were attempting to sell them on planet Heavy in
the Jondd system (which is a agricultural heavy society) the market
engine would not allow it since Heavy is saturated with grains and
cereals already. BUT you could buy that stock from them. Once the
determination has been made that you can buy or sell from that stock
exchange, the engine then looks to determine the price. It performs
some math (again using the variables) then multiplies the resulting
figure by a base price for that stock. This allows variables such as
large populations to increase the price of a stock (greater demand,
such as on Glory I and Glory II)
and allows others to decrease the price (for instance, the level of
trade, which is your competition and saturates the market to lower the
price). Planets with extreme variables such as Enlie and high
crime rates like Woremed will also impact the prices. Local city
variables are also taken into account, such as Drahew.
As of the moment, there is
no Java or Python engine to release, since the market is still undergoing
testing and database work. Once testing is complete, we'll transfer
the existing engine architecture to Python, since the equations and
tests that I am testing on at the moment will work the same Python. When
I say 'testing', I mean that I am testing the market under various
conditions by tweaking data in a companion database, and looking for
undesirable price fluctuations. Any “undesirable” fluctuations and
prices are not necessarily bad, since the market is merely performing
as it should, but I am trying to adjust the variables and stock
equations so that the player finds a market somewhat comparable to the
original game, at least for the first part of the game. Once the
player leaves the original systems and gets access to the massive full
galaxy in Sundog Resurrection, they can exploit any high/low prices
they find, but for the first part of the game, located in the original
systems, I want the market to work pretty much as it did in the
original. |
|