Jump to content
  • 0

is there a way to make a custom bfg spray?


Melonpizza

Question

Hello, while i replaced the BFG9000, i wanted to be the fire the same as the normal bfg, but a little diffrent.

So i ask if there is a way to make a custom spray.

Thanks

Share this post


Link to post

10 answers to this question

Recommended Posts

  • 0

(this is a answer in decorate)

Simple, a_bfgspray is customisable

For example:

  • You can change how many invisible trays are fired
  • You can define a custom bfgextra (is a bulletpuff actor, that spawns when an enemy is struck by a invisible trays)
  • You can define on witch radius it spreads (f.e. 360° = on every angle bfgtrays are shot.

If you want to know more about this function, click on this link (a zdoom wiki page)

https://zdoom.org/wiki/A_BFGSpray

(Also, you should check out a_weaponready on zdoom wiki)

Share this post


Link to post
  • 0

Ah, so would that be A_BFGSpray, and then the three numbers would be the amount of rays, what to spawn on the hit enemy, and the radius. Can you send me the part of the code you wrote so I can more easily visualize it?

image.png

Share this post


Link to post
  • 0

1. here, youre welcome

a_BFGspray("shorkiboiactivator",40,15,90,1024,32,0)

 

  • "shorkiboyactivator" is the actor to replace bfgextra
  • "40" is the number of invsible rays to shoot (default number for bfg)
  • "15" is the damage (also default)
  • 90 is the spread of the trays in degrees, it works like this ( duke is the player)

0.png.bd8c49e1729ae755af660639e65b556d.png

(the trays have a offset from 2.25 degrees from each other)

  • "1024" is the range of the trays in map units

(i do not know what map units mean, so ask another person what a map unit is)

  • "32" is the trays autoaim maximum height
  • "0" is  also a damage specification? ( i dont know)

after "0" can be flags, but i didnt want any.

 

if you want to know more, the link is the best option for it.

2. for what is that picture?

Edited by ebigautisticnerd
i forgot to include "2."

Share this post


Link to post
  • 0

if someone sees this question, please direct a person (or you) to another question i asked

 

 

and if you can (or the person you directed to this website), please answer the question

Share this post


Link to post
  • 0

Thanks a ton for helping! As for the picture, I accidentally copied/pasted it into the post, and then backspaced, but it still appeared in the message anyway. It's a drawing of the baby from the movie Eraserhead. What a picture to accidentally send on a public forum, I know. LOL

Share this post


Link to post
  • 0

Youre Welcome, this time a question to you Giuseppe. Are you new to doom modding (1) or are you modding doom sience a long time, but just joined doom world (2)

 

 

If 1

Then i recommend you to look through decorate action functions

(In zdoom wiki, on the middle-left)

There are a lot of neat features

(A little extra Tip)

Share this post


Link to post
  • 0

I've been modding for about 6 months now, and I use the ZDoom wiki a lot to help out, but sometimes I can find its language a little bit cryptic, especially when they don't provide an example in DECORATE, because I don't use ZScript. Most of what I know has been self-taught from looking at the ZDoom wiki. I don't know why I just made a Doomworld account now, I've been browsing for well over a year, I just never got around to actually comment. 

Share this post


Link to post
  • 0
22 hours ago, ebigautisticnerd said:

if someone sees this question, please direct a person (or you) to another question i asked

 

 

and if you can (or the person you directed to this website), please answer the question

 

Okay then, can then you help me with this question (its been up for days now)

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...