Help me Pick programming Language!

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
SilverSix311





Posts: 19
Joined: Mon Mar 21, 2005 4:01 pm

Help me Pick programming Language!

Post by SilverSix311 »

Hello,
I am not new to the modding community at all i have been modding since halo 1, but i don't know anything really about hex except swapping the hex values to change the projectiles and such easy things. I have used many programs such as HMT and ADI and Insolence and all that jazz. I am now interested in looking into making my own programs and i would also like to reverse engineer the halo maps and such. I would like to know of all the things i should know/learn in order to start modding and creating apps for such things. Also a good descriptions on where to find "Tutorials" and other such things.
Thank you,
SilverSix311
Image
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

Image
User avatar
DEEhunter





Posts: 897
Joined: Sun Jun 19, 2005 4:04 pm
Location: 127.0.0.1
Contact:

Post by DEEhunter »

Yea C# is best
Image

Deviantart | My City | Wmclan | Gamertag | [url=irc://irc.halomods.com/melon]#melon[/url]
Evan





Posts: 105
Joined: Fri Oct 26, 2007 1:26 pm
Location: Indiana

Post by Evan »

Yes, C# is a great language to start with, but it would also benefit you a great deal to learn C++ or C. It would be nice to have some more people who can program and make applications in a more powerful, flexible language. C++/C is harder though and takes patience and determination to learn. My best advice for programming is reread things that don't make sense and experiment with code.
User avatar
[cc]z@nd!




Literarian 500

Posts: 2297
Joined: Tue May 04, 2004 1:52 pm
Location: michigan

Post by [cc]z@nd! »

as far as I know the syntax between C# and C/C++ is very close, although i've never coded in it so i can't be sure. C# seems to be the main modding language here, so if you want to do modding, you'd want to look that up, but if you're looking at learning any of the other C's, i'd recommend C++ over C because of improvements such as strings (instead of char arrays) and classes (C only has struct, right?).

one thing i recommend is knowing the difference between binary, hexadecimal, and decimal. even better if you can convert from one to another in your head/on paper, so you won't have to go through the trouble of pulling up a converter when you have to work with the different values.

it might not be necessary to learn how to convert from one number system to another, but i'm sure you'll find it useful.
ASPARTAME: in your diet soda and artificial sweeteners. also, it's obviously completely safe. it's not like it will cause tumors or anything. >.>
always remember: guilty until proven innocent
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Learn the basics first..hexdecimal, bytes, how your code get's translated etc.
...left for good
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

yea if you cant read hex then it wont help you to muc to know a language.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

[cc]z@nd! wrote:as far as I know the syntax between C# and C/C++ is very close, although i've never coded in it so i can't be sure. C# seems to be the main modding language here, so if you want to do modding, you'd want to look that up, but if you're looking at learning any of the other C's, i'd recommend C++ over C because of improvements such as strings (instead of char arrays) and classes (C only has struct, right?).

one thing i recommend is knowing the difference between binary, hexadecimal, and decimal. even better if you can convert from one to another in your head/on paper, so you won't have to go through the trouble of pulling up a converter when you have to work with the different values.

it might not be necessary to learn how to convert from one number system to another, but i'm sure you'll find it useful.
For the most part, C# is more similar to Java than it is to C or C++, aside from the basics (conditionals, braces, datatypes etc...) which pretty much mean the same in all languages.

I would highly recommend C# for learning, and then C++ after you've developed good programming skills and wish to have more power and control over your code.
medp





Posts: 13
Joined: Sun Dec 24, 2006 1:42 pm

C#

Post by medp »

Definitely C#, its not just the fact that the syntax is very easy, and would help with making your code more readable, so many others use c#, that if you have a question, almost all of the experienced programmers will be able to help you
User avatar
Prey




Connoisseur Snitch! Pyre Articulatist 500

Posts: 1026
Joined: Wed Dec 27, 2006 6:49 am
Location: UK
Contact:

Post by Prey »

[cc]z@nd! wrote:i'd recommend C++ over C because of improvements such as ... classes (C only has struct, right?)
Yes. Although in C++ the only difference between a struct and a class is that structure members have public access by default, whilst class members have private access by default.. >_<
Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Post Reply