File: HOWTOPLAY.html

package info (click to toggle)
attal 1.0~rc2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 4,348 kB
  • ctags: 7,428
  • sloc: cpp: 55,101; sh: 267; ansic: 100; makefile: 54
file content (378 lines) | stat: -rw-r--r-- 16,160 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4  (Linux)">
	<META NAME="CREATED" CONTENT="20041107;10305700">
	<META NAME="CHANGED" CONTENT="20080522;23314900">
	<STYLE TYPE="text/css">
	<!--
		@page { size: 21cm 29.7cm }
		H2.western { font-family: "Albany", sans-serif; font-size: 14pt; font-style: italic }
		H2.cjk { font-family: "HG Mincho Light J"; font-size: 14pt; font-style: italic }
		H2.ctl { font-family: "Arial Unicode MS"; font-size: 14pt; font-style: italic }
		H3.western { font-family: "Albany", sans-serif }
		H3.cjk { font-family: "HG Mincho Light J" }
		H3.ctl { font-family: "Arial Unicode MS" }
		H4.western { font-family: "Albany", sans-serif; font-size: 11pt; font-style: italic }
		H4.cjk { font-family: "HG Mincho Light J"; font-size: 11pt; font-style: italic }
		H4.ctl { font-family: "Arial Unicode MS"; font-size: 11pt; font-style: italic }
	-->
	</STYLE>
</HEAD>
<BODY LANG="fr-FR" DIR="LTR">
<P>The goal of this file is to explain how to play with Attal!</P>
<H2 CLASS="western">Summary</H2>
<P><A HREF="#chI"><B>I - Getting Started</B></A> 
</P>
<OL>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chI1">Installation</A> 
	</P>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chI2">Launching the game</A>
		</P>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chI3">Start a game</A> 
	</P>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chI4">Connecting players
	(multiplayer)</A> 
	</P>
	<LI><P><A HREF="#chI5">Choose a scenario</A> 
	</P>
</OL>
<P><A HREF="#chII"><B>II - Playing</B> </A>
</P>
<OL>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chII1">Generalities</A> 
	</P>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chII2">Turn by turn game</A>
		</P>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chII3">Managing lords</A>
		</P>
	<LI><P><A HREF="#chII4">Managing bases</A></P>
	<LI><P><A HREF="#chII5">Economic</A> 
	</P>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chII6">Fight mode</A> 
	</P>
	<LI><P><A HREF="#chII7">End of game</A> 
	</P>
</OL>
<P><A HREF="#chIII"><B>III - Editors</B> </A>
</P>
<OL>
	<LI><P STYLE="margin-bottom: 0cm"><A HREF="#chIII1">Scenario Editor</A>
		</P>
	<LI><P><A HREF="#chIII2">Theme Editor</A> 
	</P>
</OL>
<P STYLE="margin-bottom: 0cm"><A HREF="#chIII"><B>IV - Server</B> </A>
</P>
<HR>
<P><BR><BR>
</P>
<H3 CLASS="western"><A NAME="chI"></A>I - Getting Started</H3>
<H4 CLASS="western"><A NAME="chI1"></A>1) Installation</H4>
<P>First, install the game (read INSTALL for any question) You can
use the installer in windows or use the binary data package on linux.
Some distributions like ubuntu have an attal package available.</P>
<H4 CLASS="western"><A NAME="chI2"></A>2) Launching the game</H4>
<P>Start the executables:<BR>You can launch : 
</P>
<UL>
	<LI><P>Start simply the client:<BR>Linux: 
	</P>
	<BLOCKQUOTE>$ ./attal-client &amp;</BLOCKQUOTE>
	<P>Windows: 
	</P>
	<BLOCKQUOTE>attal-client</BLOCKQUOTE>
	<P>If you want to start a multiplayer server game, start the server,
	the ai-client is started only for debugging purposes</P>
	<LI><P>the server: 
	</P>
	<BLOCKQUOTE>$ ./attal-server &amp;</BLOCKQUOTE>
	<LI><P>the ai-client: 
	</P>
	<BLOCKQUOTE>$ ./attal-ai &amp;</BLOCKQUOTE>
</UL>
<P STYLE="margin-bottom: 0cm">IMPORTANT NOTE: all the executables
need to find the theme (medieval theme for the moment) and so the
folder 'themes', which have to contain the 'medieval' theme, is found
if is:</P>
<UL>
	<LI><P STYLE="margin-bottom: 0cm">present in the current directory
	(where there are the binaries) only if you play in local directory 
	</P>
