Jump to content

rainlash

Member
  • Posts

    124
  • Joined

  • Last visited

Posts posted by rainlash

  1. Thanks for the kind words! I'm glad you had fun playing through the game!

     I don't really have any concrete plans for a direct sequel to this project, but if I do ever get around to working on my next project, it'll almost certainly include a cameo or two.

    At one point, I did have plans for a Radiant Dawn/Tear Ring Saga-style sequel that would involve multiple parties/groups of characters (a rogue black ops squad from the Empire tasked with hunting down an ancient artifact on one hand and our Keralan/Confederacy heroes defending a besieged city on the other, but both find that a more sinister evil has awoken). Turns out I don't care much for writing character dialogue, so that's basically off the table for now.

    21 hours ago, Garlicbread621 said:

    Also, do Grandmaster mode enemies have Hard, Lunatic or their own stats? Asking cause out of all the modes ironically Grandmaster felt the easiest

    Grandmaster mode enemies have regular Hard mode stats, so I guess it makes sense that it would be the easiest. 

  2. On 12/6/2020 at 11:41 AM, Joshuafh said:

    I started playing this, and I have to say I really love it. Everything feels really balanced and fun, and the additions of things like AoE spells, long range & utility magic, and the turnwheel mechanic all feel really great. It's honestly the changes that I've always wanted in an FE game. Thank you for making this game.

    Right now I'm in the middle of chapter 8 and I got my first crash. I don't know if you're still taking crash logs, but here is mine:

    Don't worry, I still take crash logs. There are fewer these days, but every couple of months somebody manages to find something! 

    I did some investigation and it's actually caused by a weird interaction between the Fortune spell and unit's who cannot attack. The AI of the one enemy tactician with the Fortune spell breaks, because it can't determine how to add the +50 accuracy when the unit cannot attack at all (because they are Stunned, or because they have no weapons).

    Luckily, you can fix it on your end by just making sure to kill that Fortune guy before you stun anybody in his range.

    Alternatively, if you feel brave, you can change line 1000 of Data/items.xml to this:

    <custom_ai>not target.isDone() and target.accuracy(gameStateObj) is not None and target.accuracy(gameStateObj) &lt; 100</custom_ai> 

    Which should add a quick check that the unit actually has some hit rate to speak of to the Fortune's AI.

     

    And also, thanks for the review! I'm glad you like the game!

  3. 22 hours ago, radev1924 said:

    Why is there an empty deployment spot in chapter 6 did i miss a character?

    Don't worry, you have all the characters through Chapter 6! You have 11 characters at that point and I wanted you to be able to choose which side should have 6 characters and which should have 5 characters. So I gave both sides 6 deployment slots so you could choose.

  4. On 8/5/2020 at 8:02 PM, ughuuu said:

    Here's all of it. I get error 200 when uploading so ...

    Sorry about that. You have a slightly older version of the engine, which still had that bug. You can download the latest version of the engine and move your Saves folder over and everything should work.

  5. 15 minutes ago, Garlicbread621 said:

    Okay I just ran into an in game issue. The druid on the first island to the right on chapter 9 attacks me and every time that happens the game crashes. Has this been reported before?

    That sounds weird. I don't believe this issue has been reported before. If you go to your the_lion_throne/saves/ directory there should be a file named debug.log.1. (If you didn't start playing the game again). There's a debug.log.1 through debug.log.5. It saves the 5 most recent times you played the game. You can send me those and I should be able to tell from those what is causing the game to crash. 

  6. Hello all. Since I've gotten a lot of messages recently, I've decided to set up a discord server for anyone who's interested in working with the Lex Talionis Engine and/or is playing the Lion Throne or any of the other games made with the engine. If you have questions and don't want to wait for me to reply (since I only normally check this place once a day), you can throw a message on the discord server. Or you have comments or you want to share your work? That's cool too!

    https://discord.gg/nNBCUM7

    Anyways,

    2 hours ago, Garlicbread621 said:

    Hey Every time I close and open the game again my saves are deleted. I really wanna stop having to replay all these chapters over and over especially when my last run was wildly successful. Please help me fix

    What does your the_lion_throne/Saves/ directory look like? That's a really weird bug; I don't blame you for not wanting to replay chapters over and over again. 

    1 hour ago, nemid said:

    Just one question: I cloned the git repository, and I can edit things mostly fine. How do I create an .exe for a completed project? I tried double clicking on "build", but it just opened a command line with an error message that closed almost immediately.

    You need pyinstaller.

    pip install pyinstaller

    should do it for you. You might? also need the ogg vorbis audio_dlls in order for the game to play audio -- I ran into a bug once when I didn't include them in the build. You can grab them from the engine executable that I distribute normally. They are "libogg.dll", "libvorbis.dll" and "libvorbisfile.dll". 

  7. 13 hours ago, BBHood217 said:

    I've made a couple of new spell animations, as part of a set of magic reavers.  They can, of course, be used for other things.

    Neat! I gave them a test myself and they work great! I've added them to the repo under their original names (Elfire & Luna).

    Hopefully it didn't take up too much of your time and was rather straightforward how the spell animations work...

     

  8. 7 hours ago, FrankOfAltea said:

    I have a question. Will be a Linux version for this wonderful engine?

    That's not really in the plans -- I don't have a Linux machine, although I guess it wouldn't be hard to spin up a virtual Linux box. I figure basically everyone who uses Linux in this day and age can navigate git, python, and pip, which is really all you need to run both the engine and the editor. If you're a Linux boi, you'll probably want to mess around with the bare code anyway! Plus, I'm not sure if a build of Linux on one distro would transfer correctly to other distros.

    6 hours ago, Hibari Oozora said:

    A bit unrelated, but is it possible to have the weather particle effects (like snow) be present in scenic map scenes?

    No, I don't think it's possible to have the weather particle effects be above the scenic map scenes, unfortunately. You can use the `add_weather` command to ... add weather, but it only works on the main map, and backgrounds will be drawn above it.

    6 hours ago, Hibari Oozora said:

    Also, is there any fire map sprite or tiles in a directory that could be used to give the scene a bit more mood?

    I'm not quite sure what you mean by this... There is a "Fire" weather type copied from FE6, but I don't think this is what you mean.

    In other news, Hibari Oozora, you might be happy to know that there's a new build of the engine with support for vertical choice menus, thanks to TheeBill, who took the initiative and coded them up for me. You can find the information on how to use them on the wiki.

    See here:

    VerticalChoice.png.38451cb7d74d500796ccb41398527626.png

  9. 1 hour ago, TheeBill said:

    Found a bug while manually updating the font stuff on my build. Confirmed it exists on the official one:

    You right. Thanks! It should be fixed now. AFAIK, it actually existed only on the git repo and not in the most recent build. I just forgot to push my changes that I made for the build to the git repo.

  10. 27 minutes ago, Sealvester said:

    1. I know you've been toying with manaketes since I sometimes come across them when surfing through the code.  Does this mean you've figured out how to rig them into LT or is that still a WIP?

    It's definitely possible to put them into LT as is. Animations can have transform in and transform out poses, and you can access them by adding the "transform" component to an item (like let's say a Dragonstone). That should be all you need to make Manaketes work the way one would expect from the GBA games. Converting transforming animations from the repo using the animconversion utility is hit or miss -- Some of the animations seem to convert fine, but others just don't. YMMV.

    37 minutes ago, Sealvester said:

    Can you have range be based on a stat (like having Physic be based on the user's MAG)?  I'm guessing it's possible but I couldn't find any examples in the wiki.

    Right now, you can only make range based on a number or MAG/2. For instance:

        <item name="Physic">
            <id>Physic</id>
            <spritetype>Staff</spritetype>
            <spriteid>3</spriteid>       
            <components>spell,heal,uses,beneficial,map_hit_color,wexp,exp</components>
            <weapontype>Staff</weapontype>
     
            <uses>15</uses>
            <RNG>1-MAG/2</RNG>
            <value>250</value>
            <desc>Restores (User's Magic + 10) HP</desc>
            
            <heal>10</heal>
            <LVL>B</LVL>
            <targets>Ally</targets>    
    
            <map_hit_color>96,144,232</map_hit_color>
            <wexp>3</wexp>
            <exp>22</exp>
        </item>

    It's kind of janky. I'm exploring other ways of doing this for the future.

    38 minutes ago, Sealvester said:

    This one's a little wild, but is it possible to have a skill's activated_item use extra_select?

    That is a little wild, but no. Not possible right now. Activated Items use the same routine as selecting a unit for rescuing, trading, etc, and not the spell routine, so you're out of luck. If you wanted to mess with the code, it would be possible to change that -- like force the activated_item to enter the spell routine instead of the select routine if the item is a spell, but for now, not possible. 

  11. On 5/21/2020 at 10:49 PM, BBHood217 said:

    I've started adding spell animations, and I'm wondering if any new ones have been added in any newer version of the Lion Throne

    Nope! Adding spell animations is HARD WORK. 🙂

    On 5/14/2020 at 12:06 PM, Hibari Oozora said:

    Is it possible to order the choices vertically so it doesn't glitch out like this?

    I didn't see these edits? until just now. Uh, no not possible to reorder choices vertically in the base engine. So you gotta make sure your choices are small. I guess try and keep to yes vs no?

    The check should be:

    if;gameStateObj.game_constants['LanselotIntroduction'] == 'Forgive Me'
        s;Lanselot;Yay!
    end

    The choice the player makes is saved as the value associated with the key 'LanselotIntroduction' in game constants.

  12. 1 hour ago, FrankOfAltea said:

    Well, I think I've found a bug

    I'm not super well-versed in unicode..., since I just learned about it to enable the non-ASCII characters in the engine. My guess is that the bug is likely caused by your input not actually being valid unicode "utf-8". From my understanding, unicode is a multi-byte codec, which means each unicode character (or byte) is actually followed by another marking character (byte) (except the basic ASCII characters). Your error says "invalid continuation byte", which leads me to think that it is not being correctly followed by the right character.

    "0xed" in unicode should be í , right? There are other subcodecs, like ""latin-1" that have "0xed" also meaning í , but without the continuation byte. Maybe your file is actually in that format? Try changing the format of your text file?

    Otherwise, you can send me the script that the engine was reading when it crashed, and I can take a look.

    26 minutes ago, Hibari Oozora said:

    no "otherTurnChangeScript"

    Yeah, there's no other turn change script. I figured any user could just move it to the start of the player phase, like you've thought of.

  13. 9 hours ago, BBHood217 said:

    I noticed while playing Absolution that the world map text doesn't seem to have all the letters.  And sure enough, Label_white which has the text is missing some letters.  Would it be easy enough for me or others to fill in the rest of the letters, as the space for them seem to already be there?

    Yes. I only grabbed the letters that were available from the Sacred Stones world map. So the letters in "Renais", "Frelia", "Grado", "Carcino", etc. Obviously, a lot of letters are never used; If you want to add the rest, feel free and thanks!

  14. 7 hours ago, FrankOfAltea said:

    I've been looking for that fonts, and I've got some of them

    These were helpful. I ended up drawing a bunch of my own custom bitmap characters to go along with these, which I'm releasing with the latest build, v0.9.3.20.

    Lex_Talionis_2020-05-10_20_43_42.063472.png.0064c825971f96bec3348ec4813080e5.pngLex_Talionis_2020-05-10_20_43_44.470248.png.b60c5ea9c8d38205999e48f4c00b1cb3.pngLex_Talionis_2020-05-10_20_43_46.222728.png.206e7d849c5d20011939793b4724c472.pngLex_Talionis_2020-05-10_20_43_48.886322.png.0fc869e325bfefd299bc9bb7fd5b4314.png

    Unicode should also now work both in event scripts and in-game.

    Lex_Talionis_2020-05-10_20_45_09.280311.png.5a85c1c54c2a975172f4c48cac8ed78c.png

    Although it's not super well-tested, so use it sparingly. UTF-8 should work everywhere, but there's no guarantee.

    Obviously only the letters I bothered to draw will work, of course -- not every UTF-8 character. Here are the one's I drew.

    Info_Black.png.c3e18223b72a5a679fb75e22ff5cdb23.png

    Other fixes include two new unit tags: "IgnoreBonusStats" and "IgnoreBonusGrowths", which prevent a unit from receiving difficulty bonuses. And there should be some recent bug fixes as well. Tell me if there are any more!

  15. 1 hour ago, ZessDynamite said:

    The engine is crashing because weird stuff happens when you use the 'interact_unit' command in a fightScript; when you do that it starts a round of combat in the middle of another round of combat. To my knowledge there's no way to have a regular, non-cutscene fight be scripted, so you'll probably have to go without the event combat for now and remove 'interact_unit' in the fightScript (though I'd wait for rainlash to get back to you on this).

    Yes, this is correct. Thanks for helping out, ZessDynamite! Basically, you've put two combat states on the stack, but the engine can only have one combat instance at a time. So you overwrite the first combat instance (the natural, normal one) with a new combat instance (the event one), which is fine. But then, when that one ends, the state stack wants to go back to the previous combat state, but the old combat instance has been overwritten in the meantime, and so crash. 

    The way I implemented scripted combats in the Lion Throne was kind of janky in retrospect (I only used it for the prologue), but here goes. If you don't use the Level Editor (because the Level Editor will likely overwrite this change), you can modify the UnitLevel.txt file for the associated level directly.

    Here's an example of the first enemies' definitions in the Lion Throne

    # First enemy
    enemy;0;E1;Fighter;f1;eIron Axe;0,0;Pursue;Soldier;Maximum HP -5
    # Second enemies
    enemy;0;E2;Soldier;f1;eSlim Lance;0,0;Pursue;Soldier

    You can see that their weapons have an "e" prepended? That means "event", and it will force all combatants in combat with them (and themselves as well) while their using that item, to Hit if at all possible.

    1 hour ago, Hibari Oozora said:

    Oh but I'm also wondering why the Boss fight convo was had in the normal map instead of the actual battle screen. I just checked out if it would sort itself if I removed the scripted combat and still both the pre battle and the death quote is on the normal map screen.

    Boss fight convos are always done in the normal map instead of the battle screen. This is because conversations were added to the engine way before full combat animations, and I never bothered to go back in and modify when to do boss fight convos. I may consider adding it to the to-do list, but I don't honestly don't think it makes much of a difference...

     

    On 5/4/2020 at 11:21 AM, FrankOfAltea said:

    I don't know how to say it but, I want to make a petition: Could you add UTF-8 text char for dialogues and units?

    I know that this engine is used by (like 95%) English speakers, but It could be great if we have special chars too like 'ñ', 'á', etc...!

    I also want this. It's on the todo list, but would be made faster if someone could get me all the bitmaps for each of the new characters (both uppercase and lowercase, and for as many font types as possible). I'm not a good GBA hacker, so I don't know where I would look for the base font bitmaps. Once I have the bitmaps, its trivial to support UTF-8 for conversations and units, items, statuses, etc.

  16. On 5/1/2020 at 1:03 PM, TheeBill said:

    Found a bug with the LevelEditor. It crashes when I try to delete factions.

    Thanks for the bug report. I've fixed it in the git repo. When I have more changes, or just in a couple of weeks, I'll go through the whole build process.

    8 hours ago, El Grillo said:

    My question is, in the scripting file, does the engine support parsing variables into the in-game output? For example, here's the current script I'm using

    Yes, it does. You can check out, for instance, the "Level0/attackScript.txt" that comes with the Lion Throne. Simply put, you can add  "s;Jane;I am level {eval: self.unit.level}." to display the unit's current level. Just wrap the python command you want to evaluate in a "{eval: my_python_command}" syntax.

  17. 3 hours ago, Hibari Oozora said:

    So where can I check what's causing the engine to crash? There must be a crash log right?

    The crash logs also appear in the Saves/ directory. The most recent one is always named "debug.log.1". You can scroll all the way to the bottom to see the error message that caused the crash.

  18. On 4/24/2020 at 12:54 PM, El Grillo said:

    EDIT: I'm currently on CH.3 and enjoying the game so far. I had a question about Aura skills, is the effective range marked in purple when hovered over? If so, what are the rules for how many tiles an Aura will effect? It doesn't seem to be either 3 tiles in all directions, or the equivalent of a 3-tile move (or else I'd expect the tiles N-E-E and W-S-S of the selected Shaman to be affected).

    All Auras in the Lion Throne are standardized to range 3 (3 tiles in all directions) to make it easier on the player to remember. But, like ranged attacks in the Lion Throne, Auras are affected by line-of-sight. So the wall is blocking the spread of the aura.

    7 hours ago, Hibari Oozora said:

    Since the level editor needs a pre made image file to start, I hope there's a relatively easy way to make these images.

    I personally used the Tiled Map Editor https://www.mapeditor.org/ , along with a little bit of GIMP, to make the maps in the Lion Throne. You can download my collection of tilesets here: https://www.dropbox.com/s/e4h3by9pcrrhtr6/TileSets.zip?dl=0  . I would choose a tileset, make the map in Tiled, export it as an image, and then do any final touch-ups with GIMP.

  19. 12 hours ago, kdports said:

    Is this something I messed up? I'm gonna look at the code, but I'm a bit confused.

    Likely a problem with the unit id. What's happening is the preloaded level you are using has some unit_id defined that is no longer defined in the "Data/units.xml". So the engine fails to find a unit matching that id. Make sure all the unit "names" in the preload_levels.xml (they're really the unit ids) are defined in the units.xml. 

  20. 22 hours ago, Reyvadinvmax said:

    Is it possible to have self inflicted damage after a use of a weapon or a combat art, and if so how would I go about that.

    Not really. I incorporated the ability to make "devil axe" chance to kill oneself component, but no generic self damage component. This is on the todo list.

    22 hours ago, Reyvadinvmax said:

    Also, is it possible to make it so that residual/overmap damage will not kill a unit and instead leave it at 1 HP in a similar vein to Fates/3H.

    No. I can consider adding this to the engine though.

     

    7 hours ago, OnionBro said:

    I tried opening the editor that comes with the git version, but it just crashes on launch and closes the console, so i don't know what causes this behaviour.

    Do you have pyqt5 installed? Sometimes you also need regular Qt5 installed -- it seems to depend on how pyqt5 was installed on your system.

    7 hours ago, OnionBro said:

    I decided to try the normal downloadable editor, which seems to work fine, but crashes whenever i try to load music.

    The editor might need the "Audio/music" and "Audio/sfx" folders to exist in order to load music correctly -- That's a bit of an oversight on my part but can you try adding those in?

    7 hours ago, OnionBro said:

    Also,  when i start the game with main.py there is no sound, even with all the settings turned up.

    The Git repository does not come included with audio, since the audio for the Lion Throne game is over 100 MBs. You'll need to download that separately: https://www.dropbox.com/sh/slbz2t7v1fc6uao/AACiznGLm442qcdOAGbQtnmwa?dl=0

     

  21. 9 hours ago, CompleteNoob said:

    It seems that if one presses the INFO key while in the unit menu, it causes the came to freeze and crash, and gives out this error

    Thanks for the bug report. It's now been fixed on the main git repo.

    You should have also needed to import CustomObjects before your change works.

    9 hours ago, CompleteNoob said:

    This seems to be the sort of thing to post here. If not, could someone direct me to a better location

    I guess the "official" place would be the Gitlab issues, but I honestly don't check that as much as I check here, so this is fine. You can also PM if its something small.

  22. 4 hours ago, BBHood217 said:

    It seems to work just fine.  But is there a way to make it check for a skill instead of a tag?

    Assuming your skill's ID property is 'NoSwiping'

    STEAL_DEF = 1000 if 'NoSwiping' in [s.id for s in unit.status_effects] else SPD

    This also works (alternative way of writing the same thing):

    STEAL_DEF = 1000 if any(s.id == 'NoSwiping' for s in unit.status_effects) else SPD

     

    Assuming you gave a skill the component steal_immune (so you could have several different skills that share the steal_immune component)

    STEAL_DEF = 1000 if any(s.steal_immune for s in unit.status_effects) else SPD

     

  23. 4 hours ago, TheeBill said:

    What exactly is causing these messages? My OS is windows 10. Is %1 some sort of Linux holdover that is incompatible?

    I wish I could tell you more, but I honestly don't know. On both my machines that I test compatibility with, they are able to load the compiled C modules just fine. After doing some research, my understanding is that somewhere in your stack there is a 32-bit vs 64-bit mismatch. My OS is also Windows 10 (obviously 64-bit), my Python (3.7) is 64-bit, and the compiled C code is 64 bit. If you are using the executable version, that should all be the same and you should not run into any problems. If you are not using the executable version, maybe your version of Python is 32 bit?

    But I honestly don't have a very good idea. Luckily its probably not a big deal. You'll run into speed issues if you have big auras or spells with line of sight, or greater than 15 movement, or the map gets too big (bigger than say 60 by 40), but otherwise everything should work fine.

  24. 41 minutes ago, BBHood217 said:

    Is there a way to impose a limit on stealing?  Like the thief can only steal an item if their con is equal to or greater than the item's weight?  Or perhaps a skill that protects whoever has it from all stealing attempts?

    There's no way to have a thief only steal an item if their con is equal to or greater than the item's weight. Right now the only item discrimination that is made in the steal routine is whether you have the steal constant set to 0 or 1 (0 for GBA style, and 1 for the Lion Throne style).

    But you can make a unit immune to having their items stolen. There are two equations defined in Data/equations.txt. STEAL_ATK and STEAL_DEF. If STEAL_ATK is greater than an enemy unit's STEAL_DEF then you can steal from that unit. Right now they both are set to be SPD, so that like normal Fire Emblem, if SPD is higher, you can steal. Just change STEAL_DEF to:

    STEAL_DEF = 1000 if 'NoSwiping' in unit.tags else SPD

    and then give the unit you wan't to be immune to stealing the NoSwiping tag (or you know, you can name the tag whatever you want). Hopefully that helps.

×
×
  • Create New...