Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
disentomb

configuring damage amount?

Recommended Posts

im working on a jumpmaze map, and I have scripting for zdoom map spots which spawn imp fireballs that you have to dodge. I seriously wanted to alter the damage for them to kill you with one hit, instead of the ordinary 5-10% damage... im sure this is possible, but everything ive tried hasnt provided this function.

Share this post


Link to post

You better create a DECORATE with Actor Dodgeball, using the fireballs sprites, try to do it like this:

Actor Dodgeball : DoomImpBall
{
Damage 500
}
I tried it with my custom Imp and it worked.
Then try to change your script that spawns these dodgeballs instead of the impballs.

If theres a problem tell me.

Share this post


Link to post

wow, I still cant get it to work. in my script, it specifies a "type" for the projectile, which I placed "10" for "T_IMPFIREBALL"... so I dont understand what I can possibly change

Share this post


Link to post

If you use a function that use spawn numbers to identify which actor to spawn, you need to give your dodge balls a new spawn ID and then change your script to use that spawn ID instead of T_IMPFIREBALL.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×