MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
AntonioGas... [Downl]
=DBD=St.Sa... [Tutor]
Dumdrum [Tutor]
LibraNL [Today]

4 Members and 9 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Sunday, Jan. 4th
MODSonair 161 Live
Friday, Jan. 2nd
MODSonair Episode 160
Thursday, Jan. 1st
HAPPY NEW YEAR MODSONLINE AND ALL
Sunday, Dec. 28th
MODSonair 160 Live
Saturday, Dec. 27th
MODSonline Holiday Pwnage
Latest Poll
Modsonair audio or video?
Video from here on. 48.15%
Sticking with audio. 3.7%
Either is good. 18.52%
What is modsonair? 29.63%
Read More...
4 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
Zombie camera pan
CoD:WW Zombie/Co.. Posts: (2) Views: (10) by Pointy
Start at level 15
CoD:WW Zombie/Co.. Posts: (2) Views: (21) by Pointy
Adding Subtitles to Talking AI
CoD 2 Single Pla.. Posts: (2) Views: (77) by galentv
Noob Ambient Need Help
CoD:WW Multiplay.. Posts: (1) Views: (4) by Shrapnel101
Google 468 Banner Half-Life 2 Mods for Dummies
CoDWW Download
Forums
MODSonline.com 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 Level Design
CoD mapping and level design.
Moderators: foyleman, rEdrUmMDK, Foxhound, Wyatt_Earp, Rasta, StrYdeR, The_Caretaker, Cypher2004, supersword, supersword, batistablr, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: How to create command?
Maciusiak
General Member
Since: Apr 29, 2008
Posts: 18
Last: Dec 23, 2008
[view latest posts]
Level 1
Category: CoD Level Design
Posted: Monday, Aug. 11, 2008 08:45 am
Hi, how to create command for CoD console??
Thx for reply.
Maciusiak
General Member
Since: Apr 29, 2008
Posts: 18
Last: Dec 23, 2008
[view latest posts]
Level 1
Category: CoD Level Design
Posted: Monday, Aug. 11, 2008 09:04 am
OffTop: Sorry for double topic. My IE sends 2 topics at the same time.
bertyball
General Member
Since: May 20, 2006
Posts: 40
Last: Aug 22, 2008
[view latest posts]
Level 2
Category: CoD Level Design
Posted: Monday, Aug. 11, 2008 11:09 am
sry, have the same proble mas you, double post ^^

edited on Aug. 11, 2008 11:11 am by bertyball
bertyball
General Member
Since: May 20, 2006
Posts: 40
Last: Aug 22, 2008
[view latest posts]
Level 2
Category: CoD Level Design
Posted: Monday, Aug. 11, 2008 11:10 am
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
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 74
Last: Aug 20, 2008
[view latest posts]
Level 3
Category: CoD Level Design
Posted: Monday, Aug. 11, 2008 04: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

Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty : CoD Level Design
All logos and trademarks and information in this site are property of MODSonline LLC © 2009.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Art of War Central
Partners
Battle for Europe COD2
The Firing Box
CODAddicts - Call of Duty News & Downloads
XoXide
modbase.be
Frag Universe
Call of Duty Headquarters
Ask About
Advertising
Friends
Canada Kicks Ass Clan
After Life Gaming
Great Gamer
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 160
MODSonair Episode 159
MODSonair Episode 158
MODSonair Episode 157
MODSonair Episode 156
Next Show
The next MODSonair show will air LIVE on:
01/11/2009 12:00 EST

Time remaining:
Copyright © 2009 MODSonline
Tresware Content Management System Copyright © 2009 Tresware
Website Designed and Hosted   Tresware