Units and weapons graphics/sounds ?

Moderators: Slitherine Core, BA Moderators, WH40K Armageddon moderators

Post Reply
Joubarbe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Mon Aug 09, 2010 7:08 pm

Units and weapons graphics/sounds ?

Post 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)
Caveman
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 60
Joined: Sat Jul 16, 2011 1:34 pm

Re: Units and weapons graphics/sounds ?

Post 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
Rudankort
FlashBack Games
FlashBack Games
Posts: 3836
Joined: Sat Aug 21, 2010 2:23 pm
Contact:

Re: Units and weapons graphics/sounds ?

Post 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
KenAllen
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 42
Joined: Tue Jan 14, 2014 4:28 pm

Re: Units and weapons graphics/sounds ?

Post 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 :)
Caveman
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 60
Joined: Sat Jul 16, 2011 1:34 pm

Re: Units and weapons graphics/sounds ?

Post 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).
KenAllen
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 42
Joined: Tue Jan 14, 2014 4:28 pm

Re: Units and weapons graphics/sounds ?

Post by KenAllen »

Nice one thanks mate :)
Kerensky
Content Designer
Content Designer
Posts: 8649
Joined: Wed Jan 12, 2011 2:12 am

Re: Units and weapons graphics/sounds ?

Post by Kerensky »

Post Reply

Return to “Mods and Scenario Design”