1 |
i need some technical help with a mod
|
1 |
i need some technical help with a mod
|
2 |
\n
|
2 |
\n
|
3 |
im unable to get athena to fire weapons i give it and i have tried countless weapons:
|
3 |
im unable to get athena to fire weapons i give it and i have tried countless weapons:
|
4 |
\n
|
4 |
\n
|
5 |
i would like to stick with unit tweaks as the rest of the mod is a unit tweak
|
5 |
i would like to stick with unit tweaks as the rest of the mod is a unit tweak
|
6 |
\n
|
6 |
\n
|
7 |
here is an example weapon.. it works for other units but when i place it on athena it does not.
|
7 |
here is an example weapon.. it works for other units but when i place it on athena it does not.
|
8 |
\n
|
8 |
\n
|
9 |
[spoiler]
|
9 |
[spoiler]
|
10 |
{{{
|
10 |
{{{
|
11 |
\n
|
11 |
\n
|
12 |
{
|
|
|
13 |
striderhub = {
|
12 |
striderhub = {
|
14 |
metalcost = 1,
|
13 |
metalcost = 1,
|
15 |
customParams = {
|
14 |
customParams = {
|
16 |
neededlink = 0,
|
15 |
neededlink = 0,
|
17 |
},
|
16 |
},
|
18 |
}
,
|
17 |
}
|
|
|
18 |
\n
|
19 |
athena = {
|
19 |
athena = {
|
20 |
metalcost = 1,
|
20 |
metalcost = 1,
|
21 |
canManualFire = true,
|
21 |
canManualFire = true,
|
22 |
weapons = {
|
22 |
weapons = {
|
23 |
{
|
23 |
{
|
24 |
def = [[MINE]],
|
24 |
def = [[MINE]],
|
25 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER]],
|
25 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER]],
|
26 |
},
|
26 |
},
|
27 |
},
|
27 |
},
|
28 |
weaponDefs = {
|
28 |
weaponDefs = {
|
29 |
MINE = {
|
29 |
MINE = {
|
30 |
name = [[Light Mine Artillery]],
|
30 |
name = [[Light Mine Artillery]],
|
31 |
accuracy = 4000,
|
31 |
accuracy = 4000,
|
32 |
areaOfEffect = 200,
|
32 |
areaOfEffect = 200,
|
33 |
avoidFriendly = false,
|
33 |
avoidFriendly = false,
|
34 |
collideFriendly = false,
|
34 |
collideFriendly = false,
|
35 |
nofriendlyfire = 1,
|
35 |
nofriendlyfire = 1,
|
36 |
craterBoost = 0,
|
36 |
craterBoost = 0,
|
37 |
craterMult = 0,
|
37 |
craterMult = 0,
|
38 |
burst = 8,
|
38 |
burst = 8,
|
39 |
sprayangle = 4000,
|
39 |
sprayangle = 4000,
|
40 |
burstrate = 0.1,
|
40 |
burstrate = 0.1,
|
41 |
customParams = {
|
41 |
customParams = {
|
42 |
damage_vs_shield = [[190]],
|
42 |
damage_vs_shield = [[190]],
|
43 |
damage_vs_feature = [[190]],
|
43 |
damage_vs_feature = [[190]],
|
44 |
force_ignore_ground = [[1]],
|
44 |
force_ignore_ground = [[1]],
|
45 |
spawns_name = "wolverine_mine",
|
45 |
spawns_name = "wolverine_mine",
|
46 |
spawns_expire = 400,
|
46 |
spawns_expire = 400,
|
47 |
spawn_blocked_by_shield = 1,
|
47 |
spawn_blocked_by_shield = 1,
|
48 |
light_radius = 0,
|
48 |
light_radius = 0,
|
49 |
},
|
49 |
},
|
50 |
damage = {
|
50 |
damage = {
|
51 |
default = 20,
|
51 |
default = 20,
|
52 |
planes = 20,
|
52 |
planes = 20,
|
53 |
},
|
53 |
},
|
54 |
explosionGenerator = [[custom:dirt]],
|
54 |
explosionGenerator = [[custom:dirt]],
|
55 |
impulseBoost = 0,
|
55 |
impulseBoost = 0,
|
56 |
impulseFactor = 0.4,
|
56 |
impulseFactor = 0.4,
|
57 |
interceptedByShieldType = 1,
|
57 |
interceptedByShieldType = 1,
|
58 |
model = [[clawshell.s3o]],
|
58 |
model = [[clawshell.s3o]],
|
59 |
myGravity = 0.34,
|
59 |
myGravity = 0.34,
|
60 |
noSelfDamage = true,
|
60 |
noSelfDamage = true,
|
61 |
range = 400,
|
61 |
range = 400,
|
62 |
reloadtime = 40,
|
62 |
reloadtime = 40,
|
63 |
soundHit = [[weapon/cannon/badger_hit]],
|
63 |
soundHit = [[weapon/cannon/badger_hit]],
|
64 |
soundStart = [[weapon/cannon/badger_fire]],
|
64 |
soundStart = [[weapon/cannon/badger_fire]],
|
65 |
soundHitVolume = 8,
|
65 |
soundHitVolume = 8,
|
66 |
soundStartVolume = 12,
|
66 |
soundStartVolume = 12,
|
67 |
turret = true,
|
67 |
turret = true,
|
68 |
weaponType = [[Cannon]],
|
68 |
weaponType = [[Cannon]],
|
69 |
weaponVelocity = 500,
|
69 |
weaponVelocity = 500,
|
70 |
commandfire = true,
|
70 |
commandfire = true,
|
71 |
},
|
71 |
},
|
72 |
},
|
72 |
},
|
73 |
},
|
|
|
74 |
}
|
73 |
}
|
|
|
74 |
\n
|
75 |
\n
|
75 |
\n
|
76 |
}}}
|
76 |
}}}
|
77 |
[/spoiler]
|
77 |
[/spoiler]
|