View Full Version : The language the MP engine was written in?
Guest
04-14-2003, 09:24 PM
Just out of curiosity, what programming language was the Max Payne Engine written in?
I assume C/C++ since it is one of the most popular and portable languages for all kinds of software;
So..... what language?
poo_al
04-14-2003, 10:23 PM
C++. You can see that they have objects communicating with each other if you toggle the console once in a while.
People don't use C as much these days.
biXen
04-15-2003, 01:08 AM
Yup, almost everything is Visual C++ or similar these days.
Omario
04-15-2003, 04:52 AM
no one seems to understand the difference between the Max code and C++, what you see on the console is the Max code,it is a code developed using C++. The Max code is really easy to use. The commands make sense unlike C.
EDIT: Pool_al, is that really you in the avatar?
A firm-breasted, Max Payne-playing babe from Canada... never saw it coming... images/icons/grin.gif
[ 04-15-2003, 04:55 AM: Message edited by: Omario ]
biXen
04-15-2003, 05:21 AM
Omario: wouldn't call that code, that's scripting. That's what most modders get to modify games.
theHunted
04-15-2003, 06:00 AM
still the max-fx scripting is quite similar to c++ at certain points.
especially fsm commands like
xyz->blabla(1, 2);
do have exactly the same syntax.
in c++, "->" would mean calling a function or method called "blabla" on the pointer "xyz" with the 2 arguments "1" and "2". and i think thats also the way max-fx scripting is internally working.
they might just be handling those commands as some form of pre-processor text which is inserted into the source 1:1 before compiling.
hopefully i didnt scare too many people with my, a little bit too, technical analysis images/icons/smile.gif
biXen
04-15-2003, 06:24 AM
IMO it doesn't matter, Actionscript (Flash) and Javascript (Netscape, etc.) also basically is the same "syntax" as C++ , but it's still scripting, and it's not really object-orientated. At least not beneath the theorethical levels. I get your point, but it's not really a point. If you know VB you can easily adapt to Javascript, Java, C++, and vice versa mostly, they are all pretty similar. But between Max's scripting and C++ there are huge differences which you know.
theHunted
04-15-2003, 06:41 AM
Originally posted by biXen:
If you know VB you can easily adapt to Javascript, Java, C++, and vice versa mostly, they are all pretty similar. But between Max's scripting and C++ there are huge differences which you know. <font size="2" face="Verdana, Arial">vb is completely different if i remember the old days again images/icons/smile.gif
i know, max-fx scripting is a scripting language they invented and that it doesnt stand in any relation to regular c++ or any other software developing languages. i was just pointing out that i personally was rather suprised about some of the similarities to the syntax of the script. although c++, java and other languages have their similarities they dont use exactly the same syntax (which max-fx scripting does at certain parts)
biXen
04-15-2003, 06:49 AM
They probably did it intentionally, since the whole scripting is really based around programming logics, which makes it far less confusing for us newbs images/icons/tongue.gif
Maddieman
04-15-2003, 08:29 AM
The "Remedy Script" used in the game database is not a programming language. It's more like a script for defining values and default behaviors.
It is not case sensitive
It has basic #define and #include support
Strings can be used without double quotes if they don't contain spaces.
// and /* */ are used like in C style commenting <font size="2" face="Verdana, Arial">
poo_al
04-15-2003, 05:49 PM
Originally posted by Omario:
EDIT: Pool_al, is that really you in the avatar?
A firm-breasted, Max Payne-playing babe from Canada... never saw it coming... images/icons/grin.gif <font size="2" face="Verdana, Arial">Neither did I. images/icons/wink.gif
No, that isn't me images/icons/frown.gif . In fact, you've inspired me to add a link to my signature detailing some informaton about Ms. Bewbiez.
biXen
04-16-2003, 01:21 AM
Originally posted by poo_al:
</font><blockquote><font size="1" face="Verdana, Arial">quote:</font><hr /><font size="2" face="Verdana, Arial">Originally posted by Omario:
EDIT: Pool_al, is that really you in the avatar?
A firm-breasted, Max Payne-playing babe from Canada... never saw it coming... images/icons/grin.gif <font size="2" face="Verdana, Arial">Neither did I. images/icons/wink.gif
No, that isn't me images/icons/frown.gif . In fact, you've inspired me to add a link to my signature detailing some informaton about Ms. Bewbiez. </font><hr /></blockquote><font size="2" face="Verdana, Arial">Bah, you keep distracting me with that picture, it's like.......... what the hell was I talking aboobs?
tommulder
04-16-2003, 04:24 PM
yea its damn distracting... heh so distracting ive come over from the MP Modding section images/icons/blush.gif hehe
neeek
04-17-2003, 02:17 AM
man your avatar of the big jugs babe is really sexy. sooo how the hell did you get that pic eh? it looks like that pics taken where she's on the cpu and using the webcam to chat to ppl and such. most of these webcam pics are on profiles from yahoo chat or msn chat and so so.
im gonna tell you right now that the gal in your avatar is sooo my type of gal. dark hair, eyes, great body and not too skinny cos i hate the skinny anorexic crap and looks very toned n full figured images/icons/smile.gif and the boobs arrrrrr
(drools) my guess is hers are 38dd. i like them a lot higher and larger than that size let me tell you images/icons/wink.gif
everyone, put all your babe avatars on your post thing and really get attention.
there was this babe avatar i saw at max payne headquarters forums and this avatar was a babe who was really blonde n had brown eyes and look similar to the singer anastacia. man i wanna marry that chick that looks like that avatar, the blonde one that is.
maybe yours too poo-al.
if anyone from mpheadquarters that knows of this avatar of that blonde pic in the forums plssss tell me and let me know images/icons/smile.gif cos she's hot.
poo_al
04-17-2003, 06:31 PM
Originally posted by biXen:
</font><blockquote><font size="1" face="Verdana, Arial">quote:</font><hr /><font size="2" face="Verdana, Arial">Originally posted by poo_al:
</font><blockquote><font size="1" face="Verdana, Arial">quote:</font><hr /><font size="2" face="Verdana, Arial">Originally posted by Omario:
EDIT: Pool_al, is that really you in the avatar?
A firm-breasted, Max Payne-playing babe from Canada... never saw it coming... images/icons/grin.gif <font size="2" face="Verdana, Arial">Neither did I. images/icons/wink.gif
No, that isn't me images/icons/frown.gif . In fact, you've inspired me to add a link to my signature detailing some informaton about Ms. Bewbiez. </font><hr /></blockquote><font size="2" face="Verdana, Arial">Bah, you keep distracting me with that picture, it's like.......... what the hell was I talking aboobs? </font><hr /></blockquote><font size="2" face="Verdana, Arial">http://forums.3drealms.com/ubb/icons/icon122.gif http://forums.3drealms.com/ubb/icons/icon122.gif graemlins/love.gif graemlins/nelson.gif
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.