Nexus Modding > Mod Development / Released Mods
Limited ammunition for bombers?
Arparso:
Got a rather strange problem: I'm simply trying to limit the amount of missiles my bombers carry, because they're... well... rather strong. Now I did it the same way I did it for capital-ship-based missiles: on the missile launcher DEVICETYPE setting MaxCount to the desired amount of ammo and CountDec to 1. Still I only see one missile fired by each bomber and then nothing more...
Bug? Feature? Am I forgetting something?
Mularac:
no, you need to specify it in the bomber's shipclass in the defDevices tab, when you're adding the weapon, like this:
#weaponConstant / number of projectiles
Example:
SHIPCLASS 142
Name "Squadron_F302"
Mesh "Tauri\F302"
GUIIcon "icons\f302"
ImpactEfx 1 0.05
FinalEfx 1 0.3
ChannelEfx 3 1
Civilization 3
Velocity 1600
RotVelFact 15000
RangeBehav 2 2
Behaviour 0
TargetType 2
SupportOutput 10
HPmax 12
Slots 39 39 31 ;
Slots 51 ;
Slots 61 71 ;
DefDevices #weap_f302Flak #weap_f302rocFlak/10 #weap_f302rocAD/10 #eng_F302 #supp_ecm #supp_boatWGen ;
Available
SHIPCLASS
Arparso:
Ah, of course, stupid me.
Thx for the impromptu answer ;)
Mularac:
No problem.
Looking forward the release of your mod, btw.
Arparso:
Yeah, me too... I just want to get it out as soon as possible, but there always seems something to improve on ;)
Btw, making missile weapons sucks :P
You need to:
... create a missile SHIPCLASS
... create launch and explosion EFX
... create an engine DEVICETYPE
... create an engine EFX
... create a missile launcher DEVICETYPE
... add it to the desired SHIPTYPEs or fighter/bomber SHIPCLASSes in the right slot
... not to even mention creating the actual missile and launcher models and textures
And the worst of it all: if you're going to tinker with ANY of that (e.g. adjusting the EFX to look right), you'll need to restart the game each time. *sigh* getting rather tiresome really quick ::)
Navigation
[0] Message Index
[#] Next page
Go to full version