Page 1 of 1

Units and weapons graphics/sounds ?

Posted: Thu Nov 27, 2014 4:40 pm
by Joubarbe
Hi,

I'd like to know where are managed the graphics and sounds of any unit/weapon the user creates ? For instance, if I "add" a new weapon through the editor, I can edit some values, but how does the game recognize this new weapon to play effects and sounds ? I see nothing in the .whdat either.

Thanks.
(by the way, it seems impossible to add/edit traits through the editor)

Re: Units and weapons graphics/sounds ?

Posted: Thu Nov 27, 2014 5:13 pm
by Caveman
Have a look at:

attack.whdat
\Steam\steamapps\common\Warhammer 40,000 Armageddon\Graphics

efx.whdat
\Steam\steamapps\common\Warhammer 40,000 Armageddon\Graphics

Re: Units and weapons graphics/sounds ?

Posted: Fri Nov 28, 2014 9:15 pm
by Rudankort
attack.whdat is the right one, I did not realize efx.whdat remained in game folder. It is not used any more.

For movement sounds see Audio/Movement/move.whdat

Re: Units and weapons graphics/sounds ?

Posted: Sat Nov 29, 2014 7:52 pm
by KenAllen
Does the editor allow you to change the position of where the attack effect is displayed. So if you've made your own unit graphic with the ends of guns in different places, is their a way to ensure the guns shots appear in the right place?

Thanks :)

Re: Units and weapons graphics/sounds ?

Posted: Sat Nov 29, 2014 8:42 pm
by Caveman
You just have to mesure the pixels where the gun is. There is like a grid-system starting in the upper left corner with 1x 1y. Every pixel is a step on the grid. So if the end of your gun is 40 pixels from the left image border and 130 pixels from the upper border, you will have to write (40,130) in the offset part from the attack.whdat-file to the fitting direction (like NW if the unit faces to the upper left).

Re: Units and weapons graphics/sounds ?

Posted: Sat Nov 29, 2014 9:00 pm
by KenAllen
Nice one thanks mate :)

Re: Units and weapons graphics/sounds ?

Posted: Thu Dec 11, 2014 9:36 pm
by Kerensky