get me straight

  • Thread starter Thread starter feener
  • Start date Start date
F

feener

Guest
ok guys, say i learn C++ ( which i have started briefly , i know the basic of the basics ) after that could i start coding a mod or would i have to learn something else ?

wot im trying to say is , is opengl a different language coz if it is there is no point in learning C++ ?

fenner
 
OpenGL is a graphics programming language that u dont need to worry about if your programming a mod :) Unless your like Majestic and want to write their own shader.

Obviously I wouldnt try writing a whole mod. But I found that the HL1 mod tutorials were good, and unlike writing a full program you could see your results easily.

Unfortunately this may require more knowledge then u currently have. You need to know about Object Orientated programming mainly. I would look at fixxxer's coding tutorials (I cant remember where they are). www.cpluplus.com 's tutorial will provide you with enough to get started.
 
OpenGL is not a programming language in the slightest.

OpenGL (Open Graphics Library) is an application programming interface. It can not be used on its own, instead it must be used with a language that the openGL libraries have been implemented in.

Some Languages with OpenGL Implementations:
C\C++
Java
Fortran
Perl
Pike
Python
Ada

Some OpenGL Links:
http://nehe.gamedev.net/
http://www.opengl.org/
http://en.wikipedia.org/wiki/OpenGL
 
ok thanks for the help wilco and u 2 akrin , btw wilco my real sir name = fenner and my nickname is feener ;) , ill get my head stuck into them tutorials right away
 
You don't need to know OpenGL to create shaders in HL2. HL2 uses HLSL for its shaders (High Level Shader Language). It's a relatively new language that is used to simplify the process of writing shaders. Prior to HLSL and CG (another shader language) shaders were written in a language similar to Assembler, which, if you take the time to learn about, you will realize why games used very few shaders prior to the advent of HLSL and CG.

Anyway. Basic knowledge of C++ and Object-Oriented Programming (OOP) is needed to make a mod for half-life. However, that's not all there is too it. You'll have to learn the commands and functions that are part of HL's engine in order to actually mod the game.
 
You definately don't need to learn OpenGL because Half-Life 2 is written in DirectX :P. Mostly to make a mod you need to know C++. Of course you also need to figure out how the engine works ( like Cyanide said ), but focus on learning C++ first.
 
Back
Top