Caves of Qud

Caves of Qud

45 ratings
(Outdated) Arrow Recovery
4
   
Award
Favorite
Favorited
Unfavorite
Type: Script
Tags:  weapon
File Size
Posted
Updated
235.676 KB
22 Nov, 2020 @ 12:47am
26 Nov, 2020 @ 2:13am
4 Change Notes ( view )

Subscribe to download
(Outdated) Arrow Recovery

Description
This mod is outdated, please use plaidman's mod for the same effect: steam://openurl/https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3312620817

Adds a chance for fired arrows to fall to the ground after they hit an object. Stronger arrow materials are more likely to be recovered. Arrows that hit walls become embedded in them, and can be reclaimed by destroying or moving the wall. The collapsing corpses of fallen creatures mangle the projectiles that kill them, preventing arrows that kill their target from being recovered.

This mod only adds a part to existing arrow objects, and should work fine alongside any other mod. If new arrows are added to the game, the mod will require an update to include those, but should otherwise be fine with any future update.

The arrow recovery uses a custom class that (somewhat sloppily) creates objects of a specified blueprint on a hit. There's lots of applications for this beyond arrow recycle, and anyone is free to use it for their own content.
24 Comments
CatlikeSpectator  [author] 4 Dec, 2024 @ 12:41pm 
@plaidman
Nice, I'll link your mod in the description for this one since I'm not really maintaining my workshop stuff lately.
Smaug 25 Nov, 2024 @ 4:13am 
@plaidman An improvement in every way, thanks!
plaidman 19 Aug, 2024 @ 6:52pm 
I made a kinda-fork of this mod that fixes any issues and adds several improvements. check it out: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3312620817
Explosiv 'n' Eskort 13 Jun, 2024 @ 11:18pm 
=== Arrow Recovery Errors ===
<...>\steamapps\workshop\content\333640\2294964593\CS\Cats_ArrowRegen.cs(20,4): error CS0200: Property or indexer 'IPart.Name' cannot be assigned to -- it is read only
== Warnings ==
<...>\steamapps\workshop\content\333640\2294964593\CS\Cats_ArrowRegen.cs(23,24): warning CS0672: Member 'Cats_ArrowRecycle.Register(GameObject)' overrides obsolete member 'IPart.Register(GameObject)'. Add the Obsolete attribute to 'Cats_ArrowRecycle.Register(GameObject)'.
<...>\steamapps\workshop\content\333640\2294964593\CS\Cats_ArrowRegen.cs(27,4): warning CS0618: 'IPart.Register(GameObject)' is obsolete: 'Use Register(GameObject, IEventRegistrar)'
<...>\steamapps\workshop\content\333640\2294964593\CS\Cats_ArrowRegen.cs(35,39): warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?'
King Klipo 14 Mar, 2024 @ 4:16pm 
can u please update mod :steamhappy:
noghettoblastrs 27 Dec, 2023 @ 8:40am 
fyi this is the error it throws when trying to activate the mod:

=== Arrow Recovery Errors ===
<...>\steamapps\workshop\content\333640\2294964593\CS\Cats_ArrowRegen.cs(20,4): error CS0200: Property or indexer 'IPart.Name' cannot be assigned to -- it is read only
== Warnings ==
<...>\steamapps\workshop\content\333640\2294964593\CS\Cats_ArrowRegen.cs(35,39): warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?'
I blame Earthshaker 11 Nov, 2023 @ 7:40am 
This mod broke in the beta last night.
I blame Earthshaker 12 Sep, 2023 @ 12:35am 
I noticed this hasn't been said yet, but seriously, how is the functionality of this mod not in the base game? Even if the game barely bothers with having effective ranges for short vs "long" bows (only a difference in accuracy), re-using most arrow types makes bows a MUCH more viable competitor with guns... even if bow NPCs never bother to go pick up their arrows to re-use them.
I blame Earthshaker 20 Mar, 2023 @ 11:38am 
I guess Bitdefender uses heuristical search to find potential threats, so dunno if it's more complaining about the dll file name (since it's a number),or if this is more like a typosquating situation via the source of the file (ie, c o q.exe by means of steam.exe). Or if it is actually from a completely outside source, or a false positive. Pain in my ass no matter how you slice it...
bearhiderug 20 Mar, 2023 @ 5:49am 
there is ALWAYS a bad windows up date foe windows. 10/11/xp/vista/pro =p

well statiscaly the workshop has spread many a virus over the years.. and lets not forget what single population maintains the highest user rate on steam, on hacking, and on mod uploads.
You may consider messageing bitdefender "ifyoucan?" and letting them know about qud.exe