</UL>
<UL>
	<LI><P STYLE="margin-bottom: 0cm">can be set with --themepath switch
	at command line 
	</P>
</UL>
<UL>
	<LI><P>can be set with environment variable ATTAL_THEME_PATH<BR>Using
	make install these steps are not necessary if the game is installed
	( make install ).</P>
</UL>
<H4 CLASS="western"><A NAME="chI3"></A>3) Start a game</H4>
<P>For linux only:<BR>If you have some problems to find libraries set
the environment variable LD_LIBRARY_PATH to local directory like
this: 
</P>
<BLOCKQUOTE>export LD_LIBRARY_PATH=.</BLOCKQUOTE>
<P STYLE="margin-bottom: 0cm">If you want to play a scenario press
startGame on file menu in client.<BR>It appear the Start Game widget.</P>
<UL>
	<LI><P STYLE="margin-bottom: 0cm">To start a new game, simply press
	Start Scenario and choose a predefined scenario. 
	</P>
</UL>
<UL>
	<LI><P STYLE="margin-bottom: 0cm">To start a saved game, press Load
	Scenario 
	</P>
</UL>
<UL>
	<LI><P STYLE="margin-bottom: 0cm">To start a campaign press Start
	Campaign 
	</P>
</UL>
<UL>
	<LI><P>To load a campaign press Load Campaign <BR>It is also
	possible to start the server from client (Fast Server action in menu
	file in attal-client) and to fill the others players of scenario
	with ai (action Fill with Ai in menu Game in attal-server), this old
	behavior is present for debugging purposes.<BR>An internal Ai now
	autostart to fill lacking players at the start of game. 
	</P>
</UL>
<H4 CLASS="western"><A NAME="chI4"></A>4) Connecting players
(multiplayer)</H4>
<P>Connect your clients to the server: attal-client have a menu with
a 'connect' item (or use CTRL+C as shortcut).<BR>It requests you to
set the IP address of the server (if you are playing in local, you
don't have to change anything).<BR><BR>Each player connected is shown
on the server interface. 
</P>
<H4 CLASS="western"><A NAME="chI5"></A>5) Choose a scenario
(multiplayer)</H4>
<P>Choose a scenario in the server:<BR>By default, you have 2 demo
scenarios directly available from the server interface but you can
choose another one (the demo scenarios are not really
exciting!).<BR>Default scenarii are available in
/themes/medieval/scenarii<BR>You could find some new scenarii on our
website (<A HREF="http://www.attal-thegame.org/">www.attal-thegame.org</A>
in the section 'd/l scenarii'). Of course, you can edit your own
scenarii with the scenario editor provided with Attal. 
</P>
<P>Now click on 'Start' button in the server to launch the game. Each
player has to play at his turn.</P>
<P><A NAME="chII"></A><FONT SIZE=4 STYLE="font-size: 16pt">II -
Playing</FONT></P>
<H4 CLASS="western"><A NAME="chII1"></A>1) Menus</H4>
<P>In adventure mode, you manage your lords and bases. The interface
is composed by: 
</P>
<UL>
	<LI><P STYLE="margin-bottom: 0cm">menus, for global actions: 
	</P>
	<UL>
		<LI><P STYLE="margin-bottom: 0cm">File menu:</P>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm">Start Game: start the game</P>
			<LI><P STYLE="margin-bottom: 0cm">Save Game: save game (only if is
			a local game)</P>
			<LI><P STYLE="margin-bottom: 0cm">End Game: end the game ( only if
			is a local game )</P>
			<LI><P STYLE="margin-bottom: 0cm">Connect to Server: connect to a
			remote server: you can choose the IP of server and the game that
			will appear in chat. Note: the name that you choose to connect
			will be saved for future connections.</P>
			<LI><P STYLE="margin-bottom: 0cm">Fast Server: old feature, is a
			method to start a multiplayer game in a faster way, starting the
			server interface from client.</P>
			<LI><P STYLE="margin-bottom: 0cm">Disconnect: disconnect to server</P>
			<LI><P STYLE="margin-bottom: 0cm">Quit: quit the game</P>
		</UL>
		<LI><P STYLE="margin-bottom: 0cm">Game menu:</P>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm">Minimap: hide/show minimap</P>
			<LI><P STYLE="margin-bottom: 0cm">Fullscreen: hide/show chat,
			minimap e some info to make space for map.</P>
			<LI><P STYLE="margin-bottom: 0cm">Enable music: enable/disable
			music</P>
			<LI><P STYLE="margin-bottom: 0cm">Enable sound: enable/disable
			sound</P>
			<LI><P STYLE="margin-bottom: 0cm">Scenario Informations: show
			scenario objectives 
			</P>
		</UL>
	</UL>
	<LI><P STYLE="margin-bottom: 0cm">Screen menu:</P>
	<UL>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm">Force some game resolutions:
			free size, 800x600 , 1024x768, 1280x1024</P>
		</UL>
		<LI><P STYLE="margin-bottom: 0cm">Help menu:</P>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm">Help: this document</P>
			<LI><P STYLE="margin-bottom: 0cm">About: some informations about
			the game</P>
		</UL>
	</UL>
	<LI><P STYLE="margin-bottom: 0cm">main view, which displays the map
	(adventure mode) 
	</P>
	<LI><P STYLE="margin-bottom: 0cm">chat window, for talking with
	other players and also see some message from server 
	</P>
	<LI><P STYLE="margin-bottom: 0cm">Mini-map where you can see the
	whole map (click on it for centering the main view where you want) 
	</P>
