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

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
User avatar
Infinite
PC Team
PC Team
Posts: 2385
Joined: April 11th, 2008, 4:39 pm
Location: Roswell, Georgia

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

Post by Infinite » April 16th, 2009, 3:53 am

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
You do not have the required permissions to view the files attached to this post.
Image
"The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together."
"A still more glorious dawn awaits- not a sun rise, but a galaxy rise. A morning filled with four hundred billion suns: the rising of The Milky Way." - Carl Sagan

[15:19] _MattyTÒ£eFarmer_: infinate
[15:19] _MattyTÒ£eFarmer_: u r smarter than me

_DanTheMan_
PC Team
PC Team
Posts: 294
Joined: September 6th, 2008, 2:14 am

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

Post by _DanTheMan_ » April 16th, 2009, 4:38 am

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?
Image

User avatar
Infinite
PC Team
PC Team
Posts: 2385
Joined: April 11th, 2008, 4:39 pm
Location: Roswell, Georgia

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

Post by Infinite » April 16th, 2009, 11:23 am

_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
Image
"The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together."
"A still more glorious dawn awaits- not a sun rise, but a galaxy rise. A morning filled with four hundred billion suns: the rising of The Milky Way." - Carl Sagan

[15:19] _MattyTÒ£eFarmer_: infinate
[15:19] _MattyTÒ£eFarmer_: u r smarter than me

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

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

Post by Drofder2004 » April 16th, 2009, 12:54 pm

Have you edited the .menu file to include the "exec 4" stuff.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Infinite
PC Team
PC Team
Posts: 2385
Joined: April 11th, 2008, 4:39 pm
Location: Roswell, Georgia

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

Post by Infinite » April 16th, 2009, 1:40 pm

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
Image
"The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together."
"A still more glorious dawn awaits- not a sun rise, but a galaxy rise. A morning filled with four hundred billion suns: the rising of The Milky Way." - Carl Sagan

[15:19] _MattyTÒ£eFarmer_: infinate
[15:19] _MattyTÒ£eFarmer_: u r smarter than me

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

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

Post by Drofder2004 » April 16th, 2009, 2:29 pm

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.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Infinite
PC Team
PC Team
Posts: 2385
Joined: April 11th, 2008, 4:39 pm
Location: Roswell, Georgia

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

Post by Infinite » April 16th, 2009, 8:36 pm

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.
Image
"The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together."
"A still more glorious dawn awaits- not a sun rise, but a galaxy rise. A morning filled with four hundred billion suns: the rising of The Milky Way." - Carl Sagan

[15:19] _MattyTÒ£eFarmer_: infinate
[15:19] _MattyTÒ£eFarmer_: u r smarter than me

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

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

Post by Drofder2004 » April 16th, 2009, 10:05 pm

You have not defined the menu name. The name does not refer to filename but menuDef name.

menuDef
{
name "quickcmdlist"

itemDef
{

etc
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Infinite
PC Team
PC Team
Posts: 2385
Joined: April 11th, 2008, 4:39 pm
Location: Roswell, Georgia

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

Post by Infinite » April 17th, 2009, 1:13 am

Problem solved: The file in maps\mp\gametypes\_quickmessages.gsc had to be modded for it to work correctly :s.
Image
"The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together."
"A still more glorious dawn awaits- not a sun rise, but a galaxy rise. A morning filled with four hundred billion suns: the rising of The Milky Way." - Carl Sagan

[15:19] _MattyTÒ£eFarmer_: infinate
[15:19] _MattyTÒ£eFarmer_: u r smarter than me

User avatar
IrishStorm
CJ Newbie
CJ Newbie
Posts: 96
Joined: January 8th, 2009, 3:48 am
Location: Ireland
Contact:

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

Post by IrishStorm » April 27th, 2009, 5:36 am

i have to same problem with mine how did you fix it? it shows but i can not click it?
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests