PDA

View Full Version : COD 2 quickmessage menu modding



Boocer
21st May 2020, 13:07
Hi everyone,
I wanted to modding my server's quickmessage menu. I want to add some extre sounds to the quickresponse . I got the files for it: the /soundaliases, the /sounds and in the /ui_mp folder with the new wm_quickmessage.menu, also in the /ui_mp/scriptmenus the new quickresponses.menu, quickresponses2.menu. I put them into an iwd file then uploaded it to the server /main folder. In the game, pressing the "v", the quickmessage menu shows int the right place and works fine, but pressing "3" (responses), the responses quickmessage opens, but from here the "quickresponses2" doesn't work. I checked the loading files in the console and i saw, that the ui_mp/scriptmenus folder was not loaded from my iwd file, only from the "original game's" ui_mp folder. What should i do to make it work/make it load from my iwd? Should i add to the iwd some more file, if yes, what kind of?

agribilos
22nd May 2020, 07:11
The client need to download the sounds also to work.

IzNoGoD
22nd May 2020, 08:38
You need to precache them in maps/mp/gametypes/_quickmessages.gsc

Then you need to handle the input from them at the bottom of maps/mp/gametypes/_menus.gsc and send that along to the _quickmessages file, where you will then need to handle the actual input.

Good luck.

Boocer
22nd May 2020, 09:38
Thank you! I'll look up them.