ARK: Survival Evolved

ARK: Survival Evolved

Immersive Taming
Idea for How to Add Kibble Arrows
Seperated this from the comments section because it's was a bit lengthy.

The following is just an idea to try help you out with how you can implement kibble arrows without adding a ton of emgrams, etc.

Dev Kit process::
1. Pick out you want to save the settings per user, example :: add a per user setting actor (assuming you don't have one allready, and only have a global one for all the settings for the mod)

2. add 1 new arrow called "Kibble Arrow" :: setup this item that on use in inventory, it searches all of inventory for kibble bait, and applies it to the arrow (aka : acually applies it within the user setting). multiple use rotates through multiple kibble bait in your inventory as to what to apply to the arrow.

3. when you shoot that arrow, and it hits. on hit detection, the arrow checks for what the last kibble was that was set by that user (saved in a var within the user settings). Then it checks to make sure you have some of that kibble bait in your inventory. If you do, then it subtracts 1 from inventory, and place 1 in the world.

Optional :: you could add a check when the arrow weapon/arrow is being equipted to check if the bait is in your inventory at that point and give an message, to validate that kibble bait is still in your inventory and prevent firing without it, but having that check when hit would also be needed in case anyone removes it from there inventory between equipt and fire.

< >
Zobrazuje se 12 z 2 komentářů
Burgesssssss  [vývojář] 4. čvc. 2018 v 15.37 
Although this would have the desired end result, I'd like to keep the usage of baits and arrows consistent between all bait types, at least from the player's perspective.

If I have to, it's no problem for me to create weapon actors for each kibble type, as it'll be just duplication and changing bait classes. It'll just be monotonous to do and it's just not something I've actively looked into in full just yet.

Thanks for taking the time to think of alternatives though.
yea, and if you decide to change/modify anything later.. maintinance will be a real pain in the ass. lol.

you could always chance/add a similar method for ALL arrow types. where it's kind of like a "toolbox" that you activate, which allows you to select the bait type to use for the arrows, and then you could talor it for all arrow types. just trying to make your life easier as a fellow coder ;)

either way, thanks for the great work.
< >
Zobrazuje se 12 z 2 komentářů
Na stránku: 1530 50