Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
I've been meaning to make this thread for a long while now, well no better time for that than now. I welcome any stray souls to my.... CODE SHACK
Over the years of modding Doom I have been making various little things with no intent of doing anything with them other than just to have fun.
Many of those things are just sitting on my hard drive and rotting away and I figured maybe there's someone out there that might find a use for them.
So, without any further ado, here's the link to the folder: [DOWNLOADS]
Spoiler: As for the contents....
Half-Life 2 styled gun emplacements Filename: MountedGun.pk3
This one adds 3 various gun emplacements that you can add to your map: A chaingun, a plasma rifle and a rocket launcher.
They are styled after the ones in Half-Life 2: You interact with them to use them and then just aim and fire normally. Either interact again or walk away to disengage the gun.
Included is a little test map.
Amnesia styled doors Filename: AmnesiaDoor.pk3
This one adds a door based on the ones from Amnesia: You have to hold the use key and move your mouse up or down to open/close it.
The doors can also be destroyed with a gun for those in a rush.
Included is a little test map.
Block and parry system Filename: ParryBlock.pk3
This one adds a blocking and parrying system: If an attack comes from the front while either is active, the player will either block all damage from the attack, or parry it and either stun the attacking enemy or send back the projectile.
Fully controllable rocket projectile Filename: RocketPunch.wad
This one changes the rocket launcher to allow the player to take full control of the rocket fired. You can move your camera around and the rocket will follow.
Orbital camera Filename: OrbitCamera.wad
This one adds an orbital camera like from Dark Souls. It's also map geometry aware and will zoom in if something was to block it.
Dual swapping player class Filename: SwapClass.wad
This one adds a special player class that can switch between two different ones. Simply inherit two classes from the base one and define a Sibling for each.
Right now it might not be a lot, but my mod folder is quite big, so I plan on expanding this list whenever I scavenge something interesting there.
Oh stray soul of the Script Library subforum, I hope you find any of my wares of use.
And if any issues come up, please let me know and I will try to fix them as fast as I can.
Last edited by Jarewill on Thu May 16, 2024 12:46 pm, edited 1 time in total.
The gun emplacements and Amnesia doors files have been updated to include little usage tutorials (readme.txt) that explain how to use the code and add to it.
The Amnesia doors also saw an update to give more freedom when placing them with three new variables: Opening angle, door health and door lock.
I also brought another bit of code: A block and parry system, more information above.
Brohnesorge wrote: ↑Sun May 12, 2024 12:18 am
this is immensely helpful, especially the guided rocket stuff, I thank you for taking the time
I am glad to be of help!
I bring one more piece of code with me today.
I wrote it yesterday for a friend, but plans have changed so with his blessing I'm putting this here.
The code in question allows you to define two player classes and switch between them at will. (Default bind: G)
It's pretty experimental and might have some issues, so report any if found! More information above.
I definitely like the SwapClass.wad, but I was wondering if there was some way to have the health carry over between the two? It'd make it a bit overpowered if you swap while you're already low, and instantly be at 100HP again.
painedanomaly wrote: ↑Thu Dec 05, 2024 2:26 am
I definitely like the SwapClass.wad, but I was wondering if there was some way to have the health carry over between the two? It'd make it a bit overpowered if you swap while you're already low, and instantly be at 100HP again.
Oh that's a simple fix, just change the order of the health setting from player.health=swap.health; to swap.health=player.health;