Plasma Ball placement

I'm trying to get it so that the plasma ball spawns in front of the plasma rifle rather than from the player. I'm really kinda of lost as to how to accomplish this through DECORATE. And I'd rather would like to avoid ACS if possible.

Share this post


Link to post

Huh. Thought this question sounded familiar, as if I had just answered it recently. :P

Have you seen the response / tried it yet? The 1-tic sprite delay is the cheapest yet most effective method, in my experience.

Share this post


Link to post

I'm still not entirely grasping what needs to be done, Xaser, and it's bugging the hell out of me. Can you show a coding example?

Share this post


Link to post

This is (I think) what Xaser is basically suggesting, which works fairly well, if I do say so myself:

ACTOR CustomPlasmaBall : PlasmaBall replaces PlasmaBall
{
  -RANDOMIZE
  States
  {
  Spawn:
    TNT1 A 2 // I found two tics to work better than one tic
  RealSpawn:
    PLSS AB 6 Bright
    Loop
  }
}

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