Hi, I'm working on a personal mod and one of the things I wanted to do was make an ability that allowed me to launch a nuke at the target destination (space, not ground). My train of thought was to use the barrage ability and modify it to only fire a single missile. I actually got that working, but ran into a huge snag that I just can't figure out.
Whenever I try to apply the ability to another unit, it simply doesn't work. I tell my guy to use the ability, and he activates it but the missile wont fire, so he just sits there useless. What has me absolutely baffled is that it seems to be model related. If I use the vanilla Marauder model, it works perfectly. But if I use one of the custom models I'm using, it wont work as described above.
I've scoured everywhere I could think of looking for something hardpoint related, since that's the only thing I can think of. But unfortunately I haven't had any success. I'd greatly appreciate if someone could point me in the right direction, because I simply can't figure out why it wont work.
<!-- This parameter is no longer used. Barrage radius is determined by
Projectile_Max_Flight_Distance of the specific projectile for this aility -->
<!-- <Effective_Radius>1000.0</Effective_Radius> -->
<!-- Modify this projectile for blast damage and range, range of barrage mode etc -->
<!-- radius depends on the explosion size and inaccuracy of 'Proj_Ship_Diamond_Boron_Missile_Barrage' -->
<Area_Effect_Decal_Distance> 75.0 </Area_Effect_Decal_Distance>
<!-- keep this the same as Area_Effect_Decal_Distance -->
<Targeting_Fire_Inaccuracy_Fixed_Radius_Override>7 5</Targeting_Fire_Inaccuracy_Fixed_Radius_Override>
I just copied the Marauder's barrage ability. It works perfectly fine when I actually use the Marauder's model. But if I change the model of the unity, it doesn't work.
did you also put BARRAGE in the <SpaceBehavior> tag of the other ship? It won't work without it
Aye, I did that. As far as I can tell everything works properly. When I change the model from FFG.Alo (the model I want) to the marauder.alo, it works perfectly. It fires the missile, nuke explodes, it's everything I want. But when I change the model back to the frigate, it doesn't work. That's the ONLY difference. Everything else can be the exact same, if it's the marauder model it works, if it's the frigate model it doesn't.
Does the new model have "MUZZLEA_00" bones on it? That is the only reason I can see for it not to work. Does it fire missles when not in barrage mode?
The model does not have that bone, but it does fire missiles normally. Is there any way to change what bone the ability is attached to? Because none of the models I am using have that particular bone.
Hmm, well the thing is it's not -MY- model, I didn't make it. It's the UNSC models from the Halo: First Offensive. So I'm not sure what kind of code of conduct exists about modifying other people models.
Beyond that, it's not just ONE model. This was suppose to be a multi-ship ability, kind of a race trait. So if I can't make the change in the code itself, the change would have to be applied to about... 6 different models.
It is against filefront policy to upload a mod with ported content. But if you are using it for a personal mod ot isnt an issue.
If the models were made by another modder, you only need permission. Who converted them to .alo?
It's been a while since I modded anything, but I recall a <Fire_Bone> tag. Though it migjt have been for hardpoints only. Do a search on the xml's for that tag.
The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!