Company of Heroes: Eastern Front

Author Topic: Tutorial: Action markers  (Read 10991 times)

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Tutorial: Action markers
« on: July 11, 2011, 01:46:05 PM »
Hello, Ladies and Gentlemen!

Here's how to  add some extra brilliance to your map, means the inclusion of "Action Markers", which are responsible for visual and sound effects on Company of Heroes maps.
First of all, you'll need to own either Corsix Mod Studio or this SGA extractor to unpack the needed files, however I recommend Corsix (you can also use Corsix for modding, SGA packing and other tasks).
The files you need to unpack are "WW2Art.sga" and "WW2Sound", you can find them in "%yourCOHdirectory%\WW2\Archives".
Using Corsix, you have to follow these steps:

  • Go to the folder you have Corsix in and execute "ModStudio.exe"



  • Click on "Load Single SGA Archive" in the middle of the window



  • Browse to your COH directory > WW2\Archives folder and open the desired file



  • Right-click on the line "data" that appeared in the upper left corner, select "Extract all files in this folder"



  • It appears a new window, you will choose "Go!" and choose a folder to extract the files to, this may take a while and the program may not respond, ignore this



  • When completed, cut the extracted "art"/"sound" folder from where you extracted it to and paste it into "COHdirectory\WW2\Data\






Action markers can be moved, either using the gizmo or simply dragging them aroung with your mouse. For changing the height, you have to use the z axis of the gizmo. Action markers can also be rotated after pressing the "R" key on your keyboard. To get back into the move mode, just one time press "M". The direction e.g. smoke is flying to depends on the wind setting in the maps Terrain Properties, additionally, you can copy an Action Marker, holding LMB on the marker plus the C key, then dragging the marker around will create an exact copy of the marker you selected before.
Now you are able to use action markers in your WB without any problems, however, how that works, I'll describe now:

  • Open your WB, and open an existing/a new project, select the marker tool (small red flag)



  • To the right, you can see that "Scar Markers" is selected as default, you'll need to change it to "Action Markers"



  • Right-click where you want to have your Action Marker on your map, we'll use a crater as example



  • Select the marker and click on "Edit Action" to the right



  • Choose, depending on your choice, either fx_attach or sound_attach under New Command





  • To add effects or sound, click on "..." next to "fx"/"sound"



  • Browse to your COH directory > WW2\Data\Art\fx or WW2\Data\sound\ambiences, depending on your choice



  • Go to "fx_ambient"/"ambiences" folder and select a .bfx/.bsc file of your choice, we will add burning coals to our crater



  • Now, if your crater looks like this, you did well (you can elevate and move it to match your imagination)




Have fun with this, I hope for many many maps with added sound/effects in the future. :D

Maxi
« Last Edit: February 20, 2012, 05:00:25 PM by MaxiKing6 »

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline cephalos

  • Mapper
  • Mr. Spam
  • *
  • Posts: 1367
  • Pick a card...
    • View Profile
Re: Tutorial: Action markers
« Reply #1 on: July 11, 2011, 07:04:00 PM »
 :D
cool Maxi!

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Tutorial: Action markers
« Reply #2 on: July 11, 2011, 08:36:13 PM »
Thanks. Hope you can improve Kalach using this. :)

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Steve 'Burro' M.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3976
  • NYET!
    • View Profile
Re: Tutorial: Action markers
« Reply #3 on: July 12, 2011, 08:33:25 AM »
You know, I've never used sound with the markers, I really don't know why. I may go back to the RRS1 map today and mess around with it ;D

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Tutorial: Action markers
« Reply #4 on: July 12, 2011, 11:42:14 AM »
Don't mess with your beautiful map, would be a shame :P

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3261
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Tutorial: Action markers
« Reply #5 on: July 12, 2011, 11:52:55 AM »
Nice tutorial! Should be stickied!
I identify as a four-eyed bird man. /s

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Tutorial: Action markers
« Reply #6 on: July 12, 2011, 11:53:26 AM »
Thanks, but it is already  ;)

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Goober

  • Guard
  • ***
  • Posts: 123
    • View Profile
Re: Tutorial: Action markers
« Reply #7 on: July 12, 2011, 02:51:20 PM »
Nice Maxi! This will hopefully lead some noobies to put a bit more quality in their maps.  :)
"Stop playing the fool!"

Offline Mattdamon07

  • Commissar
  • ****
  • Posts: 273
    • View Profile
Re: Tutorial: Action markers
« Reply #8 on: July 19, 2011, 07:48:20 AM »
doesnt work when chosing a fx im wb it says invalid file path must be combiner mod or something
Eviction [WIP]
"What is it !? I am busy Fighting Americans!"- Stormtrooper.

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Tutorial: Action markers
« Reply #9 on: July 19, 2011, 11:52:45 AM »
1) Where did you put the files?
2) Did you really select fx_attach?

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Mattdamon07

  • Commissar
  • ****
  • Posts: 273
    • View Profile
Re: Tutorial: Action markers
« Reply #10 on: July 19, 2011, 12:16:23 PM »
i made a new folder in my documents and stored them there
2. yes i did
Eviction [WIP]
"What is it !? I am busy Fighting Americans!"- Stormtrooper.

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Tutorial: Action markers
« Reply #11 on: July 19, 2011, 12:24:47 PM »
Man. Didn't you read my tutorial carefully? It says
When completed, cut the extracted "art"/"sound" folder from where you extracted it to and paste it into "COHdirectory\WW2\Data\


So paste the folder "art" in this path (if not correct, adjust it):
Code: [Select]
C:\Program Files\THQ\Company of Heroes\WW2\Data\
Clear?

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Otto Halfhand

  • Donor
  • Mr. Spam
  • *
  • Posts: 1166
    • View Profile
Re: Tutorial: Action markers
« Reply #12 on: July 19, 2011, 08:00:38 PM »
Nice Tutorial Maxi. EF would benefit from more tutorials of similar quality.

Can action markers be used by the AI in a campaign setting to provide dummy information to the Human player?
孫 The
EF_v1.7.10
子 Art
Illegitimi non Carborundum -"Vinegar" Joe Stilwell
兵 of
Sun Tzu says: In warfare one compels and is not compelled by others
法 War

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Tutorial: Action markers
« Reply #13 on: July 19, 2011, 08:03:20 PM »
Probably you mean Scar markers, which are responsible for triggering certain actions done by AI. You have to ask walki, Rizz or Cope about Scar, I'm not familiar with it.

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Mattdamon07

  • Commissar
  • ****
  • Posts: 273
    • View Profile
Re: Tutorial: Action markers
« Reply #14 on: July 19, 2011, 11:49:25 PM »
Man. Didn't you read my tutorial carefully? It says
When completed, cut the extracted "art"/"sound" folder from where you extracted it to and paste it into "COHdirectory\WW2\Data\


So paste the folder "art" in this path (if not correct, adjust it):
Code: [Select]
C:\Program Files\THQ\Company of Heroes\WW2\Data\
Clear?


yes ok
Eviction [WIP]
"What is it !? I am busy Fighting Americans!"- Stormtrooper.