Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Simple pressure plate mod [Idea]  (Read 1085 times)

ptb_ptb

  • Bay Watcher
    • View Profile
Simple pressure plate mod [Idea]
« on: July 25, 2012, 07:32:22 am »

[EDIT]Darn, it won't work

Quote
In-game numbers only show their first four most significant digits; for example, 500,000, the default minimum weight, will appear to be 5000 in-game.

So you'd have to use something like DFhack to set the pressure plate trigger value precisely enough. :([/EDIT]

I had a simple idea to make pressure plates a bit more discriminating.  An adult dwarf weighs exactly the same as an adult elf (yes, I was surprised too :P ). If the all weights are changed to avoid duplicates like this you could have a pressure plate that would, for example, dump hot lava on a friendly elf but not dump hot lava on a friendly dwarf. There are 300 values that need to be changed in the raws for the adults (haven't looked at young and baby yet).  Anyway, before I get started I thought I'd see if there was any interest.
« Last Edit: July 25, 2012, 07:35:28 am by ptb_ptb »
Logged
()==[:::::::::::::>

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Simple pressure plate mod [Idea]
« Reply #1 on: July 25, 2012, 11:10:10 am »

Why would you need to change 300 values? Just change the dwarven BODY_SIZE to be slightly smaller.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

ptb_ptb

  • Bay Watcher
    • View Profile
Re: Simple pressure plate mod [Idea]
« Reply #2 on: July 25, 2012, 12:36:55 pm »

Why would you need to change 300 values? Just change the dwarven BODY_SIZE to be slightly smaller.

Because I want to 'fix' it for all creatures, not just the dwarf.
Logged
()==[:::::::::::::>

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Simple pressure plate mod [Idea]
« Reply #3 on: July 25, 2012, 09:32:33 pm »

Why would you need to change 300 values? Just change the dwarven BODY_SIZE to be slightly smaller.

Because I want to 'fix' it for all creatures, not just the dwarf.

I thought the idea was to get the pressure plate to trigger for non-dwarven friendlies (elves) but not dwarves.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: Simple pressure plate mod [Idea]
« Reply #4 on: July 26, 2012, 04:10:57 am »

This isn't quite on topic, but I think Hugo was working on a landmine thing for Regen, but it works a little differently.
(HINT: I'm pretty sure it ended up being a creature)

You'll have to talk to him about it though, I'm not sure if he actually implemented it or was just working on it to see if it was gewd or not.
Logged
Quote
'ere the Chias get hungry...

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Simple pressure plate mod [Idea]
« Reply #5 on: July 26, 2012, 09:00:26 pm »

I have the landmines in and working. They are in fact a creature, that is made from another creature.

I had a issue of it not dying once exploded, and sometimes they still survive :-\
But they are more of a atom bomb then a simple landmine that maims.

it makes a dragon look like a wuss.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Simple pressure plate mod [Idea]
« Reply #6 on: July 26, 2012, 10:46:29 pm »

I have the landmines in and working. They are in fact a creature, that is made from another creature.

I had a issue of it not dying once exploded, and sometimes they still survive :-\
But they are more of a atom bomb then a simple landmine that maims.

it makes a dragon look like a wuss.

How about you make the landmine give an interaction to the creature it's attacking that can only be used on that landmine and will kill the landmine?

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Simple pressure plate mod [Idea]
« Reply #7 on: July 26, 2012, 11:16:50 pm »

Normally the creature attacking the landmine, is dead before it knows it is.

Altho thanks to your explaination on how tissues are dertermined by the "RELATIVE_THICKNESS" and the REL_SIZE of the BP I've managed to make it so they are super frail and melt pretty much anything that is fire temp.

Also with tests in a arena mode. I tryed attacking the Mine as soon as I see:

Automation 1 explodes!
Automation 1 explodes!
The Automation 1 is caught in a burst of magma!
Automation 1 explodes!
Spoiler: Etc (click to show/hide)
It usally ends with:
You have bled to death
You are dead.

And I can't do a thing. But normally the landmine dies. Like I said it's kinda a rare thing, since pretty much most living things that can't handle getting torched die. Also even a dragon/fire imp will get blasted off of cliffs to only fall to their deaths.

Also Turrets as another thing I made. Are only good against unarmored things, like wild life. Or thieves. Anyway to make a material emission more... Lethal? at least for bronze and lower gear.

Nope stopping Derailment lol
Logged