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

Members Online

»
0 Active | 47 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP 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
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: How to create command?
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD Mapping
Posted: Monday, Aug. 11, 2008 12:45 pm
Hi, how to create command for CoD console??
Thx for reply.
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD Mapping
Posted: Monday, Aug. 11, 2008 01:04 pm
OffTop: Sorry for double topic. My IE sends 2 topics at the same time.
Share |
bertyball
General Member
Since: May 20, 2006
Posts: 40
Last: Aug 22, 2008
[view latest posts]
Level 2
Category: CoD Mapping
Posted: Monday, Aug. 11, 2008 03:09 pm
sry, have the same proble mas you, double post ^^

edited on Aug. 11, 2008 11:11 am by bertyball
Share |
bertyball
General Member
Since: May 20, 2006
Posts: 40
Last: Aug 22, 2008
[view latest posts]
Level 2
Category: CoD Mapping
Posted: Monday, Aug. 11, 2008 03:10 pm
witch command do you need? Server commands, gameplay?
or do you mean create your own command?
I think that you have to create an gsc in the gametype folder
but i don't know exactly
Share |
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Monday, Aug. 11, 2008 08:48 pm
Yes, if you're using it for a custom map than you will have to define the cvar inside your mapname.gsc file...

setcvar("command", 0);

This function sets a new cvar "command" with an initial (default) value of 0...

getcvar("command");

This one retrieves the current value of the cvar...

The setting can be:
an integer (-1, 0, 1... etc)
a float (-0.1, 0.0, 0.1... etc)
a string ("someword")


Here's a recent topic about using custom cvars from the UO section:
http://www.modsonline.com/Forums-top-85149.html

Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD Mapping

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

»