Melonpizza Posted June 12, 2021 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 0 Quote Share this post Link to post
0 Melonpizza Posted June 13, 2021 Figured it out (no need to answer it anymore) 0 Quote Share this post Link to post
0 GiuseppeMoghadam1984 Posted June 17, 2021 I've also been struggling with how to make a custom BFG spray. Could you show me how you did it? 0 Quote Share this post Link to post
0 Melonpizza Posted June 17, 2021 (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) 0 Quote Share this post Link to post
0 GiuseppeMoghadam1984 Posted June 18, 2021 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? 0 Quote Share this post Link to post
0 Melonpizza Posted June 18, 2021 (edited) 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) (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 June 18, 2021 by ebigautisticnerd i forgot to include "2." 0 Quote Share this post Link to post
0 Melonpizza Posted June 18, 2021 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 0 Quote Share this post Link to post
0 GiuseppeMoghadam1984 Posted June 19, 2021 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 0 Quote Share this post Link to post
0 Melonpizza Posted June 19, 2021 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) 0 Quote Share this post Link to post
0 GiuseppeMoghadam1984 Posted June 19, 2021 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. 0 Quote Share this post Link to post
0 Melonpizza Posted June 19, 2021 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) 0 Quote Share this post Link to post
Question
Melonpizza
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.