MelGibbsome@Posted: Thu Dec 07, 2006 12:08 am    Post subject: platform dmg value: Ok, first off i apologize for asking this cuz its probably somewhere on this site...........HOWEVER the site is screwed up as after i look at one search hit, find its not the answer, I click on the back button to take me back to the list of hits and EVERYTIME it says page has expired......so NO, I'm NOT retyping the search once per page look up!

OK, I have a platform and I want to set the value of DMG which is the value of damage to inflict when the platform is blocked. NOTHING entered here works.

I tried just a number, I tried dmg_# and damage_#.

Does anyone know what the format of this value is? I know for triggerhurts, its like damage_triggerhurt_# (and stupid quake doesn't take just any number here either...10, 100 and a few others work, but not just any number will work).

Also, some of the posts I did manage to read, suggested jury rigging the plat with a trigger hurt thats triggered on and off, blah blah blah.

I don't want jury rigs.............I want the platform to work THE WAY ITS SUPPOSED TO.

thanks.



MelGibbsome@Posted: Mon Dec 11, 2006 1:53 am    Post subject: : I can't believe no one here knows the answer to this question.

oh well...........I ended up putting a lava pit underneath the platform and so at least having a trigger hurt under there makes sense.

thanks for nothing.



rich_is_bored@Posted: Mon Dec 11, 2006 6:20 am    Post subject: : I personally have never toyed with a func_plat entity so I can't speak for the "dmg" key/value pair.

According to the entity declaration...

Code:
entityDef func_plat {
    "editor_color"                "0 .5 .8"
    "editor_mins"                "?"
    "editor_maxs"                "?"
    "editor_mover"                "1"

    "editor_usage"                "Standard Quake-style platform."
    "editor_bool no_touch"        "the plat should not be triggered by the player touching it, only by another trigger."
    "editor_var lip"            "protrusion above rest position."
    "editor_var height"            "total height of movement, defaults to model height."
    "editor_var speed"            "speed to move up and down at."
    "editor_var dmg"            "damage to inflict when blocked."
    "editor_snd snd_open"        "sound to play when opening."
    "editor_snd snd_close"        "sound to play when closing."
    "editor_snd snd_opened"        "looping sound for it's opened state."

    "spawnclass"                "idPlat"

    "no_touch"                    "0"
    "lip"                        "8"
    "speed"                        "200"
    "dmg"                        "2"
}


... it's already set to 2 so if it doesn't have any effect in game it's probably safe to assume that it doesn't work.

But that's beside the point. I didn't respond to help you. I'm responding because a statement like "thanks for nothing" pisses me off.

The community here is very altruistic so you can rest assured that if a thread you author doesn't receive any response it's either because nobody can provide suitable answers to your questions or the answers are already well documented.

You have a forum full of knowledgeable, friendly people and a wiki at your disposal. None of it cost you a dime but you can trust me when I tell you it wasn't free.

You say thanks for nothing yet I wonder how far you would have come if you truly were flying solo. I call bullshit.
_________________
Staff
Learn something today? Why not write an article about it on modwiki.net?