Loading...
  OR  Zero-K Name:    Password:   

Post edit history

How to disable units?

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
12/14/2015 3:20:00 PMSkasi before revert after revert
12/14/2015 3:19:32 PMSkasi before revert after revert
12/14/2015 3:17:26 PMSkasi before revert after revert
12/14/2015 3:17:11 PMSkasi before revert after revert
12/14/2015 3:16:59 PMSkasi before revert after revert
12/14/2015 3:15:54 PMSkasi before revert after revert
Before After
1 [s]Searching for "disabled" has nothing, but[/s] (edit: duh now it has results, I guess searching is just bugged.. whatever!) 1 [s]Searching for "disabled" has nothing, but[/s] (edit: duh now it has results, I guess searching is just bugged.. whatever!)
2 \n 2 \n
3 [url=http://zero-k. info/Forum?CategoryID=&Search=disabledunits&OnlyUnread=false&User=&grorder=&grdesc=False&grpage=1]searching for "disabledunits"[/url] ( which is how the option is called) has two useful results: 3 [url=http://zero-k. info/Forum?CategoryID=&Search=disabledunits&OnlyUnread=false&User=&grorder=&grdesc=False&grpage=1]searching for "disabledunits"[/url] ( which is how the option is called) has two useful results ( edit: now three! \o/) :
4 \n 4 \n
5 [url=http://zero-k.info/Forum/Thread/9343]Disable Units/Striders?[/url] 5 [url=http://zero-k.info/Forum/Thread/9343]Disable Units/Striders?[/url]
6 [url=http://zero-k.info/Forum/Thread/20056]disable porc[/url] 6 [url=http://zero-k.info/Forum/Thread/20056]disable porc[/url]
7 \n 7 \n
8 Quoting @Anarchid 8 Quoting @Anarchid
9 [quote]An example would be: 9 [quote]An example would be:
10 \n 10 \n
11 !setoptions disabledunits=cafus+mahlazer+armorco[/quote] 11 !setoptions disabledunits=cafus+mahlazer+armorco[/quote]
12 To find the unit names: 12 To find the unit names:
13 [quote]option a) 13 [quote]option a)
14 1) go to https://github.com/ZeroK-RTS/Zero-K -> hit search -> type unit human name (e.g. Bandit) 14 1) go to https://github.com/ZeroK-RTS/Zero-K -> hit search -> type unit human name (e.g. Bandit)
15 2) note any files in /units/ among the results, omit the .lua part. E.g. /units/corak.lua -> corak. 15 2) note any files in /units/ among the results, omit the .lua part. E.g. /units/corak.lua -> corak.
16 \n 16 \n
17 option b) 17 option b)
18 1) checkout or download ZK onto local drive 18 1) checkout or download ZK onto local drive
19 2) use any tool you're comfortable with to find a file in /units/ with human name in its body (example: `grep -sirl bandit ~/.spring/games/zk.sdd/units`) 19 2) use any tool you're comfortable with to find a file in /units/ with human name in its body (example: `grep -sirl bandit ~/.spring/games/zk.sdd/units`)
20 \n 20 \n
21 option c) 21 option c)
22 1) What killer said 22 1) What killer said
23 2) but beware inaccuracies (e.g. unitguide has rapier -> CORAPE.jpg while unitname of rapier is currently "gunshipsupport")[/quote] 23 2) but beware inaccuracies (e.g. unitguide has rapier -> CORAPE.jpg while unitname of rapier is currently "gunshipsupport")[/quote]
24 Option C makes use of the [url=http://zero-k.info/Static/UnitGuide]Unit Guide[/url]. It used to display tooltips with names when mousing over unit pictures, but that's broken. You can still use it though, just get the filename of the unit pictures. (eg. armpw.png - armpw for Glaive) 24 Option C makes use of the [url=http://zero-k.info/Static/UnitGuide]Unit Guide[/url]. It used to display tooltips with names when mousing over unit pictures, but that's broken. You can still use it though, just get the filename of the unit pictures. (eg. armpw.png - armpw for Glaive)