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

Post edit history

mod problem

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
9/25/2024 5:07:23 PMAUrankSmokeDragon before revert after revert
Before After
1 {{{ 1 {{{
2 \n 2 \n
3 local targetNames = { 3 local targetNames = {
4 ["Guardian Commander"] = true, 4 ["Guardian Commander"] = true,
5 ["Recon Commander"] = true, 5 ["Recon Commander"] = true,
6 ["Strike Commander"] = true, 6 ["Strike Commander"] = true,
7 ["Engineer Commander"] = true, 7 ["Engineer Commander"] = true,
8 } 8 }
9 for name, ud in pairs(UnitDefs) do 9 for name, ud in pairs(UnitDefs) do
10 if not targetNames[ud.name] then 10 if not targetNames[ud.name] then
11 if ud.corpse then 11 if ud.corpse then
12 ud.corpse = nil 12 ud.corpse = nil
13 end 13 end
14 if ud.featuredefs then 14 if ud.featuredefs then
15 for _, fd in pairs(ud.featuredefs) do 15 for _, fd in pairs(ud.featuredefs) do
16 if fd.blocking then 16 if fd.blocking then
17 fd.blocking = false 17 fd.blocking = false
18 end 18 end
19 if fd.object then 19 if fd.object then
20 fd.object = nil 20 fd.object = nil
21 end 21 end
22 end 22 end
23 end 23 end
24 end 24 end
25 end 25 end
26 \n 26 \n
27 \n 27 \n
28 }}} 28 }}}
29 \n 29 \n
30 my new revised anti wreck code 30 my new revised anti wreck code
31 \n
32 {{{
33 \n
34 bG9jYWwgdGFyZ2V0TmFtZXMgPSB7ClsiR3VhcmRpYW4gQ29tbWFuZGVyIl0gPSB0cnVlLApbIlJlY29uIENvbW1hbmRlciJdID0gdHJ1ZSwKWyJTdHJpa2UgQ29tbWFuZGVyIl0gPSB0cnVlLApbIkVuZ2luZWVyIENvbW1hbmRlciJdID0gdHJ1ZSwKfQpmb3IgbmFtZSwgdWQgaW4gcGFpcnMoVW5pdERlZnMpIGRvCmlmIG5vdCB0YXJnZXROYW1lc1t1ZC5uYW1lXSB0aGVuCmlmIHVkLmNvcnBzZSB0aGVuCnVkLmNvcnBzZSA9IG5pbAplbmQKaWYgdWQuZmVhdHVyZWRlZnMgdGhlbgpmb3IgXywgZmQgaW4gcGFpcnModWQuZmVhdHVyZWRlZnMpIGRvCmlmIGZkLmJsb2NraW5nIHRoZW4KZmQuYmxvY2tpbmcgPSBmYWxzZQplbmQKaWYgZmQub2JqZWN0IHRoZW4KZmQub2JqZWN0ID0gbmlsCmVuZAplbmQKZW5kCmVuZAplbmQ=
35 \n
36 }}}