1 |
1 --[[ |
2 ------------------------------------------ |
2 RACER |
3 -- RACER 0.8 |
3 map-independant racing script |
4 -- map-independant racing script |
4 originally by mikade, edited heavily by others |
5 -- by mikade |
5 |
6 ----------------------------------------- |
6 ----------------------------------------- |
7 |
7 Script parameters: |
8 -- DEVELOPER WARNING - FOR OFFICIAL DEVELOPMENT -- |
8 rounds=N |
9 -- Be careful when editig this script, do not introduce changes lightly! |
9 --> The game will be played with N rounds (default: 3) |
10 -- This script is used for time records on the official Hedgewars server. |
10 |
11 -- Introducing breaking changes means we have to invalidate past time records! |
11 waypointradius=N |
12 |
12 --> The waypoints have a radius of N pixels (default: 450) |
13 ----------------------------------- |
13 |
14 --0.1: took all the code from crazy racer and scrapped most of it |
14 maxwaypoints=N |
15 ----------------------------------- |
15 --> The maximum number of waypoints to be placed (default: 8) |
16 |
16 |
17 -- Removed tumbler system |
17 teamrope=true |
18 -- Removed extra adds like boosters etc |
18 --> The team will be colored in the color of the team. |
19 -- Added experimental waypoint placement system |
19 ----------------------------------------- |
20 -- More user feedback |
20 |
21 -- Reduced race complexity limit to 5 waypoints |
21 DEVELOPER WARNING - FOR OFFICIAL DEVELOPMENT -- |
22 -- stop placement at complexity limit reached and end turn |
22 Be careful when editig this script, do not introduce changes lightly! |
23 -- guys dont keep racing after dying |
23 This script is used for time records on the official Hedgewars server. |
24 -- invulnerable feasibility |
24 Introducing breaking changes means we have to invalidate past time records! |
25 -- reverted time keeping method |
25 |
26 -- reduced feedback display time |
26 ]] |
27 -- colour-coded addcaptions |
|
28 -- cleaned up code |
|
29 -- support for more players properly added |
|
30 -- tardis fix |
|
31 -- remove airstrikes |
|
32 |
|
33 -- i think the remainder 0 .456 sec of the tracktime isnt getting reset on newturn |
|
34 |
|
35 -- update feedback |
|
36 |
|
37 ------- |
|
38 -- 0.2 |
|
39 ------- |
|
40 |
|
41 -- allow gameflags |
|
42 -- extend time to 90s |
|
43 -- remove other air-attack based weps |
|
44 -- turn off water rise for sd |
|
45 |
|
46 ------- |
|
47 -- 0.3 |
|
48 ------- |
|
49 |
|
50 -- prevent WP being placed in land |
|
51 -- prevent waypoints being placed outside border |
|
52 |
|
53 ------- |
|
54 -- 0.4 |
|
55 ------- |
|
56 |
|
57 -- update user feedback |
|
58 -- add more sounds |
|
59 |
|
60 ------- |
|
61 -- 0.5 |
|
62 ------- |
|
63 |
|
64 -- fix ghost disappearing if hog falls in water or somehow dies |
|
65 -- lengthen ghost tracking interval to improve performance on slower machines |
|
66 -- increase waypoint limit to 8 |
|
67 -- allow for persistent showmission information |
|
68 |
|
69 ------- |
|
70 -- 0.6 |
|
71 ------- |
|
72 |
|
73 -- remove hogs from racing area as per request |
|
74 |
|
75 ------- |
|
76 -- 0.7 |
|
77 ------- |
|
78 |
|
79 -- switch to first available weapon if starting race with no weapon selected |
|
80 |
|
81 ------- |
|
82 -- 0.8 |
|
83 ------- |
|
84 -- allow different boost directions |
|
85 |
27 |
86 ----------------------------- |
28 ----------------------------- |
87 -- SCRIPT BEGINS |
29 -- SCRIPT BEGINS |
88 ----------------------------- |
30 ----------------------------- |
89 |
31 |