Results 1 to 7 of 7

Thread: Modding a game written in Pascal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi!
    I'm afraid that just seeing famine code won't be enough. Why? From what I can tell from this "famine" code game heavily relies on various variables which together form complex "Game State" information that is that used by "Game State Engine" to do most game logic. So I fear that in order to help you better I would have to study large part of this "Game State Engine".

    By the way which game are we talking about here?

  2. #2
    Quote Originally Posted by SilverWarior View Post
    Hi!
    I'm afraid that just seeing famine code won't be enough. Why? From what I can tell from this "famine" code game heavily relies on various variables which together form complex "Game State" information that is that used by "Game State Engine" to do most game logic. So I fear that in order to help you better I would have to study large part of this "Game State Engine".

    By the way which game are we talking about here?
    Thanks you so much for the reply SilverWarior!

    The game is called Cossacks 3, have you heard of it?

    The dev said to make the units health drain, you should write your code in nothing.inc, next to famine check (use it as example). He said the famine code should get me started so use this as an example because essentially draining units health is similar to the famine code when food runs out units start to die. I attached the whole nothing.inc file to hopefully decipher it.
    Attached Files Attached Files

  3. #3
    Quote Originally Posted by PascalNewb View Post
    The game is called Cossacks 3, have you heard of it?
    Wait! Cossacks 3 is made with Pascal?
    I now know which game is the next in line for buying.
    I spent many joyful times playing the first Cossacs game. So if this one is as fun as the first one was I will probably enjoy this one as well. And if it is so easily modable as you say this might be the first game for which I might try to make some mod of my own (need to play it first).

    Any way I will take a closer look to see if I can lend you a helping hand. But I'm not making any promises.

  4. #4
    Quote Originally Posted by SilverWarior View Post
    Wait! Cossacks 3 is made with Pascal?
    I now know which game is the next in line for buying.
    I spent many joyful times playing the first Cossacs game. So if this one is as fun as the first one was I will probably enjoy this one as well. And if it is so easily modable as you say this might be the first game for which I might try to make some mod of my own (need to play it first).

    Any way I will take a closer look to see if I can lend you a helping hand. But I'm not making any promises.
    Yeh it sure is! It's really easy to mod because all the files are external and not part of the engine locked up so you can access and change almost anything, for example one of the players made a mod which you can zoom all the way out and get a birds eye view of the map so now you can control your formations a lot better. So glad you remember the first one! A lot of people playing Cossacks 3 are totally new to it all, if you get it you should come and play online, some of the multiplayer games are unbelievable, you really have to be smart with your formations and attack/defense tactics, I've played a few games that have gone for 3 hours, not even kidding you!

    I'd love to learn about Pascal and how you can work these things out!

  5. #5
    Interesting, what kind of script it is? Pascalscript (http://www.remobjects.com/ps.aspx) ?

  6. #6
    Quote Originally Posted by JC_ View Post
    Interesting, what kind of script it is? Pascalscript (http://www.remobjects.com/ps.aspx) ?

    That's a good question, unless the game developer uses their own tools, a lot of game developers just code their own programming tools, unless they just recompile each time, I know the same developer did this with the original Cossacks game.

    I just have to start learning Pascal, it seems like a fairly straight forward programming language, the simple stuff is anyway, I think what I am after is a lot more complex

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
  •