Volunteers needed - Reactive Temple Mod

Discussion in 'General Modification' started by Sitra Achara, Jul 18, 2008.

Remove all ads!
  1. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    No, a straight copy is exactly what I wanted when it comes to determining WHAT critters and how many of them are there. Their exact relative positioniong may (and should) be altered, including the air elementals.

    Yes, that's what I meant by 5 water bugbears - the defecting bugbears, which may or may not have been turned over to Air. (the scripting will check if you've converted them or not and move them accordingly to either the Air Temple or Water Temple once they are put on alert)

    The Air Temple robes will only work for monsters that are scripted to Kill On Sight (KOS) everything that isn't wearing those particular robes. This includes the Air Temple bugbears, and that's about it really.

    Other spawned creatures may or may not include the KOS flag by default (as defined in the protos.tab file). If spawning them gives you trouble, then spawn something else instead to represent them, just for purposes of placement (e.g. spawn a jaroo for every bugbear, a calmert for every goblin, etc.)

    I've now updated the t.py file with a test script similar to the Air test script but for the Water Temple instead. This teleports you near the Water Temple and dresses you in Water Temple robes, in addition to all the usual hacks and items. The function is called tw().

    I'm also wondering whether the Water Temple should be moved to where the pit with the water snakes is. It should help to prevent the exploit where people position their party where the defecting water bugbears are and snipe away at the juggernaut and others while creating a bottleneck at the narrow door. What do you guys think?
     

    Attached Files:

    • t.rar
      File size:
      4 KB
      Views:
      1
  2. Badger-ude

    Badger-ude The nonPnP gamer PoV

    Joined:
    Mar 11, 2006
    Messages:
    83
    Likes Received:
    0
    Can I just ask, at what point does the temple 'react' to your actions? Will you be repositioning the high priests?
     
  3. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Hm ... I thought that technically was the water temple, specifically. Likewise with all the big rooms in the other temples, as opposed to the chief clerics' 'offices,' where they normally dwell. At any rate, I personally think that's where all the waters should be, yes. :)

    On a semi-related note, I was reading about that Crichton fellow's ToEE mod for NWN today at the Codex, and he mentioned something about ToEE (ours) that I tend to agree with: the ToEE itself, across all its floors and encompassing all its factions, still seems kind of small for such a big, diverse operation. This is most obvious on level 2, where water, air, and fire are all a stone's throw away from each other. Do you suppose we might consider a physical expansion of the floor space in relation to this mod? I've been learning enough about map-making with my HB efforts that I think I could pull off the graphics end of such a thing.
     
  4. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    @badger:

    The plan is to make the Temple factions react when it makes sense. This includes:
    -Having killed other faction leaders (excepting the faction it was done for, if it was done for one of them)
    -Having eliminated a certain number of the mobs in the Temple, where relevant (e.g. if you've killed all the harpies, ghouls, stirges, and non-aligned gnolls and ogres in the first Temple level, I'd expect Romag to be wary)
    -Paladin is in your party and has been sighted (for simplicity's sake I'll abstract this as having visited any occupied Temple floor with a Paladin)
    -For Earth Temple: Earth altar desecrated
    -Having liberated prisoners more than once or twice
    -Having killed faction's Troop Commander (Earth, Fire)
    -Temple is on general alert (Smigmal Redhand or Falrinth escaped the fight, conversed with Hedrack and agreed to part ways)

    Each faction will react individually, although some conditions may be shared between some or all of them. If I'm forgetting anything, let me know.

    Of course, if the faction's leader is already dead, this will be nullified. Furthermore, everything will depend on timers, so the Temple factions won't instantly regroup the very minute one of these conditions is met (the passage of time required may also vary depending on what you did)

    And yes, the faction leaders will be relocated so they are better protected by their troops.

    @ Gaear:

    I agree that the Temple is too small. The nodes are probably too small as well, compared to the module (IIRC they were far mor expansive there). I wouldn't want to make it much larger, however, since there's no convenient navigational interface as in Crichton's mod, or Fallout's city schemes, etc, so it'd probably entail a lot of walking. I wouldn't object to some minor modifications in principle, perhaps for things like shopkeepers and low level minions, but we'd have to be careful not to add too much XP and loot.
    Also, what does the module say about the Temple's layout? Is there a detailed map with every room and hallway defined in detail, or is it just a list of encounters and central characters?

    @ Guardian:

    If no one else objects, then go ahead with moving everything to the Water Temple pit room.
     
  5. GuardianAngel82

    GuardianAngel82 Senior Member

    Joined:
    Oct 3, 2007
    Messages:
    3,481
    Likes Received:
    5
    Roger! Everything into Snake Room. Including the Juggernaut? Can it manuever?
     
  6. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    The module certainly has maps: I have only got a couple of them for the Temple (and not on this PC) but afaik the game sticks to the same maps layouts.

    Sorry to be pushing the 'modular consistency' line again, but I would personally be opposed to altering the Temple layout. Otherwise, I love the sound of all this - I think everyone who plays ToEE wants to see these changes.

    Can I also make the inflammatory suggestion that if folks want to make a bigger, better and smarter 4 level dungeon they do just that - make a whole new module? There must be any number of classic modules that culd be made using the monsters in ToEE. A3 had plenty of gnolls, if I remember rightly. Just a thought :wave:
     
  7. GuardianAngel82

    GuardianAngel82 Senior Member

    Joined:
    Oct 3, 2007
    Messages:
    3,481
    Likes Received:
    5
    Here's the Water Temple setup:

    Belsornig
    14193(547,580)0

    Juggernaut
    14244(539,573)5.5

    Gargoyles
    14239(532,566)4
    14239(536,561)2.5
    14239(545,562)2.5
    14239(547,565)1

    Water Temple Bugbears
    14178(534,573)5
    14179(545,572)6

    Priests
    14198(540,580)5.5
    14198(533,581)5

    Bugbears (if not traitors)
    14231(547,577)0
    14178(544,577)5
    14179(531,578)5
    14180(534,577)5.5
    14181(537,580)6

    Owlbear and Keeper
    14046(533,568)5
    14225(531,570)5

    Oohlgrist and Trolls
    14195(544,574)0
    14262(544,567)1
    14262(544,571).5

    I used the tw function, but, when created, the Juggernaut appears out of location and attacks immediately, making it difficult to set everything up and check to see that there won't be a traffic jam after combat starts. Is there a way to turn off combat until everything is set up? I want to play with this, too.

    I do have to admit this probably does simulate untrained troops in real combat, though.
     
  8. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    The Juggernaut is set to KOS in the protos.tab, since in the game it currently only appears when you attack the Water Temple. I've now added a new script to address that however - a function called bsp(proto_number). It stands for 'benign spawn', and it will spawn a creature on top of your character and immediately set its KOS flag to zero, so it won't attack you.

    I've also noticed that there's a script attached to the Juggernaut so it self-destructs if one has been spawned already in the past. This was probably used to prevent the multiple Juggernauts bug. If you want to spawn more than one, you need to reset the variable game.global_vars[777] to zero via the console.

    By the way, a question to the module / d&d experts: Is it okay that the Juggernaut remain animated when transferred to the Water room? It can remain as a statue, but I think if the Water Temple were on alert, they would awaken it as soon as they moved it, unless there were some other kind of constraint such as a short lifespan, inability to return it to statue mode later on, wanting to retain the element of surprise, etc. Though come to think of it, it would actually help toughen up the fight if the Juggernaut remained where it is, and once your party attacked Belsornig in the altar room, it would flank the party from behind. Could be quite brutal!

    edit: Forgot to attach the file...
     

    Attached Files:

    • t.rar
      File size:
      4 KB
      Views:
      0
    Last edited: Jul 25, 2008
  9. GuardianAngel82

    GuardianAngel82 Senior Member

    Joined:
    Oct 3, 2007
    Messages:
    3,481
    Likes Received:
    5
    So, is there anything else to do atm?
     
  10. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Well, all that's left is the Fire Temple. But there are several issues that I think need to be discussed first.

    First off, is it really needed to make the Fire altar fight harder than it already is?
    Second, if we add more critters to the Fire altar room, won't they be toasted by the Salamanders' fireballs? And if we give them protection vs. fire, what kind of protection would be justified (bearing in mind that we don't want to increase the amount of loot too much, and don't want to arbitrarily hack in fire resistance)? Or should we just disable the Salamanders' fireballing?
    Third, I think the game is already pretty laggy in the Fire altar room due to all the particle effects. Perhaps moving more critters there could exacerbate the situation further.

    Perhaps it is better to relocate the Fire Temple minions to where the two underpriests are, except for the ones in the altar room.
    The encounter, as I picture it, would include the Fire Temple's Troll keeper and his Hydra, the ogres you might have recruited for them, the bugbears just outside the room, Oohlgrist and his two troll neighbours (if they are recruited), and that's it I think. Could be a little crowded though.
     
  11. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Sitra - may I ask, how are you planning to move them? The move command, or walk them there?
     
  12. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    move + set appropriate standpoint, because unfortunately there isn't a simple method (that I am aware of) to make them walk without messing with their mobs, and there are complications relating to 'activating' them a la the frozen badgers on patrol. It will only be done on a 'first heartbeat', though.

    If you have a better method, let me know.


    On a side note, even Fallout had flexible enough scripting commands that allowed you to walk characters around the map. I wish we had low level commands like that. Maybe someday ToEE will be so irrelevant to Atari that they'd agree to sell off the source code for pennies...
     
  13. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    There are certainly moments in KotB when .mobs' waypoints flags are switched on and they immediately walk their waypoints - Palm-Off in the pub, or the Corporal in his room both come to mind. If you just add one waypoint a long way off, the mob should follow the pathing to get there: but then, other than the earth temple I wouldn't have thought any of these fellas need to travel very far? I reckon it would be worth testing if adding one waypoint does it, then you just switch on the day and night waypoint flags and thats that (other than switching the flag off again, but I found putting a silly number in the animations thing for the waypoint would 'break' it and make the mob stop there: a handy if inelegant switch-off method).

    The frozen badgers would not really be a problem, since they only freeze if no-one is near their sector: so once players are near the area they will start up. True, that increases the chances of encountering them en passant but that's a gambit worth trying, I reckon - particularly, since the monsters will have heartbeats anyway, if said heartbeat has the monster growling a few floatlines on the way: "Keep eyes open! Grrr..." "Glory to Air! Grrr" "Kelno more competent than lavatory humour suggests! Grrr..." "Where lavatory anyway? Me no seen one in months! Grrr... GRRR.... GRRRRRR!!!!!!"

    Or, possibly more serious floatlines. But either way an army of bugbears marching off to their stations would be pretty cool - and if you intercept them en route, it would mean a different combat every time, with who knows how many nearby to get dragged into it?
     
  14. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Re the fire temple, being as I think it's a suitably large room, I'd suggest this: stage the salamnders/fire brothers to attack the party just inside the entrance to that room. Then stage Alrrem, under priests, troop commander, troops, etc. at the rear of the room by the chest. There would hopefully be sufficient distance between the two groups that they wouldn't engage simultaneously, and then you wouldn't have to worry about the salamanders bombing their own guys. Plus, it would make sense that Bassanio would hang out with Alrrem et al, and they could still all be in the emergency posture in the temple.

    btw, I'm okay with not enlarging the temple in favor of module loyalty. Didn't really even think of that, tbh.

    [edit]

    I've mentioned this before, but where are Alrrem's troops anyway? There don't seem to be any aside from a couple bugbears. They have a troop commander but no real troops.
     
    Last edited: Jul 25, 2008
  15. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Interesting idea. I think it could work, and it makes sense too. Anyone else in favour?

    As for Allrem's troops, well, his faction was supposedly decimated in the war. He does have a few bugbears, Antonio and Bassanio, and the Troll keeper and his Hydra. And he's not that understaffed compared to the Water Temple actually.

    It is pretty goofy that the number of existing troops is nowhere near what was in the battle of emridy meadows, or that there are infinite rest encounters in the Temple - where are they coming from? But I suppose it's just one of those gamist abstractions you have to live with.

    Also, here's the Air layout according to Guardian's coordinates (attached). I think I'm going to modify this, though, since the different groups are too separated for my tastes. You have to account for the player eliminating some of the mobs, so it'd be goofy if all the guards are in one place and Kelno is in another. And lastly, you should try to anticipate where the player will cast area of effect spells (web, fireball, etc) and try to minimize their effectiveness by spreading the critters out.
     

    Attached Files:

    Last edited: Jul 25, 2008
Our Host!