Guides to weapon modding??

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Guides to weapon modding??

Post by speedoflight »

Hi, im having serious problems trying to animate a proyectile and trying to make custom sounds. Before any ask, yes i already looked into a lot of mods and i have the same structure as em, but for reasons i cant understand, i cant get custom sounds working or the frames animation of the proyectiles working.

I just asking if is there any guide that covers this, since i didnt find anything about it, and nobody can give me any answer.

Wat could be the problem that is preventing the animation of the weapon proyectile graphic to work??
Any ideas?
My currently mods / wips ->
ImageImage
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: Guides to weapon modding??

Post by speedoflight »

Well, i solved the graphic issue. It looks like missiles cant be animated, as far as i noticed. I changed the type of the weapon to "LASER", and the animation works. I just added the value <missiles>2</missiles> that seems to work with type laser weapon as well ;)

Anyway, i still cant get the audio part to work.
My currently mods / wips ->
ImageImage
nataryeahbuddy
Posts: 176
Joined: Sun Jan 20, 2013 1:37 am

Re: Guides to weapon modding??

Post by nataryeahbuddy »

speedoflight wrote:Well, i solved the graphic issue. It looks like missiles cant be animated, as far as i noticed. I changed the type of the weapon to "LASER", and the animation works. I just added the value <missiles>2</missiles> that seems to work with type laser weapon as well ;)

Anyway, i still cant get the audio part to work.
I think all you do is put the audio file in the audio folder and put the name in weapon sound.
My most popular mod! Over 290 Downloads!
Advanced Weapons and Shields!
My second most popular mod! Over 240 Downloads!
Advanced Battle Systems!
An awesome ship with custom graphics and two new weapons!
F-22A Raptor for FTL
UltraMantis
Posts: 2125
Joined: Thu Sep 20, 2012 3:17 pm

Re: Guides to weapon modding??

Post by UltraMantis »

speedoflight wrote:Anyway, i still cant get the audio part to work.
Post your sounds.xml code and relevant weapon blueprint tags. Animations are worse than sounds, so it's probably bad syntax or typos.
Report spam using the handy Report Button Mod.
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: Guides to weapon modding??

Post by speedoflight »

Oh dear :p, i solved the audio issue. The problem was, i ended with the soundfiles.xml.append so messed up. I was pointing to a directory called "waves/weapons", then i changed it to just "weapons", and that should fixed it, but it didnt, so i changed the directory back to the previous state. But the problem was i had the first letter of the audio file in capital letters, and they should be just lower letters lol. So, i changed it, but again the directory was wrong, so i wasted more headache until i changed the directory againt to just "weapons".

And it worked. At last.

I hope someone reads this because these heacaches are common when u get stuck in stupid things like this lol and this can be helpful even if it doesnt looks like.

Thx UltraMantis, but there is no need now to post my sound.xml, anyways, the animations only works on non-missile type proyectiles, i just realized that. Its ok since u can make a laser type weapon that uses missiles, at this point im wondering why is the purpose of 2 differents weapons that can only be one...

So, i hope in the next days to start posting my new mod. Thx guys.
My currently mods / wips ->
ImageImage
Post Reply