</UL>
<P>To move the lord on map you have to select lord in the list at the
right and press the destination cell: if a cell is marked with a
green X the cell is reachable in one turn, otherwise you have to pass
turn and wait. 
</P>
<UL>
	<LI><P>Pressing on bonus ( resource miniatures ) give you some help.</P>
	<LI><P>Pressing on creature can be dangerous: they have different
	behavior: they can fight or offer to join you. 
	</P>
	<LI><P>Pressing on buildings you own the building that will add more
	resource or population. 
	</P>
	<LI><P>Pressing on bases : 
	</P>
	<UL>
		<LI><P>if you own the base, you simply enter</P>
		<LI><P>if is not owned by you enter in the base and add the base to
		your reign</P>
		<LI><P>if is owned by an enemy and an enemy lord is present, you
		will have to fight and win before enter.</P>
	</UL>
</UL>
<H4 CLASS="western"><A NAME="chII2"></A>2) Turn-by-turn game</H4>
<P>Attal is a turn by turn game, so you play only when it is your
turn to. There is no time limitation for the moment. Only some
scenario could require it. When it is not your turn to play, you can
only chat with other player or, if you are attacked by another
player, defend yourself (in fight mode). 
</P>
<H4 CLASS="western"><A NAME="chII3"></A>3) Managing lords</H4>
<P>You can select a lord through the list of lords or on clicking on
it in the main view. Then you can make it move in clicking elsewhere
on the map (you will see first a path on the ground and if you click
again the lord will move).<BR>If you click twice on a lord (on the
map or in the list), you can see the characteristics of the lord (and
change his artefacts, <SPAN STYLE="text-decoration: none">his
</SPAN>units...).<BR>If two 'friend' lords encounter, you can do some
exchange between them (units, artefacts...) but if they are opponent,
they fight! (see (<A HREF="#chII6">6 - Fight mode</A>)) 
</P>
<H4 CLASS="western"><A NAME="chII4"></A>4) Managing bases</H4>
<P>You can select a base through the list of bases or on clicking on
it in the main view. If you click twice on a base (on the map or in
the list), you can see the inside of the base and act inside (add new
buildings, buy units, trade in the market).</P>
<P>You have some different building actions implemented:</P>
<UL>
	<LI><P STYLE="margin-bottom: 0.1cm">Main building: you can buy other
	buildings</P>
	<LI><P STYLE="margin-bottom: 0.1cm">Market: where you can trade your
	resources</P>
	<LI><P STYLE="margin-bottom: 0.1cm">Tavern: buy lords</P>
	<LI><P STYLE="margin-bottom: 0.1cm">Castle: a complete list of all
	units available</P>
	<LI><P STYLE="margin-bottom: 0.1cm">Various building where you can
	buy units</P>
