1 |
Thanks for your answer. I created a mod as explained in >> [url=https://zero-k.info/mediawiki/index.php?title=Mod_Creation]this link[/url] <<.
|
1 |
Thanks for your answer. I created a mod as explained in >> [url=https://zero-k.info/mediawiki/index.php?title=Mod_Creation]this link[/url] <<.
|
2 |
\n
|
2 |
\n
|
3 |
For those of you who are interested in the process, here's a quick walkthrough:
|
3 |
For those of you who are interested in the process, here's a quick walkthrough:
|
4 |
\n
|
4 |
\n
|
5 |
Basically I downloaded the >> [url=https://zero-k.info/mediawiki/index.php?title=File:Zk.sdd.zip]zk.sdd example mod[/url] <<, then I put it in the "games" folder of the Zero-K.exe executable folder, I removed the "unit" folder, created a "gamedata" folder, downloaded the >> [url=https://github.com/ZeroK-RTS/Zero-K/blob/master/gamedata/modrules.lua#L98]modrules.lua[/url] file, and modified it as follows:
|
5 |
Basically I downloaded the >> [url=https://zero-k.info/mediawiki/index.php?title=File:Zk.sdd.zip]zk.sdd example mod[/url] <<, then I put it in the "games" folder of the Zero-K.exe executable folder, I removed the "unit" folder, created a "gamedata" folder, downloaded the >> [url=https://github.com/ZeroK-RTS/Zero-K/blob/master/gamedata/modrules.lua#L98]modrules.lua[/url] file, and modified it as follows:
|
6 |
\n
|
6 |
\n
|
7 |
From
|
7 |
From
|
8 |
[code]
|
8 |
[quote]
|
9 |
experience = {
|
9 |
experience = {
|
10 |
experienceMult = 0; -- defaults to 1.0
|
10 |
experienceMult = 0; -- defaults to 1.0
|
11 |
\n
|
11 |
\n
|
12 |
-- these are all used in the following form:
|
12 |
-- these are all used in the following form:
|
13 |
-- value = defValue * (1 + (scale * (exp / (exp + 1))))
|
13 |
-- value = defValue * (1 + (scale * (exp / (exp + 1))))
|
14 |
powerScale = 0; -- defaults to 1.0
|
14 |
powerScale = 0; -- defaults to 1.0
|
15 |
healthScale = 0; -- defaults to 0.7
|
15 |
healthScale = 0; -- defaults to 0.7
|
16 |
reloadScale = 0; -- defaults to 0.4
|
16 |
reloadScale = 0; -- defaults to 0.4
|
17 |
},
|
17 |
},
|
18 |
[/code]
|
18 |
[/quote]
|
19 |
To
|
19 |
To
|
20 |
[code]
|
20 |
[quote]
|
21 |
experience = {
|
21 |
experience = {
|
22 |
experienceMult = 0; -- defaults to 1.0
|
22 |
experienceMult = 0; -- defaults to 1.0
|
23 |
\n
|
23 |
\n
|
24 |
-- these are all used in the following form:
|
24 |
-- these are all used in the following form:
|
25 |
-- value = defValue * (1 + (scale * (exp / (exp + 1))))
|
25 |
-- value = defValue * (1 + (scale * (exp / (exp + 1))))
|
26 |
powerScale = 1.0; -- defaults to 1.0
|
26 |
powerScale = 1.0; -- defaults to 1.0
|
27 |
healthScale = 0.7; -- defaults to 0.7
|
27 |
healthScale = 0.7; -- defaults to 0.7
|
28 |
reloadScale = 0.4; -- defaults to 0.4
|
28 |
reloadScale = 0.4; -- defaults to 0.4
|
29 |
},
|
29 |
},
|
30 |
[/code]
|
30 |
[/quote]
|
31 |
\n
|
31 |
\n
|
32 |
Then, I opened Zero-K, opened the "Settings" page in the menu, opened the "Developer" submenu, found the "Singleplayer" line and selected "Zero-K Dev" at this line, and then I created a skirmish to test the modifications.
|
32 |
Then, I opened Zero-K, opened the "Settings" page in the menu, opened the "Developer" submenu, found the "Singleplayer" line and selected "Zero-K Dev" at this line, and then I created a skirmish to test the modifications.
|
33 |
\n
|
33 |
\n
|
34 |
And now my units get bonuses as they fight, so I'm satisfied :).
|
34 |
And now my units get bonuses as they fight, so I'm satisfied :).
|
35 |
\n
|
35 |
\n
|
36 |
Best regards.
|
36 |
Best regards.
|