This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:modding:dehacked [2024/09/12 01:18] – A User Not Logged in | tutorials:modding:dehacked [2025/04/14 04:51] (current) – A User Not Logged in | ||
---|---|---|---|
Line 71: | Line 71: | ||
;#; | ;#; | ||
{{: | {{: | ||
+ | \\ tested in chocolate doom by creating a shortcut with a target field that looks like: " | ||
;#; | ;#; | ||
- | The pickup ammo for the Plasma Rifle is twice that of the cell ammo, so obviously this is pretty unbalanced if the weakest enemy is dropping absurd amounts of plasma ammo. Let's try to balance this a little bit... Go to the weapons | + | |
+ | The pickup ammo for the Plasma Rifle is twice that of the cell ammo, so obviously this is pretty unbalanced if the weakest enemy is dropping absurd amounts of plasma ammo. Let's try to balance this a little bit... Go to the Ammo window and change the pickup amount to 2. Now cells will give you 2 ammo, and rifles will give you 4. | ||
;#; | ;#; | ||
Line 79: | Line 81: | ||
;#; | ;#; | ||
- | WIP. | + | Alright. Now let's get complicated. We want him to explode when he dies and shoot mancubus fireballs at the same time. I'm not going to make any new sprites, so we'll swipe some exploding sprites from barrels. That would be BEXPC, BEXPD, and BEXPE. We'll head over to his entry in the " |
+ | We'll also need 4 actions for this, scream, fall, fatattack3, explode. In his typical death he already has scream and fall, so we need two actionable states. We'll swipe those from the "SS Nazi" chase states. No one will notice.\\ | ||
+ | The states we're stealing are 734 and 735, but we can't just take them, we need to shift the SS Nazi's states around a little to free them up. Otherwise the SS will just explode when they chase you since they' | ||
+ | |||
+ | ;#; | ||
+ | {{: | ||
+ | ;#; | ||
+ | |||
+ | So select state 733, after filtering for the SS Nazi, and change it's "Next state" to the first SS Nazi chase state (728). Then change it's sprite to the next walking sprite of the SS Nazi (SSVD) and the duration of states 732 and 733 to 6. It's a little hacky, but now when the SS nazi goes through it's chase cycle it'll at least cycle properly. Though the last two frames of animation will be chunkier in motion since they' | ||
+ | We're also going to change state 735's next state to 192. You can now find the stolen SS Nazis states in the filter under " | ||
+ | It's often much easier to steal entire enemies and redistribute their states as you see fit. The SS Nazi is a go-to because it's only used in the secret maps, and rarely used in custom maps. | ||
+ | |||
+ | Now we redirect the Former Human (remember it's called " | ||
+ | |||
+ | OKAY. So we're going to change the sprites for the states. | ||
+ | 191 will be BEXPC, 734 will be BEXPD, and 735 will be BEXPE, and 192 will also be BEXPE.\\ | ||
+ | |||
+ | OKAY OKAY. Now we change the actions. 734 gets " | ||
+ | |||
+ | OKAY OKAY OKAY. That's it! Now they fire plasma, drop plasma rifles, explode when they die (which tends to kill the other former humans around them), and fire off fireballs as they explode. LAST THING. Go to the " | ||
+ | |||
+ | That's really it now. If you want to see the .deh file I ended up with here you go:\\ | ||
+ | \\ | ||
+ | |||
+ | <WRAP button centeralign> | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | Hope this helped. |