Advanced Search

Author Topic: Making non damage things do damage?  (Read 1955 times)

0 Members and 1 Guest are viewing this topic.

March 12, 2011, 05:46:41 PM
Read 1955 times

Offline Gummywormz

  • Standard Member

  • Air Man Tile Enthusiast
  • Date Registered: December 23, 2010, 01:05:44 AM

    • View Profile
    • Github Page
Making non damage things do damage?
« on: March 12, 2011, 05:46:41 PM »
Basically, I'm making a map with some knight torches on the outside. You can pretty easily camp there, so I'm wondering if there's any way to make the knight torches do damage without completely remaking them. I've already tried action 119 and ACS so far.

March 12, 2011, 07:32:33 PM
Reply #1

Offline Asd967

  • MM8BDM MM8 Contributor
  • *
  • Date Registered: November 01, 2010, 03:59:45 AM

    • View Profile
Re: Making non damage things do damage?
« Reply #1 on: March 12, 2011, 07:32:33 PM »
Make linedefs to it's side and block them, so camping solved.

But if you really need to make them hurt, you'll need Decorate.

actor Knighttorch blah blah make it spawn an invisible projectile and stuff.

March 12, 2011, 10:14:19 PM
Reply #2

Offline TERRORsphere

  • MM8BDM Contributor
  • ****
  • Date Registered: August 22, 2009, 08:45:17 PM

    • View Profile
    • http://www.youtube.com/user/DoomThroughDoom
Re: Making non damage things do damage?
« Reply #2 on: March 12, 2011, 10:14:19 PM »
Gummywormz, open wide.

Code: [Select]
actor Torch2 : Torch 10515
{
states
{
Spawn:
PTOR AAAABBBBCCCC 1 A_Explode(4, 32, 0)
loop
}
}
This should do the trick.

Quote from: "Gummywormz"
without completely remaking them
Learn about inheritance here: http://zdoom.org/wiki/Using_inheritance

March 13, 2011, 12:55:37 AM
Reply #3

Offline Gummywormz

  • Standard Member

  • Air Man Tile Enthusiast
  • Date Registered: December 23, 2010, 01:05:44 AM

    • View Profile
    • Github Page
Re: Making non damage things do damage?
« Reply #3 on: March 13, 2011, 12:55:37 AM »
I think I'm going to stick with impassable linedefs for now.

March 13, 2011, 02:32:15 AM
Reply #4

Offline TERRORsphere

  • MM8BDM Contributor
  • ****
  • Date Registered: August 22, 2009, 08:45:17 PM

    • View Profile
    • http://www.youtube.com/user/DoomThroughDoom
Re: Making non damage things do damage?
« Reply #4 on: March 13, 2011, 02:32:15 AM »
...

You give up on DECORATE even after I spoon feed you?