Will civ 5 use c++

Narnia

Prince
Joined
Nov 19, 2009
Messages
513
My school canceled the elective I was planning on taking so I have to choose another one. One of the options is c++ and I seem to remember that civ5 uses c++ is; this true or am I just not remembering it correctly. If so, will people be able to mod civ5 if they know c++? If so, I would have great motivation in taking a class on c++ because it is something I would use, otherwise, I really would't have much use for it.
 

xcrissxcrossx

Prince
Joined
Jun 16, 2007
Messages
314
Location
Indiana
Civ V will probably use C++, but no promises.

You ought to take it either way. Learning a programming language is a great skill, and once you learn one, you can learn almost any of them. If it doesn't use C++, just take the class, learn how to program and learn the language that it ends up using.
 

Narnia

Prince
Joined
Nov 19, 2009
Messages
513
web design and fine art
I took all the good classes in 9th and 10th grade :(

PS: I DON'T like art
 

Kordanor

Warlord
Joined
Sep 4, 2010
Messages
210
C++ is a great choice. If you know the basics of C++ you also know the basics of most other programming languages. php being one of them as it's "simplified" just c++ code mixed together with html.
I'd vote for C++ every time.

Most stuff in civ5 will be in LUA though afaik. While it's not "as much C++" as php, I'd still say that taking c++ will make you understand LUA.
 

deanej

Deity
Joined
Apr 8, 2006
Messages
4,859
Location
New York State
Why would most modding be in Lua? Why tack your stuff on when you can bend the game to your will with the SDK (once it's out... why are they waiting to release it?)? I expect Lua to be for civ5 as python was for civ4: events (random and triggered), stuff that's so small it isn't worth it to mod the SDK for, stuff you can't figure out how to do in the SDK, and UI.
 

Dale

Mohawk Games Developer
Joined
Mar 14, 2002
Messages
7,450
Civ5 will be using XNA so that it is cross compatible with xbox, Windows and Windows Phone. :p

But seriously, Visual Studio 2008 has been confirmed, so it will either be C++ or C#.
 

Tridus

Warlord
Joined
Oct 5, 2007
Messages
132
web design and fine art
I took all the good classes in 9th and 10th grade :(

PS: I DON'T like art

C++ is definitely a more useful skill then "web design". Web development is comparatively much easier and something that anybody who knows a C language can pick up.

(A LOT of other programming languages are similar to C and C++. If you know those you can learn almost anything else.)
 

cdcuase

Warlord
Joined
Oct 26, 2005
Messages
136
Did Firaxis give up on Python? I remember when Civ4 came out they were boasting that parts of it were written in Python (much to a lot of people's chagrin)
 

Narnia

Prince
Joined
Nov 19, 2009
Messages
513
I don't know, the only specifics on modding I've been able to find is that in the technical requirements it lists something about c++.
PS: How hard is C++ to learn? I've done some limited XML before and found that easy, compared to that, how hard is c++
 

Tridus

Warlord
Joined
Oct 5, 2007
Messages
132
I don't know, the only specifics on modding I've been able to find is that in the technical requirements it lists something about c++.
PS: How hard is C++ to learn? I've done some limited XML before and found that easy, compared to that, how hard is c++

XML isn't actually a programming language, it's "markup" in that you just put tags around data to say what it is.

C++ is a programming language. You're writing commands to tell the computer what you want it to do, in terms the computer understands. Here's a very simple example:

int x = 2;
int y = 5;
int z = x + y;
printf("2 + 5 is %d", z);


That will print out "2 + 5 is 7". Obviously programs of any real complexity get MUCH bigger and more complicated, and C++ is not one of the easiest languages out there to learn. But that's part of what makes it a good course to take. If you know it, you can learn almost anything else.
 

allypower

Warlord
Joined
May 26, 2010
Messages
161
Now I'm officially confused. I THOUGHT that Civ 5 is written in Lua, now someone is saying it's in C++. So are we going to mod in C++ or in Lua?
 

Narnia

Prince
Joined
Nov 19, 2009
Messages
513

Sphinx

Warlord
Joined
Oct 12, 2004
Messages
118
Location
Estonia
Good language to start with is C or Java. Then later on C++ and C#(basicly same as java :p). Not sure about the other ones, pyhton for example, getting more popular but im unfamiliar with it.
 

Narnia

Prince
Joined
Nov 19, 2009
Messages
513
THose aren't options for me, my school only offers c++
 

Dale

Mohawk Games Developer
Joined
Mar 14, 2002
Messages
7,450
Summary:

Game code/AI code: C++
GUI/event handlers: Lua
Data: XML
 

Sphinx

Warlord
Joined
Oct 12, 2004
Messages
118
Location
Estonia
Well, if you know any programming language learning a new one isnt that hard. Start with C++ if you must, but it weould be better to start with C (i bet they start with C if its a basic class)
 
Top Bottom