~ubuntu-branches/ubuntu/natty/spring/natty

« back to all changes in this revision

Viewing changes to installer/builddata/springcontent/EngineOptions.lua

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-09-23 18:56:03 UTC
  • mfrom: (3.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100923185603-st97s5chplo42y7w
Tags: 0.82.5.1+dfsg1-1ubuntu1
* Latest upstream version for online play
* debian/control: Replace (rather than conflict) spring-engine
  - spring-engine will be a dummy package (LP: #612905)
  - also set maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
--
4
 
--
5
 
--
6
 
 
7
 
--------------------------------------------------------------------------------
8
 
--------------------------------------------------------------------------------
9
 
--
10
 
--
11
 
 
12
 
local options =
13
 
{
14
 
  {
15
 
    key    = 'GameMode',
16
 
    name   = 'Game end condition',
17
 
    desc   = 'Determines what condition triggers the defeat of a player',
18
 
    type   = 'list',
19
 
    def    = '0',
20
 
    items  =
21
 
    {
22
 
      {
23
 
        key  = '0',
24
 
        name = 'Kill everything',
25
 
        desc = 'The player will lose only after all units of the player will be killed',
26
 
      },
27
 
      {
28
 
        key  = '1',
29
 
        name = 'Commander ends',
30
 
        desc = 'The player will lose when his commander will be dead',
31
 
      },
32
 
      {
33
 
        key  = '2',
34
 
        name = 'Commander lineage ends',
35
 
        desc = 'This is a stricter form of commander ends\nevery unit will inherit the lineage from the player whom built it\neven if shared, when the commander dies the unit will still die',
36
 
      },
37
 
      {
38
 
        key  = '3',
39
 
        name = 'Infinite',
40
 
        desc = 'Game will never end',
41
 
      },
42
 
    },
43
 
  },
44
 
 
45
 
  {
46
 
    key    = 'StartingResources',
47
 
    name   = 'Starting Resources',
48
 
    desc   = 'Sets storage and amount of resources that players will start with',
49
 
    type   = 'section',
50
 
  },
51
 
 
52
 
  {
53
 
    key    = 'StartMetal',
54
 
    name   = 'Starting metal',
55
 
    desc   = 'Determines amount of metal and metal storage that each player will start with',
56
 
    type   = 'number',
57
 
    section= 'StartingResources',
58
 
    def    = 1000,
59
 
    min    = 0,
60
 
    max    = 10000,
61
 
    step   = 1,  -- quantization is aligned to the def value
62
 
                    -- (step <= 0) means that there is no quantization
63
 
  },
64
 
  {
65
 
   key    = 'StartMetal',
66
 
   scope  = 'team',
67
 
   name   = 'Team Starting metal',
68
 
   desc   = 'Determines amount of metal and metal storage this team will start with',
69
 
   type   = 'number',
70
 
   section= 'StartingResources',
71
 
   def    = 1000,
72
 
   min    = 0,
73
 
   max    = 10000,
74
 
   step   = 1,  -- quantization is aligned to the def value
75
 
   -- (step <= 0) means that there is no quantization
76
 
  },
77
 
  {
78
 
    key    = 'StartEnergy',
79
 
    name   = 'Starting energy',
80
 
    desc   = 'Determines amount of energy and energy storage that each player will start with',
81
 
    type   = 'number',
82
 
    section= 'StartingResources',
83
 
    def    = 1000,
84
 
    min    = 0,
85
 
    max    = 10000,
86
 
    step   = 1,  -- quantization is aligned to the def value
87
 
                    -- (step <= 0) means that there is no quantization
88
 
  },
89
 
  {
90
 
   key    = 'StartEnergy',
91
 
   scope  = 'team',
92
 
   name   = 'Team Starting energy',
93
 
   desc   = 'Determines amount of energy and energy storage that this team will start with',
94
 
   type   = 'number',
95
 
   section= 'StartingResources',
96
 
   def    = 1000,
97
 
   min    = 0,
98
 
   max    = 10000,
99
 
   step   = 1,  -- quantization is aligned to the def value
100
 
   -- (step <= 0) means that there is no quantization
101
 
  },
102
 
 
103
 
  {
104
 
    key    = 'MaxUnits',
105
 
    name   = 'Max units',
106
 
    desc   = 'Maximum number of units (including buildings) for each team allowed at the same time',
107
 
    type   = 'number',
108
 
    def    = 500,
109
 
    min    = 1,
110
 
    max    = 10000, --- engine caps at lower limit if more than 3 team are ingame
111
 
    step   = 1,  -- quantization is aligned to the def value
112
 
                    -- (step <= 0) means that there is no quantization
113
 
  },
114
 
 
115
 
  {
116
 
    key    = 'LimitDgun',
117
 
    name   = 'Limit D-Gun range',
118
 
    desc   = "The commander's D-Gun weapon will be usable only close to the player's starting location",
119
 
    type   = 'bool',
120
 
    def    = false,
121
 
  },
122
 
 
123
 
  {
124
 
    key    = 'GhostedBuildings',
125
 
    name   = 'Ghosted buildings',
126
 
    desc   = "Once an enemy building will be spotted\na ghost trail will be placed to memorize location even after the loss of the line of sight",
127
 
    type   = 'bool',
128
 
    def    = true,
129
 
  },
130
 
  {
131
 
    key    = 'DiminishingMMs',
132
 
    name   = 'Diminishing metal makers efficiency',
133
 
    desc   = "Everytime a new metal maker will be built, the energy/metal efficiency ratio will decrease",
134
 
    type   = 'bool',
135
 
    def    = false,
136
 
  },
137
 
 
138
 
  {
139
 
    key    = 'FixedAllies',
140
 
    name   = 'Fixed ingame alliances',
141
 
    desc   = 'Disables the possibility of players to dynamically change alliances ingame',
142
 
    type   = 'bool',
143
 
    def    = false,
144
 
  },
145
 
 
146
 
  {
147
 
    key    = 'LimitSpeed',
148
 
    name   = 'Speed Restriction',
149
 
    desc   = 'Limits maximum and minimum speed that the players will be allowed to change to',
150
 
    type   = 'section',
151
 
  },
152
 
 
153
 
  {
154
 
    key    = 'MaxSpeed',
155
 
    name   = 'Maximum game speed',
156
 
    desc   = 'Sets the maximum speed that the players will be allowed to change to',
157
 
    type   = 'number',
158
 
    section= 'LimitSpeed',
159
 
    def    = 3,
160
 
    min    = 0.1,
161
 
    max    = 100,
162
 
    step   = 0.1,  -- quantization is aligned to the def value
163
 
                    -- (step <= 0) means that there is no quantization
164
 
  },
165
 
 
166
 
  {
167
 
    key    = 'MinSpeed',
168
 
    name   = 'Minimum game speed',
169
 
    desc   = 'Sets the minimum speed that the players will be allowed to change to',
170
 
    type   = 'number',
171
 
    section= 'LimitSpeed',
172
 
    def    = 0.3,
173
 
    min    = 0.1,
174
 
    max    = 100,
175
 
    step   = 0.1,  -- quantization is aligned to the def value
176
 
                    -- (step <= 0) means that there is no quantization
177
 
  },
178
 
 
179
 
  {
180
 
    key    = 'DisableMapDamage',
181
 
    name   = 'Undeformable map',
182
 
    desc   = 'Prevents the map shape from being changed by weapons',
183
 
    type   = 'bool',
184
 
    def    = false,
185
 
  },
186
 
--[[
187
 
 
188
 
  {
189
 
    key    = 'LuaGaia',
190
 
    name   = 'Enables gaia',
191
 
    desc   = 'Enables gaia player',
192
 
    type   = 'bool',
193
 
    def    = true,
194
 
  },
195
 
 
196
 
  {
197
 
    key    = 'NoHelperAIs',
198
 
    name   = 'Disable helper AIs',
199
 
    desc   = 'Disables luaui and group ai usage for all players',
200
 
    type   = 'bool',
201
 
    def    = false,
202
 
  },
203
 
 
204
 
  {
205
 
    key    = 'LuaRules',
206
 
    name   = 'Enable LuaRules',
207
 
    desc   = 'Enable mod usage of LuaRules',
208
 
    type   = 'bool',
209
 
    def    = true,
210
 
  },
211
 
 
212
 
  {
213
 
    key    = 'ScriptName',
214
 
    name   = 'Start Script',
215
 
    desc   = 'Changes game behaviour and/or starting conditions',
216
 
    type   = 'list',
217
 
    def    = 'Commanders',
218
 
    items  = {
219
 
      {
220
 
        key  = 'Air combat test',
221
 
        name = 'Air Combat Test',
222
 
        desc = 'Loads some planes on start.',
223
 
      },
224
 
      {
225
 
        key  = 'Commanders',
226
 
        name = 'Commanders',
227
 
        desc = 'Each player gets a command unit.',
228
 
      },
229
 
      {
230
 
        key  = 'Cmds 1000 res',
231
 
        name = 'Commanders + 1000 res',
232
 
        desc = 'Each player gets a commander and 1000 units of metal and energy.',
233
 
      },
234
 
      {
235
 
        key  = 'EmptyScript',
236
 
        name = 'Empty Script',
237
 
        desc = 'Do nothing special on game start.',
238
 
      },
239
 
      {
240
 
        key  = 'Random enemies',
241
 
        name = 'Random Enemies',
242
 
        desc = 'Spawns random enemies',
243
 
      },
244
 
      {
245
 
        key  = 'Random enemies 2',
246
 
        name = 'Random Enemies (Autonomous)',
247
 
        desc = 'Spawns random enemies',
248
 
      },
249
 
    },
250
 
  },
251
 
--]]
252
 
 
253
 
}
254
 
return options