Company of Heroes: Eastern Front
Other discussions (Read-Only) => Tech Support => Topic started by: Lag on August 20, 2012, 11:43:58 PM
-
Hey guys. Is there anyone who understands the sound code of Relic's engine? We are trying to implement sounds for new units for the dow2 ELITE mod and we cant figure out what triggers what. I figured that those two engines are not so different and that they probably used similar approaches.
We extracted the sounds no problem but the sound names have nothing to do with the code, like AT ALL. I figured some of the modders might have an idea.
anyway, here are some of the code examples. these are for tactical marines.
SQUAD BLUEPRINT
speech: {
| has_speech_code: true;
| speech_code_2: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speech_code_3: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "tac";
| | | code: "ify";
| | | code: "gma";
| | };
| };
| speaker_generic: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "sp2";
| | };
| };
| speaker_specific: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "sp2";
| | };
| };
| speaker_specific_chapter_overrides: {
| };
| speaker_generic_chapter_overrides: {
| };
};
ENTITY BLUEPRINT FOR SQUAD MEMBERS
speech: {
| has_speech_code: true;
| speech_code_2: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speech_code_3: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "tac";
| | | code: "ify";
| | | code: "gma";
| | };
| };
| speech_code_cover: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speaker: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "sp2";
| | };
| };
| speech_directory: "sound:STREAMED_SPEECH\MP\SP";
};
ENTITY BLUEPRINT FOR SERGEANT
speech: {
| has_speech_code: true;
| speech_code_2: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speech_code_3: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "tac";
| | | code: "ify";
| | | code: "gma";
| | };
| };
| speech_code_cover: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speaker: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "sp2";
| | };
| };
| speech_directory: "sound:STREAMED_SPEECH\MP\SP";
};
UPGRADE - FLAMER
speech: {
| has_speech_code: true;
| speech_code_2: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speech_code_3: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "fla";
| | | code: "gwe";
| | | code: "wgr";
| | };
| };
};
UPGRADE - PLASMA GUN
speech: {
| has_speech_code: true;
| speech_code_2: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speech_code_3: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "pgu";
| | | code: "gwe";
| | | code: "wgr";
| | };
| };
};
UPGRADE - MISSILE LAUNCHER
speech: {
| has_speech_code: true;
| speech_code_2: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speech_code_3: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "mil";
| | | code: "gwe";
| | | code: "wgr";
| | };
| };
};
UPGRADE - SERGEANT
speech: {
| has_speech_code: true;
| speech_code_2: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | };
| };
| speech_code_3: {
| | $REF: "types\speech\speech_codes";
| | codes: {
| | | code: "sgt";
| | | code: "";
| | };
| };
};
If you think you can help us please let me know by posting here or by mailing me at milos.martinov (at) gmail. com
Thank you! :)
-
Afaik we did implement sound changes by editing the hex code. Alex might know how to change them.
-
Thanks for the reply. I'm looking forward to some more information!
-
I've made this tutorial for another user a while ago.
http://www.mediafire.com/view/?vexoovookol213d
However, as you want to work with Dawn of War it might be different, I've never modded DoW though.