Page 1 of 1

a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 3:53 am
by Infinite
I just began modding (yesterday) and have had Dan helping me a lot through it. With a lot of his help, I began to make a jumping mod as a beginning mod to make. now, I got the position save mod to work correctly and I wanted to edit the quick chat menu to use commands such as fullbright and thirdperson. Now, my problem is that when I open up the chat menu, my new section comes up as #4 and it's called FPS Settings but when i hit 4 nothing else comes up and I have no clue as to why.

here are some of the files that I'm using for this (quick message files in attatchment).

If anyone can help, it would be appreciated :)

Mod.CSV

Code: Select all

rawfile,maps/mp/gametypes/dm.gsc
menufile,ui_mp/scriptmenus/quickcmdlist.menu
menufile,ui_mp/wm_quickmessage.menu
makeMod.bat

Code: Select all

@set /p choice= Mod Folder Name: 

del %choice%.iwd
del mod.ff

xcopy fx ..\..\raw\fx /SY
xcopy vision ..\..\raw\vision /SY
xcopy character ..\..\raw\character /SY
xcopy animtrees ..\..\raw\animtrees /SY
xcopy weapons ..\..\raw\weapons /SY
xcopy shock ..\..\raw\shock /SY
xcopy sound ..\..\raw\sound /SY
xcopy soundaliases ..\..\raw\soundaliases /SY
xcopy ui_mp ..\..\raw\ui_mp /SY
xcopy ui ..\..\raw\ui /SY
xcopy sun ..\..\raw\sun /SY
xcopy maps ..\..\raw\maps /SY
xcopy mp ..\..\raw\maps\mp /SY
xcopy mp ..\..\raw\mp /SY
xcopy gametypes ..\..\raw\maps\mp\gametypes /SY
xcopy source ..\..\raw\source /SY

copy /Y mod.csv ..\..\zone_source
cd ..\..\bin
linker_pc.exe -language english -compress -cleanup mod
cd ..\mods\%choice%
copy ..\..\zone\english\mod.ff

7za a -r -tzip %choice%.iwd sound
7za a -r -tzip %choice%.iwd images
7za a -r -tzip %choice%.iwd weapons

pause

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 4:38 am
by _DanTheMan_
Have you made sure that the files are in the paths you have set in the .csv, and that the files are ALSO in raw/ui_mp?

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 11:23 am
by Infinite
_DanTheMan_ wrote:Have you made sure that the files are in the paths you have set in the .csv, and that the files are ALSO in raw/ui_mp?
yes

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 12:54 pm
by Drofder2004
Have you edited the .menu file to include the "exec 4" stuff.

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 1:40 pm
by Infinite
Drofder2004 wrote:Have you edited the .menu file to include the "exec 4" stuff.

Code: Select all

execKey "4" { close quickmessage; open quickcmdlist }
That's what I have for that line :S

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 2:29 pm
by Drofder2004
In the quickcmdlist menu, have you defined the menu correctly.

ie.

#include "ui/menudef.h"

{
menuDef
{
name "cj"

Changing cj for the name of choosing (also, it may be that lowercase only or it requires exact match cJ is not the same as Cj for example, but untested.

----

Other things to check, when compiling your mod, in the "console" window, it will display any menu errors. Because menu errors are not game critical, they will not stop the mod compiling.
My mod compiled witha broken menu file that was missing a bracket.

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 8:36 pm
by Infinite
Drofder2004 wrote:In the quickcmdlist menu, have you defined the menu correctly.

ie.

#include "ui/menudef.h"

{
menuDef
{
name "cj"

Changing cj for the name of choosing (also, it may be that lowercase only or it requires exact match cJ is not the same as Cj for example, but untested.

----

Other things to check, when compiling your mod, in the "console" window, it will display any menu errors. Because menu errors are not game critical, they will not stop the mod compiling.
My mod compiled witha broken menu file that was missing a bracket.
The error I am receiving when attempting to open the FPS Commands quick chat menu in game is "could not find menu "quickcmdlist"" :s. As for errors when compiling the mod, I don't see any when i compile it with the CoD4 mod Builder or when compiling it with the .bat.

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 16th, 2009, 10:05 pm
by Drofder2004
You have not defined the menu name. The name does not refer to filename but menuDef name.

menuDef
{
name "quickcmdlist"

itemDef
{

etc

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 17th, 2009, 1:13 am
by Infinite
Problem solved: The file in maps\mp\gametypes\_quickmessages.gsc had to be modded for it to work correctly :s.

Re: a bit of modding help needed with the quick chat menu :s.

Posted: April 27th, 2009, 5:36 am
by IrishStorm
i have to same problem with mine how did you fix it? it shows but i can not click it?