Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 3 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: I need scripters (Quickmessage Menu) not very much
koen80
General Member
Since: Jun 20, 2008
Posts: 23
Last: Oct 26, 2010
[view latest posts]
Level 1
Category: CoD2 General
Posted: Friday, Sep. 25, 2009 09:39 pm
Heey guys, im looking for 1 or 2 scripters who can script this for me.

Player Menu :::::
1. Refill Grenades * Freeze Controls 15 seconds *
2. Refill Smoke Grenades * Freeze Controls 15 seconds *
3. Refill Ammo Primary * Freeze Controls 20 seconds *
4. Refill Ammo Secondary * Freeze Controls 10 seconds *


I wanna have the player menu at no. 4 in the Quickmessage Menu. If you help me, you will get credits for it in the mod Messages.
Share |
JerryTube
General Member
Since: Mar 4, 2007
Posts: 88
Last: Jul 1, 2013
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 General
Posted: Saturday, Sep. 26, 2009 07:11 am
Im not going to do it for you but ill put you on the right path.
You can learn alot from the stock scripts..
The menu files you want are located in ui_mp and ui_mp/scriptmenus
vm_quickmessage.menu is the first one you have to edit by adding a new itemDef with the action(execkey) of opening your new quick.menu, have a look at it and learn the syntax.
Second you will have to copy one of the quick.menus from ui_mp/scriptmenus (this is your new one stated above) and rename it and edit it so there are only 4 scriptmenuresponses.
And finally you will have to edit maps/mp/gametypes/_quickmessages.gsc
precache your new menu, copy one of the original threads paste it rename it to your new menu name.
Change
Code:
	if(self.pers["team"] == "allies")
	{
		switch(game["allies"])		
		{
		case "american":
			switch(response)


To
Code:
	if(self.pers["team"] == self.pers["team"] )
	{
	
			switch(response)		
			{

delete all the "case" functions except 1,2,3,4.
And create a thread for each function you want done, then call the thread from each "case".
I know its confusing but once you learn it yourself its soo much easier
Good Luck
-MrCache


edited on Sep. 26, 2009 03:12 am by Mr.Cache
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»