Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  

I can't modify projectiles.

Recommended Posts

Heya peepz.

I'm trying to create a Cacodemon that fires missiles that seek the player. I'm trying to lower the spawning point of the Revenant's missile, but can't. I change the "height" of "RevenantTracer" in DECORATE, but nothing happens, no matter what I put. How do I edit projectiles?

Thanks in advance.

Share this post

Link to post

You change the "A_SkelMissile" in your customized "CacodemonX" script to A_FireCustomMissile.
Then you fill A_FireCustomMissile (string missiletype [, angle angle [, bool useammo [, int spawnofs_horz [, int spawnheight [, int aim[, angle pitch]]]]]]) .

In your example:

A_FireCustomMissile ("RevenantTracer" , 0, 0, 0, -5 (or other number --> spawnheight) )

The "height" in projectile script describes the tall size like in monster script.

For more helps see Zdoom Wiki.

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
Sign in to follow this