ToEEZWB - pet project

Discussion in 'Tech Guides and Help Threads' started by anatoliy, Nov 8, 2017.

Remove all ads!
  1. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    Wow... This is a lot of info. I have to parse it. Thank you!
     
  2. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    Existing of original world editor WorldEd changes a lot. Main point is that this pet project ToEEZWB is not required and is only tiny addition to the original map creator.

    Nevertheless, the ToEEZWB could be useful for some actions. Therefore, I will continue, though with much less eagerness, to develop the app.

    It’s a surprise to me, that ToEE engine is just an upgrade of Arcanum engine. I love the latter game btw. Arcanum WorldEd manual reveals more basic stuff than sophisticated post of Shiningteg. That is nice.
     
  3. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    255
    One thing you could do that ToEE can't is make the isomtric angle an editable option, I don't know if you saw this post in the IWD:ToEE Conversion thread at all...
    If you bare with me, if altering the angle for the 3d graphics is doable, then altering the angle for a WorldEd rewrite would also be required if anyone were to try making a mod with maps from a game that uses an isometric angle far removed from 45° (Fallout for example uses 35° angle maps), just a thought.

    And a straight top-down view would make adding modules designed for tabletop games far simpler to import into ToEE's engine, I'm sure there are plenty of maps online for pnp modules that could work well if there were a map editor that didn't rely on 45°(ish) isometric maps.
     
  4. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    Perhaps @Sitra Achara could reveal his magic tricks in Temple+? ))

    I can hypothesize, that it mostly 3d objects rendering parameters that are altered. All background, tiles and so forth still could be hardcoded as 3/4.

    How would it change your routine though is hidden to me.
     
  5. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    255
    Mine? It wouldn't, lucky for me IWD's maps are close enough to ToEE's native isometric angle that the difference isn't even noticable, but it would open up other isometric rpg's for possible conversion.
     
  6. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    I believe, IWD map conversion could be automatized to some point. At least background and the doors problem.
     
  7. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    Help New Map Publishing

    I need help publishing copy of map. I do follow “Tutorial: How to Make a new Map” but without luck. Can you help me with that @Allyx ?

    Parameters:
    a) new map name: myTower
    b) Clone from MOATHOUSE_02_Tower
    c) new (max 5199) Map ID: 5199
    d) new (arbitrary?) 2D Map ID: 0231 \ 1231

    Steps as from tutorial
    1. edit modules\ToEE\rules\MapList.mes
    Copied original line:
    {5003}{MOATHOUSE_02_Tower, 467, 490, Flag: DAYNIGHT_XFER}
    Into end as:
    {5199}{myTower, 467, 490, Flag: DAYNIGHT_XFER}

    2. edit data\mes\map_names.mes
    Copied original line:
    {5003}{Moathouse Tower}
    Into end as:
    {5199}{myTower}

    3. edit data\rules\MapLimits.mes
    Copied original line:
    {5003}{2040,-11774,-2040,-15106}
    Into end as:
    {5199}{2040,-11774,-2040,-15106}

    4. edit modules\ToEE\art\ground\ground.mes
    Copied original lines:
    {0025}{MOATHOUSE_02_Tower-day}
    and
    {1025}{MOATHOUSE_02_Tower-night}
    Into end as:
    {0231}{myTower-day}
    and
    {1231}{myTower-night}

    5. Copy grounds
    Copy ground\MOATHOUSE_02_Tower-day to ground\myTower-day
    Copy ground\MOATHOUSE_02_Tower-day night to ground\myTower-night

    6. Copy map folder
    Copy maps\MOATHOUSE_02_Tower to maps\myTower

    7. copy townmap (minimap)
    Copy ToEE.data_unpacked\townmap\5003 to \townmap\5199

    8. edit maps\myTower\map.prp using ToEE World Builder NET2.exe and set 231 as 2D Entry.

    9. Clear cache -> delete all files from modules\toee\maps (leave folders though)

    10. run toee.exe using TFE-X.exe. Game is starting longer (cache affected?). load game from Game Shop.

    11. command: game.fade_and_teleport(0,0,0,5199 480, 480)

    Game Crush!

    Thanks in advance,
    A

    1. Thanks to @marc1967 advice it works now.
    1.1. Fix by changing new Map ID to 5199
     
    Last edited: Nov 22, 2017
  8. marc1967

    marc1967 Established Member

    Joined:
    Jan 19, 2014
    Messages:
    706
    Likes Received:
    112
    I could be wrong, but i think 5199 is the highest map number you can use.
     
    anatoliy likes this.
  9. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    Yes, @marc1967 , you are right. Changed to 5199 and it worked like a charm! Thank you!!
     
  10. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Bear in mind that WorldBuilder is and always will be an independent effort that's superior to WorldEd in a lot of ways (good documentation vs. no documentation, far less crashy, built-in proto editing ability, etc.), so improving it wouldn't be a lost cause by any means. I know I would have killed for a visual sector editor back when I was using it for that.
     
    anatoliy likes this.
  11. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    255
    FYI Sitra Achara has mentioned the posibility of increasing the maximum number of maps in Temple+, but this has so far not come to pass.
     
  12. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Yeah I just changed the 3d render view angle. I guess several other transformations would need adjustment as well. But tbh since the IE games are graphically compatible anyway it's not a worthwhile endeavor - that's at least 3 more games that could be converted without jumping through that hoop.
    IIRC it was a crash in the townmap system, should hopefully be fixable. But again it doesn't seem very crucial since IWD is being made for plain ToEE and no one else is making extra content for ToEE that I'm aware of. If / when it becomes actually relevant I'll give it more attention.
     
  13. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    @Sitra Achara, would you be more specific regarding where exactly to look in temple+ source. Even more, what were your parameters.

    I do agree about endevour. But it would be nice to at least have experimental temple+ build.
     
  14. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    201
    Apparently map 5199 is not as safe as it seems.
     
  15. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    I think I changed the projection in camera.cpp.

    The 5199 thing was a bug in the WotGS map, yeah.
     
Our Host!