Results 1 to 12 of 12

Thread: i want to ask you..pls enter

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    EVYATAR's Avatar EvyatarNevoDesign
    Join Date
    Jul 2008
    Location
    Israel
    Posts
    1,378

    Default i want to ask you..pls enter

    hi to all!
    i start in my high school to learn about C Programming.
    i know now how to use torbu c++ program.
    so my question is, are it good for coding in mtw? what i can to do with my knowledge in C Programming with the TOTAL WAR games?

    thank for the attantion
    R.I.P Blackomur | The Shadow of Ishtar | Proud to be israeli
    My Tutorial | My Workshop | I.A.F Web | 2D Artist & Skinner

  2. #2
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: i want to ask you..pls enter

    little.
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  3. #3
    EVYATAR's Avatar EvyatarNevoDesign
    Join Date
    Jul 2008
    Location
    Israel
    Posts
    1,378

    Default Re: i want to ask you..pls enter

    maybe you can to give a little more infomation???
    R.I.P Blackomur | The Shadow of Ishtar | Proud to be israeli
    My Tutorial | My Workshop | I.A.F Web | 2D Artist & Skinner

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: i want to ask you..pls enter

    c++ (or any other programming language for that matter) is of no practical value when trying to do modding for M2TW. The only thing it will help with is introduce concepts like variable (equivalent to counters), loops and if statements which you will use if you decide to do any scripting.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  5. #5
    EVYATAR's Avatar EvyatarNevoDesign
    Join Date
    Jul 2008
    Location
    Israel
    Posts
    1,378

    Default Re: i want to ask you..pls enter

    so it will help me more to make some tools for MTW? and not real modding?

    and thank
    R.I.P Blackomur | The Shadow of Ishtar | Proud to be israeli
    My Tutorial | My Workshop | I.A.F Web | 2D Artist & Skinner

  6. #6
    TSD's Avatar Ordinarius
    Join Date
    May 2008
    Location
    Chicago, IL
    Posts
    725

    Default Re: i want to ask you..pls enter

    To elaborate as a software developer myself, C itself will not help you at all for total war.

    While certain OOP concepts are similar to all OOPL's i.e an if statement, while loop, do while, case statement etc.

    There are things you can/can't do or have to simulate from language to language. i.e. there is no string type in C, so you have to define char text[5]; (type, variable name, length) whereas in java for example you would just type String text; and assign it any length text string you want C is more finiky, add into that you have to manage memory in C.

    Now lets look at the MTW2 scripting language, it isnt C (you will see things like while loops and if statements it is OOP). Add on top of that it has its own objects and functions. that arent anything present in the standard C libraries.

    Even if you know C, you cant just jump into a large C application that may be rife with custom libraries, and just expect to know what everything does because you know C. You need to dig into it and learn what everything does.

  7. #7
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: i want to ask you..pls enter

    Quote Originally Posted by TSD View Post
    To elaborate as a software developer myself, C itself will not help you at all for total war.

    While certain OOP concepts are similar to all OOPL's i.e an if statement, while loop, do while, case statement etc.

    There are things you can/can't do or have to simulate from language to language. i.e. there is no string type in C, so you have to define char text[5]; (type, variable name, length) whereas in java for example you would just type String text; and assign it any length text string you want C is more finiky, add into that you have to manage memory in C.

    Now lets look at the MTW2 scripting language, it isnt C (you will see things like while loops and if statements it is OOP). Add on top of that it has its own objects and functions. that arent anything present in the standard C libraries.

    Even if you know C, you cant just jump into a large C application that may be rife with custom libraries, and just expect to know what everything does because you know C. You need to dig into it and learn what everything does.
    You don't seem to be overly familiar with programming concepts. The concepts of if and while are basic programming concepts and every single programming language will have them, usually expressed as the theoretical concepts of conditionals and repetition. The only concepts that are particular to OOP are the concept of a structure containing both data and actions which act on that data, dynamic binding and inheritance/polymorphism.

    Further your answer didn't really deal with the question. Will learning C help with learning to mod, and as I answered previously the only help it will give is that it will teach the concepts of conditionals and repetition, variables, function calls and parameters. Obviously as the scripting language in M2TW/RTW is not C++ the actual implementation details will vary but the concepts will be the same.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  8. #8
    TSD's Avatar Ordinarius
    Join Date
    May 2008
    Location
    Chicago, IL
    Posts
    725

    Default Re: i want to ask you..pls enter

    Quote Originally Posted by Sqυιd View Post
    You don't seem to be overly familiar with programming concepts. The concepts of if and while are basic programming concepts and every single programming language will have them, usually expressed as the theoretical concepts of conditionals and repetition. The only concepts that are particular to OOP are the concept of a structure containing both data and actions which act on that data, dynamic binding and inheritance/polymorphism.

    Further your answer didn't really deal with the question. Will learning C help with learning to mod, and as I answered previously the only help it will give is that it will teach the concepts of conditionals and repetition, variables, function calls and parameters. Obviously as the scripting language in M2TW/RTW is not C++ the actual implementation details will vary but the concepts will be the same.

    Hey I went to school for computer networking(which honestly I am worse at), and ended up with a development job, I dont claim to know everything . Ive never even glanced at any non-object oriented language (save for a bit of COBOL). To think, people pay me for this
    Last edited by TSD; October 08, 2010 at 10:34 AM.

  9. #9
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: i want to ask you..pls enter

    Yes it will help if you want to write a tool. For example if you click the tools and tutorials link in my sig, all of those tools were written in a language called C#, a language that's a hybrid of C++ and Java. The basic concepts of programming will transfer from language to language even if the actual details and syntax differ.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  10. #10
    EVYATAR's Avatar EvyatarNevoDesign
    Join Date
    Jul 2008
    Location
    Israel
    Posts
    1,378

    Default Re: i want to ask you..pls enter

    really thank you Sqυιd for the information
    R.I.P Blackomur | The Shadow of Ishtar | Proud to be israeli
    My Tutorial | My Workshop | I.A.F Web | 2D Artist & Skinner

  11. #11
    gracul's Avatar 404 Not Found
    Artifex

    Join Date
    Dec 2007
    Location
    Poland
    Posts
    2,009

    Default Re: i want to ask you..pls enter

    Basically, you'll be a lot less prone to errors in your MTW2 scripts, and... you'll tear your hair out because of how limited this scripting language is.

  12. #12
    EVYATAR's Avatar EvyatarNevoDesign
    Join Date
    Jul 2008
    Location
    Israel
    Posts
    1,378

    Default Re: i want to ask you..pls enter

    thank and i have the same question but it about the Assembly language.
    i also learn this...srry to be annoyed
    R.I.P Blackomur | The Shadow of Ishtar | Proud to be israeli
    My Tutorial | My Workshop | I.A.F Web | 2D Artist & Skinner

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •