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

Projectile Editing

Recommended Posts

Is there a way to change what type of projectile a monster shoots, and its behavior in attacking? I'm trying to get former sargeants to shoot arachnotron plasma.

edit- Also, is there a way I can make it so that they drop plasma guns?

Share this post


Link to post

Yes, change the code pointer in the attack frame of the Shotgun guy to that of the Arachnotron's attack code pointer. Note that even though the two monsters use the same attack (plasma) they can hurt each other. If you want to make the Shotgun guy shoot more than just once you'll have to add frames and choose the same code pointers as the Arachnotron's attack frames (they alternate between a shooting and waiting frames, cycling.)

To make them drop plasma guns you can copy all the info of the Shotgun onto the Plasma rifle thing, and vise versa, but then each time you place a Shotgun on the map with your editor, you'll be placing a Plasma rifle, and so on.

All this is basic DeHackEd. Some engines will allow more options (I know mbf allows you to set a "drop object" pointer on a frame, for instance, allowing you to do it without changing anything else.)

Share this post


Link to post

Yes, the code pointer changing is done in the frames menu (that list of frames, F3) and the switching of the weapons can be done using the things menu (F2) by changing all the info (copy the infos for each thing to paper or something and then switch them.)

Share this post


Link to post

Probably, yes, press enter on the code pointer entry (on the Shotgun guy's frame) and introduce the frame number of the Arachnotron's attack frame, the pointer will change, matching the Arachnotron's.

Share this post


Link to post

While we're on the subject, is it possible to change the projectile but not the attack sequence (eg. a mancubus firing 6 rockets a second instead of fireballs) and without replacing the mancubus fireball (I still need that)?

Share this post


Link to post

No, since you'd have to alter the info of the Mancubus' fireball. Flying projectiles of any sort can't be added, only changed. I mean, you could do that, but then you couldn't have a monster using the normal Mancubus attack as well.

Share this post


Link to post
thedemonsarecoming said:

Are the ones with an X under Bright Sprite the Firing sprites?


Yes. Bright sprites are for firing frames and light sources, such as lamps etc.

Share this post


Link to post

Considering that whacked is a dehacked conversion to windows. Is it possible to do these sorts of things in whacked?

Share this post


Link to post

You have to edit in dehacked or whacked and enter for shot of sergeant new code pointer the same as arahnotron has.
(please, don't be angry for my writing. I'm polish :))

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
×