Results 1 to 9 of 9

Thread: How to cross a river

  1. #1

    Default How to cross a river

    I'm a beginning modder and I want to replay a historical battle, namely the Battle at the Sabis of Julius Caesar, it's for a school project.
    I'm fiddling around with the battle editor, but an essential part of the battle is that troops cross the river, multiple times and across the whole length of it.

    Now I know this can be done, because it's done in the historical battle at the river Trebia, Roman troops cross the river there.
    I've found the spot where that's done and when I use that map I can cross the river too, but just on two places and only those places.
    Height doesn't seem to matter, when I raise ground somewhere else, they don't want to cross and when I lower the ground on the two places, they STILL want to cross there, only they drown in the process.

    So my conclusion is that such things are defined somewhere else, outside of the normal editor, my question is -where- and how I can change that to my liking.

    Thanks in advance

  2. #2

    Default Re: How to cross a river

    Actually, the only thing I need is that troops can move through water.
    Normally you get a cross when you try to move them there and pathfinding avoids water.
    I want that GONE. I want them to treat water like normal ground. I don't care if it screws up the rest of the game.

    There must be someone who knows how to do that?

  3. #3
    Member Member Horseman's Avatar
    Join Date
    Jan 2008
    Location
    Bristol, UK
    Posts
    159

    Default Re: How to cross a river

    Have you got BI? If so, could you use that as the basis for the battle and give all the types of units used in the battle the attribute that allows them to swim accross rivers (I'm not sure what its called but you can look it up in descr_units)

  4. #4
    Senior Member Senior Member Ibn-Khaldun's Avatar
    Join Date
    Aug 2007
    Location
    Estonia
    Posts
    5,489
    Blog Entries
    4

    Default Re: How to cross a river

    Quote Originally Posted by Horseman
    Have you got BI? If so, could you use that as the basis for the battle and give all the types of units used in the battle the attribute that allows them to swim accross rivers (I'm not sure what its called but you can look it up in descr_units)
    Its called can_swim

  5. #5
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: How to cross a river

    one foot at the time ...

    maybe this can be of some use;
    http://www.twcenter.net/forums/showthread.php?t=55785


    G

  6. #6

    Default Re: How to cross a river

    Unfortunately, that guide says nothing about inserting rivercrossings.

    What swimming concerned, it seems to work remarkebly well, with units just charging through the river (cause I don't want them to swim) if the water's shallow enough.

    Just two problems left, mostly because of inexperience:
    I need units from RTW not from RTW-BI so I need swimming to work in the RWT editor or to import RTW units into the one of BI. Or could I model everything in RTW editor, change some things hardcore style and then play it in BI?

    Second, I still don't know really where to add the can_swim command, I couldn't even find the descr_units file

    So I need some handles here, every help is very appreciated

  7. #7
    Member Member Horseman's Avatar
    Join Date
    Jan 2008
    Location
    Bristol, UK
    Posts
    159

    Default Re: How to cross a river

    AFAIK you'd have to play it in BI, if you look in the tutorials sub forum you should find a tutorial for using RTW units in BI (its not too complicated)

    Sorry my bad the file is actually called export_descr_unit and is found in the data folder (obviously BI/data for BI)

    If you look throught the file you can find a unit that has can_swim and you'll see how it works

  8. #8
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: How to cross a river

    You can play RTW through the BI.exe so you don't need to move units around

    see https://forums.totalwar.org/vb/showp...tcount=1219905
    for how to set that up.

    Then follow instructions above about adding can_swim to RTW units.

    Only other things you might need are BI animations moved to RTW folder (not sure on that one) and adjustments to UI interface to get the logo for swimming.



    It would be better and easier if you set up your game in mod-folder and make all the changes in that.
    Not used mods before? Looking for something small and fun?!
    Download the:

  9. #9

    Default Re: How to cross a river

    Thanks for the help people, I'm positive I can solve this now

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