decorate weapon prob

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
edgar
Posts: 9
Joined: Wed Apr 19, 2006 7:22 pm

decorate weapon prob

Post by edgar »

i'm using this new shotgun and i set it to replace all the shotguns in the game. it didn't replace the shotgun as dropped by the shotgunguy so i made a new shotgunguy exactly the same except he drops the new shotgun.
the prob is that is that the dropped shotgun give you 8 shells insted of 4 and i tried:
dropitem newshotgun 256 4, to made it drop every time with 4 shells but it didn't work, any sugestions?

i have the same prob with the new chaingun and the one dropped by chaingunguy
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: decorate weapon prob

Post by Amuscaria »

edgar wrote:i'm using this new shotgun and i set it to replace all the shotguns in the game. it didn't replace the shotgun as dropped by the shotgunguy so i made a new shotgunguy exactly the same except he drops the new shotgun.
the prob is that is that the dropped shotgun give you 8 shells insted of 4 and i tried:
dropitem newshotgun 256 4, to made it drop every time with 4 shells but it didn't work, any sugestions?

i have the same prob with the new chaingun and the one dropped by chaingunguy

Did you set the shotgun's "Weapon.AmmoGive" to the right number? Say 8? Dropped weapons give 1/2 the ammo, whereas the normal pickup gives the full amount. And also, it's dropitem "newshotgun" 255, not t 256.

Post your decorate. It would help.
edgar
Posts: 9
Joined: Wed Apr 19, 2006 7:22 pm

Post by edgar »

i did have it set to 8, anyways i'm not sure what i did but its working now, i renamed the sprites so that new sprites inside of a wad won't replace them since they had the default shotgun sprite name, the chaingun's working too,
edgar
Posts: 9
Joined: Wed Apr 19, 2006 7:22 pm

Post by edgar »

i got a different question, if you have full ammo for a reloading weapon, say you have 50 shotgun shells, but you have less than a full clip and you pick up a shotgun, you'll pick it up but since you have full ammo already it'll just disappear, is there a way to correct this problem, also i compiled a mod together that replaces all the stock doom weapons but they switch too quickly, how can i fix that.
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: decorate weapon prob

Post by Ryan Cordell »

edgar wrote:dropitem newshotgun 256 4, to made it drop every time with 4 shells but it didn't work, any sugestions?
I doubt that's how it works, as far as I remember now, DROPITEM NEWSHOTGUN (256) is the probability of it actually spawning, 4 is possibly the amount of it. If you want it to have only 4 shells, you would need to edit the Shotgun's decorate (Or make one/paste it from Wikipedia, ironically.) and edit the Weapon.AmmoGive1 to 4.
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Post by Amuscaria »

edgar wrote:i got a different question, if you have full ammo for a reloading weapon, say you have 50 shotgun shells, but you have less than a full clip and you pick up a shotgun, you'll pick it up but since you have full ammo already it'll just disappear, is there a way to correct this problem, also i compiled a mod together that replaces all the stock doom weapons but they switch too quickly, how can i fix that.
your weapon's clip should never be te same amount as the ammo that the weapon gives, never more and neer less. As for the full ammo, it doesn't rally matter how much ammo you have, since the clip is only a counter, you lose ammo the same way as if you didn't havea clip. The Clip counter only tells the gun when to reload. It shouldn't effect your weapon.
edgar
Posts: 9
Joined: Wed Apr 19, 2006 7:22 pm

Post by edgar »

i tried changing the clip size but it didn't fix it. the only thing that is messed up is when i pickup a dropped shotgun when i have 50 shells and less than a full clip, it'll still pickup the gun insted of walking past it, it does the same thing with the new reloading chaingun.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

Eriance wrote:your weapon's clip should never be te same amount as the ammo that the weapon gives, never more and neer less.
Doesn't that exclude all possible cases?
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

edgar wrote:i got a different question, if you have full ammo for a reloading weapon, say you have 50 shotgun shells, but you have less than a full clip and you pick up a shotgun, you'll pick it up but since you have full ammo already it'll just disappear, is there a way to correct this problem.
I don't understand that. It shouldn't pick up, unless it's a weapon and you don't have that weapon.
edgar
Posts: 9
Joined: Wed Apr 19, 2006 7:22 pm

Post by edgar »

i've been testing around and i've found several other wads with reloading weapons that have the same problem, such as the doom3 weapons mod, ww-stranger, and the automatic shotgun from the wrw. also i did not see this problem in zen dynamics,
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Post by Ryan Cordell »

edgar wrote:i've been testing around and i've found several other wads with reloading weapons that have the same problem, such as the doom3 weapons mod, ww-stranger, and the automatic shotgun from the wrw. also i did not see this problem in zen dynamics,
Zen Dynamics has a much more diffrent method of reloading. It uses ACS compared to WW-Stranger, Doom3 Weapon mod's and the WRW Automatic Shotgun's method of using DECORATE to reload. (Randy should've used the kind of reloading system from DDF/EDGE, imho.)
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

There's one major gripe I have with the way EDGE handles reloading: The fact you can't do partial reloading properly. At least the hax I made for ZDoom handles that. If that gets done, I'm all for it.
Last edited by TheDarkArchon on Thu Apr 27, 2006 12:48 pm, edited 1 time in total.
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Post by Ryan Cordell »

And if Decorate can get some major features from DDF, I'll be happy to even ignore EDGE, but for now, Decorate just seems a bit pale to what DDF does. Sorry Randy, but if you think DDF is poor or something..
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Blade Nightflame wrote:And if Decorate can get some major features from DDF, I'll be happy to even ignore EDGE, but for now, Decorate just seems a bit pale to what DDF does.
The WRW has several things that cannot be done in EDGE, such as splash damage not affecting the spawner, chargable weapons, homing weapons (EDGE has this but it not well implemented ATM) to name a few.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Genuine reloading support is definitely on my to-do list for DECORATE. But this will have to wait until after 2.0.99. IMO it is more important now to get out a new version with all the .96x features and the recent changes.
Locked

Return to “Editing (Archive)”