Greetings,
Is it possible to give a module more than one function?
Here’s an example what I want to do;
Making a module that have camouflage and shield ability, but I can’t get it to work. Am I missing something or isn’t possible?
[code][config]
category = “DEFENSES”
classname = “SIM_ShieldModule”
cost = 22
crew_required = 0
description = “[Rebel] Special engineered rebel camouflage shield”
guiname = “Fighter Camouflage Shield II”
hitpoints = 6
max_cloak_power = 60
cloak_rechargerate = 0.01
cloak_consumptionrate = 0.02
icon = module_camoflage_3.dds
name = “fighter_camoflage_shield_II”
powerconsumed = 0.35
recharge_rate = 0.006
resistance = 6
shieldpoints = 10
size = “FIGHTER”
slot_type = STANDARD
stack_effectiveness = 0.3
weight = 0.31
uisortpos = 2044
restricted = “rebel”
[dataitems]
0 = cost,DECIMAL
1 = weight,DECIMAL
2 = hitpoints,DECIMAL
3 = powerconsumed,DECIMAL
4 = shieldpoints,DECIMAL
5 = crew_required,INTEGER
6 = resistance,DECIMAL
7 = recharge_rate,DECIMAL_MULT,1000[/code]