Page 1 of 1

Guides to weapon modding??

Posted: Tue Feb 26, 2013 12:04 am
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?

Re: Guides to weapon modding??

Posted: Tue Feb 26, 2013 12:40 am
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.

Re: Guides to weapon modding??

Posted: Tue Feb 26, 2013 1:05 am
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.

Re: Guides to weapon modding??

Posted: Tue Feb 26, 2013 2:39 pm
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.

Re: Guides to weapon modding??

Posted: Tue Feb 26, 2013 3:09 pm
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.