</UL>
<P STYLE="margin-bottom: 0.1cm; background: transparent"><BR><BR>
</P>
<P STYLE="margin-bottom: 0.1cm; background: transparent">New units
are produced every monday (but it will be customizable), replacing
old units available.<BR>When you buy an unit, it will be placed on
the unit window (click on lord face (or no lord face) to activate
this window). 
</P>
<P STYLE="margin-bottom: 0.1cm; background: transparent">They are two
lord status in a base: visitor and garrison: it is possible to have
two lords in a base, one garrison and another visitor: it is possible
to defend a base only if a garrison lord is present, otherwise all
units produced are lost.</P>
<P>To set a lord garrison is necessary to place lord face on the base
name in unit window.</P>
<P><A NAME="chII5"></A><B>5) Economic</B></P>
<P STYLE="margin-bottom: 0cm; background: transparent">The economic
part in Attal is quite complex: you have to manage bases, buildings,
lord and units. All internals buildings and units can have a
maintenance cost that is paid every week.<BR>The external building
can produce a fixed number of resource or one random number between
two ranges, zero and the coeff of ressource.</P>
<P STYLE="margin-bottom: 0cm; background: transparent">The external
buildings can give other bonus or increment your population.<BR>Every
base have a population: the population growth every week by a ratio
that based on base type. Every base lose population every time the
base change owner by a percentage value based on base type.<BR>The
money (gold) give by to you is equal to your total population plus
the money earned by some particular buildings like gold mines, so
take care to defend the most populated bases. Every base can have a
market and these prices depend on type of base, so different players
have different strategies about resources.<BR>The prices of resources
depend on type of base you own: you pay the best prices for resources
if you own bases of different races.<BR>All these proprieties are
theme-dependant, so you can see that in theme-editor. 
</P>
<H4 CLASS="western"><A NAME="chII6"></A>6) Fight mode</H4>
<P>When two opponent lords encounter, or if a lord attacks a creature
stack on the map, the game enter in fight mode. It is a turn-by-turn
fight, where you can move each lord's units on the ground.</P>
<P>To hit a unit you have to click on enemy unit ( not enemy cell )
and it appear a cursor with an hand-form. A forbidden cursor mean
that is not possible to perform an action on this cell.<BR>A current
unit is automatically selected and has to be played. When the player
who owns it has finished (make it move, or fight a neighbor unit...)
the next unit is selected and so on.. The fight have an end when a
lord lose all his units or when he flees. Then, the winner gain some
experience and the game returns in adventure mode, as usual. 
</P>
<P>In fight mode they are some buttons on bottom left of interface:
the feature currently implemented are flee ( the lord lose the fight
), wait ( pass unit turn ) and option.</P>
<P>In option dialog you can set three params: see/hide cells,
animation active/not active, animations speed.</P>
<H4 CLASS="western"><A NAME="chII7"></A>7) End of the game</H4>
<P>If a player complete a quest or defeat all enemies he win. If a
player don't complete the quest ( ex: time exhausted ) or lose all
its lords and bases, he has lost the game. 
</P>
<H3 CLASS="western"><A NAME="chIII"></A><FONT SIZE=4 STYLE="font-size: 16pt">III
- Editors</FONT></H3>
<H4 CLASS="western"><A NAME="chIII1"></A>1) Scenario Editor</H4>
<P>ScenarioEditor is used to write or edit maps: you can create a map
based on various elements.</P>
<P>You can load a map ( a scenario .scn extension or a saved map .gam
extension ) and modify the map, the resources, the lords, etc.</P>
<P>( TODO)</P>
<H4 CLASS="western"><A NAME="chIII2"></A>2) Theme Editor</H4>
<P>Attal is a themeable game: you can customize most part of the
game: you can change parameters and even properties of single
building.</P>
<P>ThemeEditor also allow you to write new themes: now the default
theme is the medieval one.</P>
<P STYLE="margin-bottom: 0cm">This editor allow you to have a
panoramic view on all the characteristics of themes.</P>
<P>(TODO)</P>
<H3 CLASS="western"><A NAME="chIII3"></A><FONT SIZE=4 STYLE="font-size: 16pt">IV
– Server</FONT></H3>
<P><FONT SIZE=3>Server can be managed in client chat window</FONT></P>
<P><FONT SIZE=3>Server commands:</FONT></P>
<P><FONT SIZE=3>/gameinfo : informations about the game</FONT></P>
<P><FONT SIZE=3>/gamelist : list players of a game</FONT></P>
<P><FONT SIZE=3>/list : list players connected to a server</FONT></P>
<P><FONT SIZE=3>/kick &lt;player&gt; : kick a player</FONT></P>
<P><FONT SIZE=3>/version : show server version</FONT></P>
<P><BR><BR>
</P>
</BODY>
</HTML>