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

Members Online

»
0 Active | 46 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 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: QuakeC - the basics of CoD scripting
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 01:48 am
Could an admin or mod make this a sticky...

I have been researching QuakeC recently and I found a good site.
This is the starting place for anyone who is thinking about scripting in CoDs or other FPS games which use this language.

Here's three places you want to look before you get into scriptng things...


QuakeC Origins
This is just an explanation of what QuakeC is and how it came about.

QuakeC Specifications
Great documentation on the basics of using QuakeC for ingame scripting.
Everything from syntax to buildin funcions and how they are used.

Moving Things - CoD Tutorial
A tutorial with the basics of scripting for CoD.
Just to give you a better idea of what you're dealing with...


Enjoy, this should help many of you get started or improve your skills [cool]

Boom :)
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 04:00 am
helpfull, but QuakeC differs a lot from CoD scripting
Share |
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 04:10 am
QuakeC is the language used for cod scripting...
The only differences will be certain functions that may not be used in CoD...

This one does describe the used of QuakeC for the quake game, however the scripting itself will have no difference except for the original functions used...

I completely forgot that theres a list of functions used for the CoD games...

CoD Functions List
List of functions used in Call of Duty games...
Althogh its for CoD4, the majority of function should be avaliable to all the CoD games...


Add that and heres everything you need to script in CoD...
Ofcourse modsonline is here to help as well :D
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 04:21 am
CoD Functions List --> script docs

they don't contain many utility funtions
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 04:35 am
Scripting for QuakeC Defined (part 1)

Scripting for QuakeC Defined (part 2)
Share |
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 04:44 am
hold on, im getting ahead of myself here...
Next time Ill make sure I read everything propertly :/
Let me get this cleared up...

QuakeC revolutionized the way FPS games were programmed...
Based on that very language, most if not all FPS games use the QuakeC basics for the programming...

The language used is not QuakeC, however it is based on it.
All of the programming is done in a C based language with the modifications introduced in QuakeC...
The scripting is done pretty much the same or very similar way...
The point is that for anyone who wants to learn CoD scripting, this will provide a perfect intro and understanding of the basics...

Sorry if I confused anyone...
And thanks Sevenz, I didnt even know they had this on the website...

edited on Aug. 19, 2008 12:46 am by Gen_Boom
Share |
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 05:15 am
Sorry, but could someone actually delete this entire topic...
This was meant to help people, but Im afraid this discussion can confuse people...

I will repost the info later proparly so that it is easy to understand :/

Sorry for the trouble :(
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 10:05 am
Quote:
QuakeC is the language used for cod scripting


QuakeC is NOT the language used in the COD engine. It is closer to C++ than anything and that has been confirmed by IW themselves.

Quote:
The scripting is done pretty much the same or very similar way...
The point is that for anyone who wants to learn CoD scripting, this will provide a perfect intro and understanding of the basics..


I never learnt QuakeC when I started writing scripts for COD, I learnt C++. I had no problem learning COD script by taking that path.
Share |
Gen_Boom
General Member
Since: Apr 24, 2006
Posts: 80
Last: May 5, 2009
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Tuesday, Aug. 19, 2008 07:59 pm
yaa, i know now...

See while researching CoD scripting i found a link to the QuakeSpecs website an I assumed that it was the language used, which was obviously stupid...

I need to read up more about it before I repost this, cause I definiatelly shouldnt assume lol

My bad, but hey, were all human :P


And also since CoD4 doesnt use a quake engine like the first two games from the series, so next time ill just post it under the CoD2 section...
I obviously need more research [banghead]

edited on Aug. 19, 2008 04:03 pm by Gen_Boom
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD4 Scripting
Posted: Wednesday, Aug. 20, 2008 07:36 am
Gen_Boom writes...
Quote:
yaa, i know now...

See while researching CoD scripting i found a link to the QuakeSpecs website an I assumed that it was the language used, which was obviously stupid...

I need to read up more about it before I repost this, cause I definiatelly shouldnt assume lol

My bad, but hey, were all human :P


And also since CoD4 doesnt use a quake engine like the first two games from the series, so next time ill just post it under the CoD2 section...
I obviously need more research [banghead]

edited on Aug. 19, 2008 04:03 pm by Gen_Boom


COD1/UO used a highly modified RTCW (ID Tech 3) engine, but COD2 didnt. It used a proprietary engine IW built themselves. It was basically the baby version of the COD4 engine.

So, whatever you are going to post, please dont post it under COD2, because again, you would be wrong.
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

»