Gunrock Posted April 7, 2019 I'm still trying to learn more about scripting as well as decorate functions. You guys have been very helpful!!!!! My question is how do I go about making the zombie guy and the chain gunner drop ammo clips and shells instead of the usual chain gun and shotgun weapons? Thanks for any help!!! 0 Quote Share this post Link to post
Empyre Posted April 7, 2019 (edited) ACTOR MyCustomShotgunGuy : ShotgunGuy replaces ShotgunGuy { DropItem Shells } ACTOR MyCustomChaingunGuy : ChaingunGuy replaces ChaingunGuy { DropItem Clip } This will make the shotgun guy drop shells and the chaingun guy drop a clip. Edited April 7, 2019 by Empyre 2 Quote Share this post Link to post
Kappes Buur Posted April 7, 2019 (edited) In addition to what Empyre mentioned, check out https://zdoom.org/wiki/Classes:Doom for the Monsters https://zdoom.org/wiki/Actor_properties for Dropitem The WIKI is your friend ™ Edited April 7, 2019 by Kappes Buur 2 Quote Share this post Link to post
Gunrock Posted April 7, 2019 Guys thank you!!! Sorry about my lack of knowledge. I'm just now getting into decorate language. 0 Quote Share this post Link to post
Empyre Posted April 7, 2019 10 hours ago, Gunrock said: Guys thank you!!! Sorry about my lack of knowledge. I'm just now getting into decorate language. It is natural for somebody who is new to not know much yet. Search the wiki, and ask questions if the wiki didn't answer them for you. Later, when you have learned more and you know the answer to a question somebody else asks, pay it forward. 1 Quote Share this post Link to post
Chow Yun Thin Posted April 8, 2019 One thing of note is that ammo items and weapons dropped from enemies have half the usual amount, e.g. a chaingun already in the map on HMP has 20 bullets whereas one dropped from a chaingun guy only has 10. 0 Quote Share this post Link to post
Empyre Posted April 9, 2019 9 hours ago, Chow Yun Thin said: One thing of note is that ammo items and weapons dropped from enemies have half the usual amount, e.g. a chaingun already in the map on HMP has 20 bullets whereas one dropped from a chaingun guy only has 10. If you want to take that into account, change DropItem "Clip" to DropItem "Clip", 255, 10 The 255 tells it to drop the item 255/255 of the time (always, the default behavior), and the 10 tells it to drop a clip with only 10 bullets instead of the usual 20. 0 Quote Share this post Link to post
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.