I need help with my decorate weapon.

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

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.

I need help with my decorate weapon.

Postby Sgt Nate V » Sun Oct 15, 2017 9:33 am

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.
You do not have the required permissions to view the files attached to this post.
User avatar
Sgt Nate V
The Servo Crowation
 
Joined: 04 Mar 2017
Location: somewhere
Discord: 9869

Re: I need help with my decorate weapon.

Postby Ravick » Sun Oct 15, 2017 11:21 am

I couldn't spawn and/ou use the flamethrower actor. o.õ
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

Re: I need help with my decorate weapon.

Postby Sgt Nate V » Sun Oct 15, 2017 11:39 am

Check the console. There's also a bug that causes the actor to be renamed on start.
User avatar
Sgt Nate V
The Servo Crowation
 
Joined: 04 Mar 2017
Location: somewhere
Discord: 9869

Re: I need help with my decorate weapon.

Postby wildweasel » Sun Oct 15, 2017 11:40 am

Sgt Jack V wrote:Check the console. There's also a bug that causes the actor to be renamed on start.

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.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

Re: I need help with my decorate weapon.

Postby Sgt Nate V » Sun Oct 15, 2017 11:46 am

That explains it.
I would also like a fix for projectile placement and the ammo going invisible on spawn.
User avatar
Sgt Nate V
The Servo Crowation
 
Joined: 04 Mar 2017
Location: somewhere
Discord: 9869

Re: I need help with my decorate weapon.

Postby Sgt Nate V » Sun Oct 15, 2017 4:39 pm

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.
You do not have the required permissions to view the files attached to this post.
User avatar
Sgt Nate V
The Servo Crowation
 
Joined: 04 Mar 2017
Location: somewhere
Discord: 9869

Re: I need help with my decorate weapon.

Postby wildweasel » Sun Oct 15, 2017 6:13 pm

Are your sprites aligned properly?
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

Re: I need help with my decorate weapon.

Postby Sgt Nate V » Mon Oct 16, 2017 9:16 am

I fixed them this morning. Now I can use my custom sprites. Ichor at Doomworld also helped me align the pickups.
User avatar
Sgt Nate V
The Servo Crowation
 
Joined: 04 Mar 2017
Location: somewhere
Discord: 9869


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests