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

Members Online

»
0 Active | 27 Guests
Online:

LATEST FORUM THREADS

»
Call of DutyŽ: WWII
CoD WW2 General
SOF2 Prefabs map
SoFII Mapping
coduo mapping tools
CoDUO Mapping

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 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Adding to an existing mod.
CynePhoba
General Member
Since: May 23, 2013
Posts: 1
Last: May 23, 2013
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Thursday, May. 23, 2013 07:53 pm
Hey guys.

I have a mod that i am making a few modifications to (just adding code for the purpose of our servers needs..not editing previous code.) All credit goes to the original mod developer.

Anyway. I have the code that i need for one part of it, and that is all working properly. I have run into a problem though.

I need to find out when a client dvar stops equaling a value, and either change it back, or do something "annoying" until they change it back (to force this value.)

I understand there is no straight way to find a client dvar. I found some code that blurs the screen when the client dvar is not equal to a certain value, but it uses menu files. In fact, the only way that i can find to get client dvars uses .menu files.

The problem that i face is that the mod is already compiled. I know you can add .gsc files to the mod once it is compiled, but i'm just wondering if there is any way that you can add .menu files to the mod once it is compiled? And if you just add the file in the /ui_mp/scriptmenus folder, do you need to load/precache the file?

Any help is appreciated.
Thanks,
SuperNova.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

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

»