Results 1 to 30 of 41

Thread: EB/EB2 New Unit Thread

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member AngryAngelDD's Avatar
    Join Date
    May 2006
    Location
    Dresden, Saxony, Germany
    Posts
    95

    Default Re: EB/EB2 New Unit Thread

    Quote Originally Posted by I Am Herenow
    Mods help to extend the life of a game - they are, in effect, free expansion packs - and some people might actually buy "yTW" not to play the game itself, but to play the latest version of their favourite mod!
    for me this is a main reason why the game publishers/developers should make their game as mod-friendly as possible.
    a lot of companies recently discovered this, as there are games still in development and have mod´s for them already in production.
    even more...the developers invited the mod-makers to use the game´s SDK.

    this brings a community to a game....and a community makes more people to buy the game....

    so it would be very smart for CA/SEGA to help the best modding crew´s with improved/open game code.

    on the other hand, CA´s xTW engine is very advanced. so giving away the code could spawn more competitioning games....but even this might be an advantage for the gamer....competition improves products...


    AADD

    P.S.: sorry for bad english

  2. #2

    Default Re: EB/EB2 New Unit Thread

    What is SDK?

  3. #3
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: EB/EB2 New Unit Thread

    SDK = Software Development Kit. I assume he means the source to the game engine, giving the ability to change that code rather than just the data the engine uses. We have no access to that with EB.
    Last edited by bovi; 06-08-2007 at 20:20.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  4. #4

    Default Re: EB/EB2 New Unit Thread

    I see. Also, as we're on the topic of techy stuff, what exactly does a game engine do? In other words, if I had the C (or whatever) code for RTW in front of me, deleted it all, pasted in the code for DOOM or something, would it work? Or would you need to go even "deeper" and change the engine? Indeed, what is the difference between the engine and the source code for the program (or game, in this case) itself?

  5. #5
    Krusader's Nemesis Member abou's Avatar
    Join Date
    Mar 2006
    Posts
    4,513

    Default Re: EB/EB2 New Unit Thread

    That is a complicated question. Wikipedia has a good article on the subject so my suggestion is to check it out.

    http://en.wikipedia.org/wiki/Game_engine

  6. #6
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: EB/EB2 New Unit Thread

    Well, if you intended to delete all the game code in the first place, you can do as well with the blank sheet that you have now. That question of yours really is quite meaningless...

    But yes, you would need to go deeper, reading the code to understand how it works and then make the changes you want (quite like what modders have done with the exported data for traits, script, unit models etc btw). This is not a quick process, but can be a lot less painful if you have the documentation at hand.

    Understanding the difference between source code and a game engine requires a bit of technical knowledge. Source code is human readable for those who know the syntax, while the game engine is compiled code. An example of source code could be:

    Code:
    loop
    start turn
    if(player owns all cities in victory conditions)
       play victory sequence
    else if(player has no cities)
       play defeat sequence
    end if
    allow user input
    end turn
    do computer movements
    end loop
    This of course is extremely simplistic, and utter bollocks, as there is no interpreter that can make the computer understand what I want it to do. In essence, a valid source code can be compiled by an interpreter to create a machine readable program, in this case the RTW engine. There are lots and lots of programming languages, each with its own compiler.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  7. #7

    Default Re: EB/EB2 New Unit Thread

    I see, so for RTW, say, or M2, or any other game, do the developers have 3 separate files for the game's source code, the .exe itself and the game engine code, with the .exe and engine being released to the public?

  8. #8
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: EB/EB2 New Unit Thread

    Err... The source code is likely to be thousands of files, referencing eachother. The exe is the compiled code (including the game engine, code for showing menus, copy protection etc), sometimes along with DLLs (Dynamically Linked Libraries), JARs (Java ARchives), SO (Shared Objects), ActiveX or whatever it's called on the operating system and programming language in question.

    Every other file is data, loaded by the executable. Taking RTW as an example, RomeTW.exe is the compiled code. Among other libraries it uses mss32.dll, which is the Miles Sound System packaged for inclusion anywhere (you'll see this in many other games too). It also has a number of configuration files such as preferences.txt and version.inf. And a whole lot of data files, which you can see under Data.

    Anyway, the original question has been answered, and I won't explain more of the composition of computer programs. You can spend some time on online tutorials instead if you want to know more about how it works or learn how to do it yourself.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO