Jump to content
The Dark Mod Forums

VanishedOne

Member
  • Posts

    1235
  • Joined

  • Days Won

    24

Everything posted by VanishedOne

  1. How about the blackjack? I think what's probably going on is that if the barrel receives any damage at all, repeating that over time will whittle its health down. Maybe it should lose health only when dealt damage above a threshold amount in a single blow...?
  2. I don't think such a rule would play well with regular models, except as an opt-in: imagine setting up a building, with a tower/spire/etc. at one end that protrudes through caulk into the next area because players will expect to be able to see it from the next street over; but then it fails to render and you're wondering why... I fully agree about the problem of particles passing through walls, though.
  3. I think things that can definitely be considered bugs are: It's so sensitive to moveable damage, you can set it alight by rubbing a loaf of bread against it.The burning sound never turns off.Fire stims (e.g.from a candle or slow match) often fail to set it aflame, presumably because they've been set up with a short radius and it's a big barrel, so the stim radius gets nowhere near the entity origin. This is an instance of http://bugs.thedarkmod.com/view.php?id=1727More of a nice-to-have: ideally the model it switches to on exploding could have its own clipmodel (I've set it up to use a broken barrel that's much shorter than the intact barrel), and anything touching it when it disappears would drop to the floor. Edit: or it might be better just to stop the broken barrel vanishing, since it looks pretty bad when it just disappears. The rest is more a question of quite how we want it to behave. If we want a keg that can be 'killed' by throwing things at it, then it makes sense for it to explode from being thrown or dropped (more than a short distance) too, which doesn't seem to happen. (Also, how we get it working with TDM's Stim/Response system. We might not need a code change to create a fire stim for the explosion: the idea was, we'd spawn an invisible piece of debris that would carry the stim like a projectile result. I haven't tried that yet. The burning phase could complicate matters (shouldn't it have a fire stim? shouldn't water stims stop the burning?) but it probably won't matter if we only want a short fuse.)
  4. Well, if any modeller would care to step forward... I only started looking at thermometers because I was thinking about how one could be implemented in the material system, using a shaderparm to control the level. I was thinking of adding them to mundane places like forges and cold rooms. Also, I thought it might be a nice touch to use one of the various historical temperature scales that's unfamiliar to modern people, like Delisle or Wedgwood.
  5. Cheers. I'm not sure 'stark' isn't what I want here: those are rooms for very senior clergy, where you get to live if you're saintly good at climbing hierarchies, so I tried to make them look opulent yet at the same time keep a touch of strict religious regimen. The modular pieces are mainly from the mansion interior set (there's some church interior on the walls with windows, mostly unseen in these shots), and I was worried it could easily end up looking like a lavish nobleman's suite with the banners changed. I do still need to add a touch of ambient light around the windows though. Also the oil lamp in the foreground of the last shot has a rather strong white glass part against the dark background (I think it's one of Dragofer's light assets, and probably stands out here because I'm not using them consistently as he might); I've since added a particle glow that softens the effect a bit.
  6. The map uses the defs in the OP. Save the spoilered text in the OP to /def/powderkeg.def By the way, I found another bug: snd_burn never gets cleared, so you can still hear burning after the explosion. Maybe id assumed it wouldn't be a looping sound.
  7. These are the fanciest thermometers I've ever seen: https://www.google.com/imgres?imgurl=https%3A%2F%2Fs3.amazonaws.com%2Fimages.kovels.com%2Fprice_guide%2Ftechnology%2Fthermometer%2Fthermometer-cherub-bronze.jpg&imgrefurl=https%3A%2F%2Fwww.kovels.com%2Fprice-guide%2Fthermometer.html&docid=Vvfd1unBoCjDyM&tbnid=Rq7Ti7Z0hgSkVM%3A&vet=10ahUKEwiU0vTZoIfhAhUB-6QKHcgQCmMQMwh0KBQwFA..i&w=350&h=350&bih=590&biw=1366&q=mercury%20thermometer&ved=0ahUKEwiU0vTZoIfhAhUB-6QKHcgQCmMQMwh0KBQwFA&iact=mrc&uact=8 https://www.google.com/imgres?imgurl=https%3A%2F%2Fchairish-prod.freetls.fastly.net%2Fimage%2Fproduct%2Fsized%2F7fbc13e3-8522-452b-9d47-2b2e1a26844e%2Flate-19th-century-antique-black-forest-carved-walnut-thermometer-4791%3Faspect%3Dfit%26width%3D640%26height%3D640&imgrefurl=https%3A%2F%2Fwww.chairish.com%2Fproduct%2F1560174%2Flate-19th-century-antique-black-forest-carved-walnut-thermometer&docid=JMpuBQoj91G2vM&tbnid=86AX53zT0k1L2M%3A&vet=1&w=640&h=640&bih=590&biw=1366&ved=2ahUKEwiHvqbloIfhAhWKfFAKHfV0BVIQxiAoAXoECAEQFg&iact=c&ictx=1
  8. I'd have to trawl through a bunch of Mastodon instances to find out whether any of them explicitly puts that level of detail in its rules instead of expecting people to work it out by osmosis or getting called out. The culture I'm talking about is from the depths of the Fediverse, where every 'instance' federates with (shares content with, allows interaction from) other instances, and some are quite large and some are very small, and local cultures routinely clash with those of other instances. Depending on the instance you have an account on, it's quite possible you'll barely notice the really sensitive ones because they've defederated from, i.e. blocked, your instance (scholar.social, for example, pre-emptively blocks any unmoderated instance).
  9. There seems to be a general problem with flinders spawning without velocity, not just a scripting problem: I don't know whether you saw the discussion of http://bugs.thedarkmod.com/view.php?id=4230 in Newbie DR Questions. Now that you mention func_fractures, I do remember this bug that sounds a bit similar: http://bugs.thedarkmod.com/view.php?id=4181
  10. Okay, here's a test map for the powder keg from the OP. I've supplied some moveables to throw at it or push against it, a candle, a slow match, broadheads and fire arrows. If you want to test the damage model feature I mention in the OP's last bullet point, uncomment this line in the def: It turns out you won't need to; I forgot to remove the spawnarg from the entity. // "model_damage" "models/darkmod/junk/barrell_broken04.lwo" powderkeg.map.txt
  11. Interesting. When I made the 'sun gear' banner I linked earlier, it was for my take on Mechanist-ish themes, for an esoteric group that tried to be not just inventors but heralds of Progress and the New Dawn and all that. Instead of being a religious offshoot with a messiah figure, they were to be more about supplanting the old superstitions with Reason, with the universe as a grand Machine, and Man at its centre having learnt to manipulate it; they were to be religious in the sense that Comte's Religion of Humanity was religious. Their public face was to be more of an industrialist group, so the 'sun gear' logo was ostensibly honouring the current religion, the better to supplant it later as it naturally withered and died. (Incidentally, if anyone here with a Latin education knows about the semantics of 'futura', I've been trying to find out whether 'Ex malleo machina; ex machina futura' plausibly means what I want it to mean: 'From the hammer, the machine; from the machine, the future'.) Of course, the very idea of a guild for inventors owes something to the glorious historical schizo-mishmash of the setting; what actual gentlemen scientists came up with was the Royal Society. I just looked up their arms and they're nothing like the stuff we're discussing here: a silver shield with England's three lions in one quarter, and more elaborate surrounding paraphernalia including two hounds as supporters. On the hammer question, when it comes to real-world religious iconography there are lots of different heraldic crosses, some more strongly Christian-looking than others, and of course you're right, it's a natural thing for a pious armiger to want included; I wonder whether it helps that we're so used to seeing the abstract geometric design of the Cross, and we don't actually see crucifixions in daily life as we do hammers.
  12. Okay, I'll put one together later.
  13. I think my skybox needs more consistently thick-looking particle fog to go with the middleground, but the city lights have come out nicely. They're actually particles too, so the player will occasionally notice some randomly fading in/out; perf cost is probably similar to a weather patch: Since volumetric lights are still being worked on, for this background scene with ambient characters I tried faking it with fog. In conclusion: faking it with patches is a lot more versatile and less finnicky. Still, behold what might be the only projected foglight ever to find a use:
  14. The physics limitations sound like the flinder problem raised in the other thread. I wonder whether these spawnargs would let us invoke a script to break a moveable when it collides with something: fxCollide = spawnArgs.GetString( "fx_collide" ); nextCollideFxTime = 0; // tels: m_scriptCollide = spawnArgs.GetString( "script_collide" ); m_nextCollideScriptTime = 0; m_collideScriptCounter = spawnArgs.GetInt( "collide_script_counter", "1" );
  15. An anvil, maybe? Or figures implied to be saints, angels, etc. as in textures/darkmod/window/ornate/stainglass_saint_*
  16. 'Excluded everywhere' is an overstatement. Think of it this way: imagine you're seeing them in silhouette at some distance. How distinct are they? How obvious is it to someone who doesn't know the symbols already that the cog-on-a-stick and the cog-on-two-thin-sticks are totally unrelated?
  17. The left-hand one resembles the Builder symbol though: a cogwheel at the top with a vertical element below. Despite having raised the concern about the electricians, I quite like the one on the right in the centre, with the lightning potentially implying literal electricity, thunderclaps of inspiration, even Frankenstein-esque power over Nature's elements...
  18. I don't know what the problem with the spotlight is offhand; I'm not sure what kind of testing the existing def got. 2.07 was supposed to get an updated version with Epifire's model but it was left out by mistake. See recent comments on http://bugs.thedarkmod.com/view.php?id=4731 The Doom 3 turret was a scripted AI, I believe. According to my notes on the security camera, it's supposed to update parm7 according to its state (I haven't tested), so maybe a script could check for that.
  19. Appears to be Obsttorte's work: I assume this from the map file is the 'additional setup' referred to in the top comment: It would be interesting to know what the problems were with getting an impulse, and why it uses such a complex set-up with a bound shooter (func_explosion would be the first thing I'd have tried, which makes me wonder whether it was tried and had problems; or if the idea is to launch a projectile, there's a script event for that, and the FX system might be another way). (For that matter, you can invoke impulses in scripts: it's how my speed and slowfall potions work. Though it's the kind of workaround you need if you're reliant on scripting to do the job, and was initially severely bugged.)
  20. Spinning this topic off from discussion in NDRQs. I've been looking at Springheel's powder keg entity class; this is what I've currently got: Moving a slow match or a candle next to the barrel only ignites it because it's so sensitive to being pushed by moveables (see below). They don't have enough of a stim radius to reach the origin (and something weird's up with the candle flame: I had to move a light_candleflame entity right next to the origin to ignite it, regardless of radius). I fixed this on a slow match by giving it "sr_use_bounds" "1", but that has to be set on the stimming entity, not the response entity. Are we concerned about this? See also http://bugs.thedarkmod.com/view.php?id=1727Fire arrows, on the other hand, are so effective that even before I set up the fire Response, detonating one near a powder keg would skip the burn phase and go straight to its explosion.It's weirdly easy to set it off just by throwing objects at it or even pushing them against it: if something does any damage at all on collision, it can whittle the barrel's health down, even if it's a small object. (It might be possible to disable damage altogether and respond to fire stims alone if the enableDamage(float enable) script event is inherited; I haven't tried. [scratch that; it's for dealing damage.] Would we be happy if fire was the only way to set it off?)On the other hand, you can chuck the barrel around all you like. I think this code change from D3XP (Resurrection of Evil) might be to change that. If it does, and we want it, someone would have to copy it over (and make sure it didn't make the things lethal just to move around).Are we likely to want a long burning stage (id had 2.5 secs or nothing, I've currently set 3)? It raises questions of how to activate a fire stim when the burning stage starts, and whether water stims should stop the burning. (A function to stop burning was another D3XP addition, but I didn't notice a way to invoke it from outside C++ code, so we'd need that too...) Otherwise, we just need a fire stim to go with the explosion; I haven't tried the invisible debris idea yet.You can set a model to switch to when the barrel explodes, but it vanishes pretty abruptly after a few seconds, which doesn't look great with TDM's broken barrel models; I think you're stuck with the same collision model even if you've switched to a much smaller visual model; and D3 physics strike again, in that anything that lands on the new model is likely to hover in mid-air after it vanishes.
  21. I think this would involve making a modified GUI declaration. http://wiki.thedarkmod.com/index.php?title=GUI_Scripting#See_also You can examine the existing GUIs in /guis/readables inside tdm_gui01.pk4 It's easier to do it the other way round: change the "model" and "inv_icon" spawnargs on an existing piece of loot. Or make an entityDef that inherits from a loot class if you're going to be placing a lot of the same type.
  22. I'm not sure where to look for impulses, but spawnargs like init_velocity are empty. The damage defs used by the fire arrow have "push" values, though, and when I fire one in the test map it sends a few bottles flying. It's the bottles that break that seem not to receive a push (or rather, the flinders that replace them don't). I see http://wiki.thedarkmod.com/index.php?title=Breakable_objects#Todo has the TODO note 'Damage needs to be calculated from the impulse, not from a fixed set of "damage" values', but I'm not sure what that implies for the current physics. Broken bottle parts have the idMoveable spawnclass, not idDebris: they're standard physics objects the player can grab, etc. (A second fire arrow sends them flying as one would expect.) Oddly, intact bottles have idBarrel (because they're approximately cylindrical, maybe?).
  23. Breaking bottles do spawn flinders - a top half and a bottom half - but there seems to be a problem with them sitting in place instead of flying apart. Talk of liquids and throwing bottles against walls makes me wonder whether there's any way to make moveables splat decals on impact like projectiles can. I see an fx_collide spawnarg but the FX system only seems to like to splat vertically downwards. I also wondered about splats defined in the damage def, but I imagine mtr_killed_splat and mtr_wound won't do anything to, say, a wall. I don't know what mtr_blob does. I'm not actually sure what it would take to spawn S/R effects from a broken moveable, because I think spawning a 'result' entity on detonation might be unique to projectiles. If it is, maybe some kind of invisible flinder entity could provide a work-around... (The burning barrel that then explodes is an interesting case: probably the burning and exploding stages should have different radii for fire stims.) Regarding target_setinfluence, the entity def isn't in TDM's files but you can get one from https://github.com/DanielGibson/d3-base-assets/blob/master/sabase/def/targets.def
  24. There are cultures that develop around mental illness and so forth within which e.g. policing trigger warnings is normal and mutually reinforced; then those expectations get applied to interactions with people outside the group. I don't know whether any of that applies to Lavender though. I think it's understandable to find some views not merely wrong but repugnant; I imagine we'd be having a somewhat different discussion if the accusation had been of, say, anti-Semitism. But sometimes politics gets so polarised that you have people automatically imputing bigotry to whoever thinks differently on Trump or Brexit or whatever. It's often unclear whether opposition to 'the alt-right' is to neo-fascism or to conservatism. Good thing she never found out which members here also post on RPG Codex. :-P
  25. Oh, this is pretty mild. There are social sites where e.g. posting eye contact images or mentioning food without a content warning is frowned upon.
×
×
  • Create New...