Announcement

Collapse
No announcement yet.

Anyone available to do some modding scripts?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by LDiCesare
    The code snippet I put above shows how to create units. It's a bit more complex than PW because you must create them somewhere, is slightly more lengthy because you have to loop through players yourself but is basically the same.

    For starting units, you can do it more easily in civ4 than CtP because you just need to change some xml file (can't remembre which) if I'm right.
    Thanks

    In CTP all I needed was this SLIC, say spawn "X" tanks when I built barracks per turn

    But I know little to nothing about code, only used small templates.

    It took a while but am pretty fluent on setting on scenarios, such as extra gold for a terrain, excluding units , removing the abilities for units to pirate or pillage, now thats a bit tough, you need to go through manually and remove those commands.

    Again, thanks for the feedback sir, allways a pleasure to try to learn!
    Hi, I'm RAH and I'm a Benaholic.-rah

    Comment


    • #17
      It shouldn't be too hard to get into python/xml if you learnt SLIC. One very good reason for that is that many CtP2 modders influenced Civ IV and its scripting abilities.

      The thing is you can do so many things you may sometimes get lost. Value modifications (yield of gold per turn, building effects and such simple things) go in xml files, the rest into python. But even the amount of xml files is quite impressive.
      Clash of Civilization team member
      (a civ-like game whose goal is low micromanagement and good AI)
      web site http://clash.apolyton.net/frame/index.shtml and forum here on apolyton)

      Comment


      • #18
        FYI, if you have questions about the specific desire in the OP, this is very similar to what Jon created in the Genghis Khan scenario in Warlords (a unit spawns units, ie the camp). I suggest looking at how he handles things in that script - he has interesting ways to accomplish things sometimes
        <Reverend> IRC is just multiplayer notepad.
        I like your SNOOPY POSTER! - While you Wait quote.

        Comment

        Working...
        X