I have created my own decorate flamethrower using some example code from the wiki, but I need to finish it up first.
First of all, I can't seem to get the projectile centered. No matter what numbers I put, it comes out angled.
The ammo pickup also turns invisible immediately after spawn. The sound effects I downloaded also don't seem to work.
I have attached the latest, at this time, version of my weapon. See if you can fix it up for me.
I need help with my decorate weapon.
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 168
- Joined: Sat Mar 04, 2017 4:21 pm
- Location: somewhere
I need help with my decorate weapon.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2033
- Joined: Sun Aug 22, 2010 10:59 pm
- Location: Tubarão, Brasil
Re: I need help with my decorate weapon.
I couldn't spawn and/ou use the flamethrower actor. o.õ
-
- Posts: 168
- Joined: Sat Mar 04, 2017 4:21 pm
- Location: somewhere
Re: I need help with my decorate weapon.
Check the console. There's also a bug that causes the actor to be renamed on start.
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
Re: I need help with my decorate weapon.
First of all, name it something other than "Flamethrower" - Strife already uses this actor name. Feel free to name it "SJVFlamethrower" or something to guarantee that it's unique.Sgt Jack V wrote:Check the console. There's also a bug that causes the actor to be renamed on start.
-
- Posts: 168
- Joined: Sat Mar 04, 2017 4:21 pm
- Location: somewhere
Re: I need help with my decorate weapon.
That explains it.
I would also like a fix for projectile placement and the ammo going invisible on spawn.
I would also like a fix for projectile placement and the ammo going invisible on spawn.
-
- Posts: 168
- Joined: Sat Mar 04, 2017 4:21 pm
- Location: somewhere
Re: I need help with my decorate weapon.
I have fixed the naming problem, along with fixing a sprite.
The latest version is attached below.
EDIT: Cleared the projectile position and lack of sound by replacing it with one inherited from DoomImpBall. I might not be able to use my own sprites for it, but hey, works.
Still need to fix the invisible items though.
EDIT2: Looks like the items actually fall through the ground.
The latest version is attached below.
EDIT: Cleared the projectile position and lack of sound by replacing it with one inherited from DoomImpBall. I might not be able to use my own sprites for it, but hey, works.
Still need to fix the invisible items though.
EDIT2: Looks like the items actually fall through the ground.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
Re: I need help with my decorate weapon.
Are your sprites aligned properly?
-
- Posts: 168
- Joined: Sat Mar 04, 2017 4:21 pm
- Location: somewhere
Re: I need help with my decorate weapon.
I fixed them this morning. Now I can use my custom sprites. Ichor at Doomworld also helped me align the pickups.