[WIP] Hexen Allies - A vanilla-style companion mod for Hexen/Heretic

Projects that alter game functions but do not include new maps belong here.
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.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
Post Reply
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them
Contact:

[WIP] Hexen Allies - A vanilla-style companion mod for Hexen/Heretic

Post by Kizoky »


Hexen Allies - A companion mod for Hexen and Heretic (WIP)

What is Hexen Allies?
Hexen Allies is a companion mod inspired by many companion mods for Doom.
Slay monsters, gather souls, have more companions or upgrade them!

Features
- Have AI controlled companions fight for you (Fighter, Cleric, Mage)
- Multiplayer support
- Command system (WIP)
- Inventory items
- A menu to not use the Inventory items If wanted

Misc.
- Dropped Souls will go after the nearest Player if they were never picked up
- Bosses will become tougher to kill depending on your current companion size
- Bosses will drop more Souls on death
- Companions have randomized colors
- Companions will follow the Player through Hubs, and the mod will remember their class, number, health and color
- Companions will only use higher tier weapons if their owner also have them
- Companions if stuck will teleport back to their Owner
- Companions in Multiplayer will have an indicator above their head which can be customized
- Companions can be told to stay or follow by pressing use near them (or by using the Menu)
- If a companion dies the mod will print an obituary as if they were a Player
- Companions can play landing sounds
- Companions can be killed by damaging sectors

Note:
- The mod is WIP, but can be played without any problems (ofc if no game breaking bug has been discovered which I'm not aware of :P)
- No other mods were tested other than Wrath Of Cronos, I don't know if the mod will break other mods
- The mod is yet to be balanced in terms of Soul spending and companion usefulness (because currently they are meat shields..)
- Has very barebones support for Wrath Of Cronos, Companions will not save levels after a level change
- To use Hexen Allies' menu please bind "openmenu hxa_allymenu" to any key (Will make it a bindable key in the options menu soon)

Screenshots
Spoiler:
Gameplay Video


Download Link:
https://github.com/Kizoky/hexen_allies_ ... s/main.zip (Latest always/Experimental; zip)

https://github.com/Kizoky/hexen_allies_ ... Allies.pk3 (Recommended; pk3)

https://github.com/Kizoky/hexen_allies_ZS (GitHub)
Last edited by Kizoky on Mon Apr 24, 2023 9:40 am, edited 5 times in total.
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them
Contact:

Re: Hexen Allies (WIP)

Post by Kizoky »

If there's anyone who downloaded the very first version of the mod (0.50) please grab the latest version because I fixed too many screw ups that were embarrassing
Hopefully no one will find any major bugs other than the companions being super OP because they use Player damage values
User avatar
lulle
Posts: 217
Joined: Fri May 06, 2022 9:39 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 98
Graphics Processor: nVidia with Vulkan support
Location: Germany
Contact:

Re: Hexen Allies (WIP)

Post by lulle »

Kizoky wrote:Hopefully no one will find any major bugs other than the companions being super OP because they use Player damage values
companion has to be OP! :D
Took a look quick @ your code, looks you are trying to solve this annoying follow-the-player problem without breadcrumbs. Interesting: Pushing the follower towards the player and teleport as a fallback.
I never got the pushing to look naturally...
Tried to find/program a "fool-proof" follower code for ages, but kinda gave up. What I usually do now is just checkDistance/sight and teleport. Bam :D
Right now Im curious to see how well it works :)

And yeah an UI for the companion is sweeeeet stuff.

Keep it up!
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them
Contact:

Re: Hexen Allies (WIP)

Post by Kizoky »

lulle wrote:
Kizoky wrote:Hopefully no one will find any major bugs other than the companions being super OP because they use Player damage values
companion has to be OP! :D
Took a look quick @ your code, looks you are trying to solve this annoying follow-the-player problem without breadcrumbs. Interesting: Pushing the follower towards the player and teleport as a fallback.
I never got the pushing to look naturally...
Tried to find/program a "fool-proof" follower code for ages, but kinda gave up. What I usually do now is just checkDistance/sight and teleport. Bam :D
Right now Im curious to see how well it works :)

And yeah an UI for the companion is sweeeeet stuff.

Keep it up!
The "follow the Player" mostly works, they still get stuck from time to time.
Teleporting back to the Player works the same way like you what described, only that it has a timer (15 seconds) until it teleports back to the Player
Thank you :)
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them
Contact:

Re: Hexen Allies (WIP)

Post by Kizoky »

I've added a gameplay video to showcase how it plays out currently.
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them
Contact:

Re: Hexen Allies (WIP)

Post by Kizoky »

bump

I've updated Hexen Allies yet again and fixed or added things: (since my above post)
- Least owned Ally class is now prioritized when spawning
- Fixed Allies getting damaged in the air inside damaging sectors
- Fix Soul counter on the inventory items getting stuck while using the menu
- Fixed several VM aborts
- Menu will now properly refresh if you spawn a new Ally in
- Code cleanup
- Menu is now 100% Multiplayer friendly, and shouldn't cause any desyncs
- Fixed Cleric and Fighter killing anything in one hit
- Fighter's Fist is now on par with the Player's Fist weapon, the behavior too
- Menu-related flags are now reset on level change
- You can now set the Multiplayer color from the Menu by clicking on the gear icon
- Setting the colors from the Menu will now immediately reset the multiplayer indicator above your allies heads in Multiplayer
- Possible multiplayer desync fixed by replacing "findcvar" functions with "getcvar"


Mod is still not 100% completed yet, but is playable.
I have some plans for making some of the OP weapons mana-based for the Allies, as well as making weapons unlockable via souls, rather than making them unlocked the moment you have a higher tier weapon.
User avatar
Unregret
Posts: 160
Joined: Wed Jan 04, 2023 5:42 am
Preferred Pronouns: He/Him

Re: [WIP] Hexen Allies - A vanilla-style companion mod for Hexen

Post by Unregret »

Uohhhh!
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them
Contact:

Re: [WIP] Hexen Allies - A vanilla-style companion mod for Hexen/Heretic

Post by Kizoky »

Update

I've been thinking about supporting Heretic as well, so in just one day I added support for it!

In Heretic souls will immediately go towards you since you can't really jump, other than that the features should be on par with Hexen's
I guess the only unique feature Heretic will have is the "powered" feature for Allies, but I still need to think about how I should implement that.



User avatar
Unregret
Posts: 160
Joined: Wed Jan 04, 2023 5:42 am
Preferred Pronouns: He/Him

Re: [WIP] Hexen Allies - A vanilla-style companion mod for Hexen/Heretic

Post by Unregret »

Nice good sir!
Post Reply

Return to “Gameplay Mods”