Jump to content

temnix

Modders
  • Posts

    1,229
  • Joined

  • Last visited

Everything posted by temnix

  1. I don't think this is practical. I ended up making the creature hurt itself instead - put a bouncing spell chain on it, with the final spell to cast back Self targeted with damage.
  2. temnix

    Also this

    Maybe not as interesting as the other one, but here it goes: with Teleport Field the game engine counts distance from the position of the target creature at the time the effect is directed at it, not at the time it actually applies. I mean the Delayed/Permanent duration: if you put Teleport Field on someone delayed by, say, 60 seconds, enter maximum range 0 and walk him around, when the time comes he will be transported within 0 points of the original location - that is to say, teleport right back. I discovered this by trying to move creatures whom I gave No Collision Detection from unpassable terrain where they occassionally ended up. Creatures can't walk ON TO cliffs and water, there is no space to click, but they can be moved across them, and the problem was that they were getting stuck there at the end of the movement, after No Collision expired. I had a hunch that putting a little Teleport Field on them after they had rematerialized would eject them to the nearest patch of passable terrain, and I put it on them timed, but instead they reappeared at the point their trip started. I realized that instead of Delayed/Permanent TP I would need to use a secondary spell: cast it at Delayed/Permanent and put inside an Instant/Permanent TP. That indeed does the job and rescues people from impassable places.
  3. Or you could give XP to the dead. Normally characters who die in the big boss fight miss out on the experience, but the connection remains here for healing even after they die, it's probably possible to channel them some XP the same way. Cast it on them beforehand. I haven't tested it, though. Or you can use the reverse of this mechanism - 366 on Preset target, but the spell would have effects for Original caster. You could make spies out of people this way, for example. Cast it on a number of perambulating NPC and let them gather XP for the caster when they move. Or use this in a wide AOE that can be thrown across a dungeon and applies the Wizard Eye effect to creatures. As they walk, they will reveal terrain around them, in a sort of "look through their eyes" telepathy.
  4. A few more details about this. This property of 366 can be used in a cycle, recasting itself to work continuously. When a spell is set to cast itself at Instant, an infinite loop will result and the game will crash, but not if it is applied at Delayed/Permanent by, say, 1 second. In combination with 366 it becomes possible to have a constant linking effect between two creatures, one of whom will keep feeding the other by moving. For example, I'm using this to make an "energizing" spell. One character casts SPELL 1, Living actor, containing Apply spell on movement, Self, SPELL 2, on the other. SPELL 2 has two effects: Current HP bonus, Preset target, Instant, 1 point, and Apply spell on movement, Original caster, Delayed/Permanent, SPELL1. This will restart the cycle. Now the first character can run around and every second that he does the other one will be healed by 1 hp. I even checked "Raise dead" in the healing settings so that this energizing will run the companion out of the grave if he dies, but reduced the chance of healing from 100 to force more legwork, for hilarity.
  5. This is not a question, more of an answer. I found something interesting about effect 366, "Apply spell on movement," that I would like creative people to know about, should they decide to stop by this place. It turns out that if in a spell targeted at someone else this effect is put on Self, the caster can trigger it for the target by moving. In this case the spell is not applied to the caster at all. For example, if you put in a Self 366 casting a custom spell that does 100 points of damage, target someone with this as a Living actor, then walk, the other creature will explode and nothing will happen to you. I don't know if this is a bug or not, but it's wonderful.
  6. I'm looking for a way to prevent NPC from turning hostile when damaged by a friendly. Looking for suggestions. I've used Feeblemind before to temporarily block scripts, but it isn't working with the NPC I'm testing with (Tenya). She turns red as soon as Feeblemind wears off. I need to be able to do a point of damage to people without turning them into enemies. It's possible to use invisible minions for this, because they can be neutral and damage from them doesn't provoke hostility, but it's problematic.
  7. Leaving aside that this method would only be good for a specific creature, whom I could more easily convert to another specific animation than try to remove the old one, the item would be dropped on dying, together with the animation change. But I've handled this problem already. The change refused to go away when applied as a Delayed/Permanent effect. Instead I cast a subspell with that timing, and the subspell had the change with the Instant/Permanent timing. I managed to remove the animation by targeting the subspell instead of the original.
  8. I need to turn someone into a fat man, permanently in and out of death, until such time as a special removal effect is applied. Can that be done? This opcode has three options, two of which, in principle, could fit the bill - "Permanent change" and "Temporary change." Since the creature is not supposed to revert to the old shape on dying, though, duration in any case has to be Instant/Permanent, and I can't seem to remove that with anything - neither with "Remove effects by resource" nor "by opcode."
  9. I would like to display some custom characters in texts. Not replace fonts but show something like, let's say, Windings symbols from Windows in a description or dialogue, or another character set. Can that be done?
  10. I had a long nice answer written here, addressing some of the objections, but the fucking editor of this board went and deleted the text. Hooray! DavidW is right, though, this is not about SCS. Keep calm and carry on, as they say.
  11. There is no need to use scripts with this. Effects are enough. And it is true that for counterspelling opposing a spell of one caster with another spell or the same spell of a different caster (depending on the system one has in mind) would be both difficult to implement and not useful. Characters memorize spells for a reason, to achieve something with them, and expending one's Mirror Image to prevent somebody else's Mirror Image is a dubious proposition in most situations, to say nothing of less common spells. I have, however, sketched a counterspell system myself some time ago, and while I'm not going to finish it as a mod, I can tell the curious how to implement counterspelling without much hassle and with use. 1. The basic principle: opposition schools cancel each other. Never mind particular spells and text information. Casting glows are sufficient. To stop a starting spell of Alteration, cast anything from Abjuration on anyone. This will, among other things, make low-level spells useful even at high levels. Carry around Friends to cancel Fireball, for instance. On the other hand, long and unwieldy high-level spells may be useful for quick counterspelling, and a limited assortment of powerful spells would find more application. 9th an 8th wizard spells are not numerous to begin with and one comes by them slowly, so it is quite possible to go around with just Wish on page 9 and no desire to summon that stupid pseudo-genie. Or with Incendiary Cloud and no opportunity for wholesale destruction. If Incendiary Cloud could counter any Enchantment/Charm spell instantly and if Wish could counter any spell at all, players would get a bit more breathing space. 2. Implementation: patch all spells that are not from the GENERALIST school with two global effects, applied during casting. The first is a combination of rare spell states unique for every school. Let all Abjuration spells put the caster under EYE OF STONE, HOPELESSNESS and ARMOR OF FAITH. Duration should be the same as the spell's casting time, and here a good specialist on Weidu would come in handy to automate this, fetching casting times and changing the spell states' durations to match, perhaps. This prepares the caster for being countered. The second global effect is for countering: "Apply Effects List" - > Everybody - > Enemies -> (Spell) "Apply Effects List" - > Preset target - > Spell state 1 of the combination for Abjuration - > (Spell) "Apply Effects List" - > Preset target - > Spell state 2 and so on. Now casting the spell will break Alteration for all enemies. The last spell in the chain should include a "Damage" to Original caster, 0 points, or another interrupting effect so that the Abjuration spell ends on distupting someone. For limitations one can introduce some range limits in one of these spells. If breaking all Alteration spells that might be going by one casting of Abjuration is too much, insert another subspell in the beginning of the chain. Instead of "Apply Effects List" - > Everybody use "Cast spell at Point" - > Self, and here put an area of effect, for example, equal to sight range. That's about 550 Explosion size in the PRO. Or limit countering in another way: in the final spell put effect 206 or 318, targeted Everybody, blocking this spell. Now only one enemy caster who might be in the middle of an alteration will be distrupted (the nearest one). This system's flaw is obviously that counterspelling is not optional but happens between any opponents casting from different schools. Characters would have to be aware that their spells may cause other ongoing spells to fizzle instead of achieving the end result. No trying Finger of Death when someone is in the middle of Illusion/Phantasm unless you are prepared to expend a high-level spell to terminate what may just be Reflected Image (if you can beat casting time 1). And enemies may accidentally disrupt the party's spells by casting their own. But this, on the whole, should end up adding to excitement rather than detract from it. What are the enemies casting? Do I agree to adapt and choose a different spell from the one I wanted or should I try to be quicker the next time and whip out the essentials before the other side does? Is this spell being cast worth disrupting or should I let it happen and then bring my own spells into play as I wanted? Mages, too, would finally get a boost over specialists because of their wide spell selection and therefore broader counterspelling options. Curiously, in this system specialists have no way to break the spells of their school - necromancers get no Illusion/Phantasm access to disrupt somebody else's necromancy. I think that is a fair description of a narrow specialist, though. Besides, one can role-play the situation easily. Who is to say the enemy mage did not mean to break the coming Alteration threat with his flash of Abjuration? What was going on in that duel? And these are, may I remind everyone, role-playing games. But if a modder absolutely wants counterspelling optional, he can go ahead and give a Special Ability to all spellcasters, target "Caster (keep spell, no animation)". This would simply block or unblock the first of the linked subspells for Everybody, turning the counterspelling mode on or off. I think the system is better without, though. NPC get no such controls, so giving them to the player to be even more clever with his tactics while NPC stumble around on scripts tips the balance in the party's favor another step.
  12. Gives imps, mephits, quasits and the rest of the pesky flying critters, including familiars, a leg-up. Imps and quasits get colored skin (dust mephits are still gray), and all of them get more, new and better sounds. They will snicker, mumble and generally make themselves felt, and they move with a hop. Should be compatible with any version that allows adding animations. My thanks go to kjeron for help with this. Download
  13. They had to be renamed to MHAGG1 and MHAGG2. That was not intuitively obvious, to say the least.
  14. These animations belong to HAG_NIGHT, HAG_GREEN and HAG_ANNIS, but the BAM files are nowhere to be found. They are supposed to start with MHAG. Miloch's Infinity Animations includes the animations, but in a useless format. Instead of being divided into separate files for walking, attacking, casting and so on, with proper structure, the frames are all pressed into two large BAMs the engine can't recognize. Does anybody know where proper, separate, engine-recognizable hag files can be found?
  15. I have seen different outcomes when this effect ends and the character is over impassable terrain, like water. For one thing, if it were dispelled, the character would always become stuck. But when the effect expired normally, characters would be displaced to the nearest walkable terrain. I have also seen them remain over water even in this event. Who has tried using this effect and can tell me how to make sure there will be no sticking? Would it help to include a delayed switch to No Collision option 2? This effect may be key to making a Fly spell for this engine, the closest thing possible, at any rate.
  16. Again you don't know what you are talking about. Enough from you. For others I will say: yes, I've tested this and you can test it for yourselves. Reach the summoning limit, then try casting Gate (where the gender is SUMMONED_DEMON) and see what happens.
  17. Imp, I'm long used to the fact that you don't know what you are talking about at least half the time. And a third of the time you just ramble. So I'm not offended. But I must point out that this reply of yours falls into the first half. Pit Fiends and Cacofiends are also subject to the summonning limit, as are all other creatures, SUMMONED or not. It works like this: if the limit for SUMMONED has being reached, no other creatures can come in. This is something that was only just now brought to my attention. I had no idea, and I had made many spells and abilities that used invisible minions, because there is no other way to do a number of things. So I was dismayed to find out that, if the player just happens to have gotten his max of SUMMONED (a whopping 5 by default), all these spells and abilities will fail. By itself it's remarkable and telling how people have gotten used to these built-in, unjustified limitations, and others. Searching about this topic on the Beamdog forum, I came across someone's question whether there is a maximum of minions in the AD&D game. The man was asking about Pen and Paper. Now, why would a role-playing game, conducted in the imagination, have an arbitrary built-in limit on anything? The racial level advancement limits at least were explained by the nature of the races and it was an attempt to present "unlimited human potential." But why would a rulebook say that you can only have 5 goblins under your control, max? The guy never played Pen and Paper, clearly, and didn't know the rules, but what a question like that shows is how habituated players have become over the years and decades to lousy adaptations of role-playing for the computer screen, to primitive out-of-the-blue mechanics, flat process - and other things, monty hauling, power gaming, min-maxing. There was a time when those were considered the Three Bad Habits of D&D, and staying in character was praised. But now we're deep in the world of numbers, rule lawyership and imposed restrictions in place of self-restraint.
  18. Once, there wasn't any. Then - around the time of Throne of Bhaal, I hear - it was implemented. Must have been by Bioware, though it doesn't make any difference whether it was them or Beamdog. I ask, what's the point? They just wanted to limit players' power, is it as banal as that? I see no other purpose for it. Granted, there could be some spell or event that would summon a crazy throng of creatures that would bog down the engine, but that's the problem with that spell or event. I know there are mods that do away with the limit, but just the fact that it's there is making me pause and ponder and burn incense to the gods asking whether I should include a removal in my mod, which uses invisible minions (blocked too, when the limit for SUMMONED has been reached). Just that stupid feature alone, by virtue of being there. Why, it's traditional now! Somebody might become unhappy if their game were suddenly liberated in this unforeseen way! Maybe people have gotten used to relying on that limit instead of observing a limitation to a sensible number of creatures. Maybe their installations will explode if the limit goes away. What this order of things reminds me of is running with handicaps hanged about one's knees and ears. Or phoning police instead of solving your own problems. Sure, I'm probably overreacting. But there are already so many roadblocks to making what I want for these games, it's infuriating that there is some stupid crap like this installed by default on every machine.
  19. The Loop Garoo... I have a spell that dangles some chains, that is, has some chain Play Sound effects in it, and it is supposed to trigger whenever a character bearing those chains starts walking, for a certain duration overall. Take a step, sound a dangle. Naturally, I used the Apply Spell on Movement effect, but that only works once, because it is itself removed after the dangling sound plays. The spell needs to be reapplied to start the whole ready-to-play-sound business all over again, waiting for the character to start walking after the next stop, and so on. But if include an ASM effect in the sound-playing spell itself, the whole thing goes into an infinite loop, and the computer locks up. I don't know why exactly - the spell is not to be cast on itself straight away, it should just play the sound and set up the system to recast it again, and otherwise go away. Anyhow, there has got to be a workaround for this, two spells casting each other in a sequence or some such, to avoid a lock-up. This is probably a familiar situation to many, so I'm asking here. Advice appreciated.
  20. I'm in the process of making a module that will change the way invisibility and especially illusions work in these games. There will be a number of new spells and characters will be able to pursue a stage artist's career, earning considerable experience, reputation and money from their performances; when they fail to impress, the audience will get disbelief. The rewards will scale with character level. Among other features there will be a new 9-color alignment system, detection spells as sight cones and, probably, apples. Here are a few screenshots of the magic already implemented... The mod wouldn't be rounded out without narrative, however, without quests and dialogues. For some of those I need somebody experienced and interested in making areas (adapting them from existing ones) and cutscenes. Write me a PM if you are interested.
  21. No relation to this topic. A garbage post just to upload an image I could insert in a private message to somebody here. Why? Because the PM system doesn't let people upload images from their computers, only use images already uploaded for topics. Hooray for the intelligence of this!
  22. I would like to add that the original poster should really decide whether he's going to be making mods for the old engine or for the Enhanced Edition. If all the OP wants is to convert one of the preexisting BG1-BG2 mods to BG:EE-BG2:EE, then jastey's advice is sufficient. But if he's going to make mods of his own, he ought to consider whether he's going to stick to the old engine, which might possibly have more players, or make use of the functions of the new engine, which is far more advanced, and not just in convenience or compatibility, but in the tools of expression that it offers. I'm used to making mods for the EEs from the beginning, so I only recently became aware just how restrictive and poor the old engine is. It was something of a shock. Trying to fit my creativity in what it can do, I found, is less like painting with basic colors after a full palette than with having no colors at all, only a lead pencil to sketch. It's no wonder, honestly, that there is so much less activity in this place than on Beamdog's forums, and that old-time modders are pretty much done with these games. In the old days changing arrows +1 to arrows +2 was the height of ingenuity, or making a simple quest, and that has been done. People have tried to make the best of the tools, but they are too tired to appreciate the new stuff now, too angry at Beamdog. So my advice to the OP is, decide what do you want to create for and for whom. A 2D engine like this is not just our old bad habit, you know. It actually has one important advantage - it's very easy to add new visual content here. In a modern 3D game you would need a team of programmers and lots of resources to make a creature, but here you can import some old sprites or redraw them yourself, and voila. There are also a few modders who can draw areas. For this reason an engine like this is an outlet not just for nostalgia but for creative expression, limited but not ridiculous. If you want to push things, however, and see what you can do with it, you pretty much have to take up the Enhanced Edition and deal with Beamdog's content - edit it out, change it, live with it.
  23. I've gotten to changing scripts for both unmodded and modded games so that NPC start using my sight cone-type detection spells when party members are near on them rather than themselves. This is a simple change, but I want to make sure I get all of the situations and don't end up with wrong syntax. Generally what I'm doing is replacing lines like Spell(Myself,WIZARD_ORACLE) with ForceSpell(LastSeenBy,WIZARD_TRUE_SIGHT) True Sight replaces Oracle, because that spell will now do something else. I want to make sure I don't accidentally rewrite scripts with ForceSpell in them with my own ForceSpell, which could result in errors. I'd like to get the exact match, with just these characters, for Weidu to work on. What code do I need? Not simply EXACT_MATCH, because that gets anything containing my expression. The second problem I thought of right now. I suppose that NPC who detect PC with their spells expend them, that's what the Spell action does. There is then only a limited number of times they can pull off these detections. I hope it isn't any more complicated than that, because if they actually have ForceSpell there (talking about Sword Coast Stratagems now mostly, whose author is too cryptic in his self-importance to answer a question) and something like timers, then a simple replacement like the one above may not work. On the other hand, if they have Spell conditioned by HaveSpell(WIZARD_ORACLE), then casting True Seeing instead isn't going to wipe Oracle from their memory, and they are going to do it again and again. I don't know how much of a problem this will really be, but short of tearing Oracle from their spellbooks when they cast True Seeing, how can I make sure they cast one instead of the other? Perhaps what I need is to patch spellcasters so they all have True Seeing memorized instead of Oracle, but I have no idea how to do that. There is a good news, though: the G3 guide is wrong that NPC need to meet level requirements for the ForceSpell action. They don't, at least in the Enhanced Edition. They will be able cast True Seeing no matter what their level is. Still, I would appreciate any advice on tuning Weidu so that it patches all such possible casting actions in the broadest and most correct way.
  24. I think not. Charisma plays a role in reactions, but not in happiness. Unless you want to reverse their alignments. If you want to keep them from leaving the party, you can use the Ignore Reputation Breaking Point opcode (I think that's the name). They will still complain but not leave. That opcode is bugged, though. The last time I've tried putting it on, before the last patch for the EE, at any rate, it wouldn't expire and wasn't even removable. It's only good for swearing characters in forever, so to speak.
  25. I'm adding a new entry to ALIGNMEN.IDS and ALIGN.IDS for UNALIGNED, to which I'm going to convert a number of creatures who mistakingly show as True Neutral (NONE doesn't work). There will also be a spell that eliminates alignment and its restrictions and benefits. Don't bother saying it's not going to work - I've tried it and it does work in all situations. What I would like to know, however, is, first, whether it is possible to add a new entry with Weidu in a flexible way rather than at a fixed offset, in case, though unlikely, there are already new entries in those files - at the moment I'm just writing it at 0x30; second, whether there is a risk of an overrun of data from those files into the next files or somesuch; and third, whether I could get a string to show in the interface for "Unaligned" instead of a blank space. Interface string references are all in ENGINEST.2DA, but is it possible to assign a new one here?
×
×
  • Create New...