Post: help
02-18-2012, 05:33 AM #1
|C++|
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); This is really basic but still confusing, i was doing some review when i stumbled upon this piece of code
    if (!( 1 || 0 ))
i genually dont understand this, i am told that this is true but the explanation is not very good.


oops i figured it out sorry for the wasted post,i should have analysed it a bit more, its obvious that 0 is read as false and even though there is a 1 there, there is a && symbol, meaning that both must be true and the number 0 means false.
(adsbygoogle = window.adsbygoogle || []).push({});
02-24-2012, 02:50 PM #2
BuC-ShoTz
TeamMvKâ?¢
exactly

if (not equals 1 or 0)

! = not
|| = comparative or
02-24-2012, 06:56 PM #3
|C++|
< ^ > < ^ >
Originally posted by ShoTz View Post
exactly

if (not equals 1 or 0)

! = not
|| = comparative or


Hey i was wondering if you could help me understand something, the code that you guys use to modify gsc files in mw3, what is it written in, i can barely understand it, what api or language is it written in, and how can i learn it, like the components of their engine? is there any manual or documentation?
02-24-2012, 07:26 PM #4
BuC-ShoTz
TeamMvKâ?¢
dude nobody is modifying code for mw3, that was just an arena file that guy posted, if you change one byte in the ff you will get black screen
02-24-2012, 07:27 PM #5
|C++|
< ^ > < ^ >
Originally posted by ShoTz View Post
dude nobody is modifying code for mw3, that was just an arena file that guy posted, if you change one byte in the ff you will get black screen


okay its the same question for mw2 then.
02-24-2012, 07:32 PM #6
BuC-ShoTz
TeamMvKâ?¢
Originally posted by SLiiTH3R View Post
okay its the same question for mw2 then.


that file is basically a configuration file for the different maps
02-24-2012, 07:49 PM #7
|C++|
< ^ > < ^ >
Originally posted by ShoTz View Post
that file is basically a configuration file for the different maps


that doesnt answer my question, i just want to know how they know the components,and what language its written in so if i wanted to modify it i could do so the same way i would be able to write my own c++ code. and never mind the maps, i mean like the mod menus and stuff like that. like how did you learn how to code for it. like if you asked me about what language i wrote this code in i would tell you c++. And i would tell you where i learned it (from books) .
02-24-2012, 09:01 PM #8
BuC-ShoTz
TeamMvKâ?¢
Originally posted by SLiiTH3R View Post
that doesnt answer my question, i just want to know how they know the components,and what language its written in so if i wanted to modify it i could do so the same way i would be able to write my own c++ code. and never mind the maps, i mean like the mod menus and stuff like that. like how did you learn how to code for it. like if you asked me about what language i wrote this code in i would tell you c++. And i would tell you where i learned it (from books) .


its not really documented, except on whatever is in the call of duty modding wiki.
the game scripting originated with quake c, but iw has made changes
02-24-2012, 09:10 PM #9
|C++|
< ^ > < ^ >
Originally posted by ShoTz View Post
its not really documented, except on whatever is in the call of duty modding wiki.
the game scripting originated with quake c, but iw has made changes


oooo so you pretty much try to learn what you can from the code itself, see how you can change it and keep it working with the help of cod modding wiki?
and its this wiki?You must login or register to view this content.
03-13-2012, 02:55 PM #10
Originally posted by ShoTz View Post
dude nobody is modifying code for mw3, that was just an arena file that guy posted, if you change one byte in the ff you will get black screen


So buc what you are saying we cant make mw3 mod menus

that sucks :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo