1 |
halting
development
until
someone
tells
me
how
to
edit
WeaponDefs.
.
|
1 |
.
|
2 |
\n
|
|
|
3 |
because im worried that since im going to need to spend allot of time on all this such as with things like includeing a custom goo for every unit with costs and unit types.. or making sure units dont get abilities overwritten..
|
|
|
4 |
\n
|
|
|
5 |
and if nobody helps me edit weaponDefs.. then ill just get stuck later on and yes i have been asking for help with code for days.. not weapon defs specifically but im feeling apprehensive of the idea im being annoying by asking so many dumb questions =(
|
|
|
6 |
\n
|
|
|
7 |
i still dont know why this bellow wont work and had to work around it using unit tweaks
|
|
|
8 |
\n
|
|
|
9 |
[q]{{{
|
|
|
10 |
\n
|
|
|
11 |
for name, ud in pairs(UnitDefs) do
|
|
|
12 |
if ud.customparams then
|
|
|
13 |
for _, cp in pairs(ud.customParams) do
|
|
|
14 |
if cp.pylonrange then
|
|
|
15 |
cp.pylonrange = cp.pylonrange * 4
|
|
|
16 |
end
|
|
|
17 |
end
|
|
|
18 |
end
|
|
|
19 |
end
|
|
|
20 |
\n
|
|
|
21 |
}}}[/q]
|
|
|
22 |
\n
|
|
|
23 |
ill try downloading another mod and looking at the code
|
|
|