-
Posts
1,254 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by Krungh Crow
-
it doesnt handle backpackdrops it simply copies the outfit to a list which is used by the npc and playername is handled the same it copies it to memory and its used by npc. No items are removed by it in any way it looks at what you have equiped checks what item it is and skinid makes a text string of it and vallues and stores it in chache at time of death it doesnt remove the items.
-
the inventory belt and wear items stay on the body (unless using RestoreUponDeath) it is for now to avoid duping just cloning the outfit and adding the name to the spawned NPC. the new npc will not be able to get clothing looted just a pregenerated vanilla inventory or whatever you may set with any loot plugin.
- 92 comments
-
Changed Status from Pending to Closed
-
the kits on umod makes the outfits. the compatibility with NPCKits will make sure that it does NOT effect the bradleyguards outifits to be changed as in blocked i will rephrase it on the documentation ty
-
Failed to call hook 'OnEntityTakeDamage'
Krungh Crow replied to Evil_Snake's Support Request in Support
Changed Status from Pending to Closed -
Failed to call hook 'OnEntityTakeDamage'
Krungh Crow replied to Evil_Snake's Support Request in Support
yeah i had that trigger once while someone was attacking the bradley and reloaded the plugin. when he stopped and i reloaded it again it was gone. Keep me posted if it happens again. cheers -
- 46 comments
-
- #spawn
- #modular vehicle
- (and 12 more)
-
Changed Status from Pending to Not a Bug
-
Failed to call hook 'OnEntityTakeDamage'
Krungh Crow replied to Evil_Snake's Support Request in Support
tryed removing cfg file and language files then reload ? i tested it several times on the testserver without your issues -
Failed to call hook 'OnEntityTakeDamage'
Krungh Crow replied to Evil_Snake's Support Request in Support
hmm seems fine ill do some testing on the testserver see if i can replicate this. Do you run any other bradley plugins ? after using your config file on testerver i did not get any errors -
Failed to call hook 'OnEntityTakeDamage'
Krungh Crow replied to Evil_Snake's Support Request in Support
can post your config ? -
Version 1.4.6
3,569 downloads
When hunting and the Huntsman catches you killing Game outside hunting season it will come after you Optional dependencies : Rustkits BetterNpcNames BotReSpawn NEW Features : A set chance spawning a HuntsMan when hunting for Game (animals) (any value between 0-1) Can assign a kit or a hardcoded outfit. Compatible with NPCKits (NPCKits will not override Huntsman NPC outfits/kits) Setup roam/spawn/damage and health of the HuntsMan. Options to make the Hunter drop his backpack (loottable included) Compatible with the ChickenBow plugin to disable a huntsman spawning when killing those chickens(make sure to reload ChickenBow after updating HuntsMan) Edit each animal to be able to trigger the HuntsMan true/false Support for BasePet's like Frankenstein so they can trigger huntsman aswell for their backpack drops Support for BotReSpawn to use a custom made profile to spawn the HuntsMan (> v1.3.3) Permissions : no permissions Commands : /hminfo : Shows plugin info/version/author Configuration : To make a item spawn as a blueprint add .bp behind the shortname (for example ammo.pistol.bp) Probability from value 0 to 1 is the spawn chance of any item Usage of custom naming is now possible (> v1.4.0) Example of custom items like the ExtendedRecycler plugins recycler item. { "probability": 0.6, "shortname": "box.repair.bench", "name": "Recycler", "skin": 1594245394, "amountMin": 1, "amount": 1 }, When using BotReSpawn to spawn the Huntsman : It will use all settings from the custom profile that is made with BotReSpawn (Data Folder) spawn range , max roam ,HP etc. etc. In the BRS profile set the suicide timer high so that HuntsMan.cs can set the suicides (Lifetime) The name of the npc will be named by HuntsMan.cs so you can name it in BRS as a placeholder Profile name to be used is best to avoid spaces and Uppercase in the name { "Use Debug": true, "BotRespawn Settings": { "Use BotReSpawn": false, "BotReSpawn profile name": "huntsman" }, "Animals to trigger HuntsMan": { "Alpha Animal": true, "Omega Animal": true, "Bear": true, "Boar": true, "Chicken": true, "Horse": true, "Stag": true, "Wolf": true, "Wolf2": true }, "Hunter Settings": { "Custom Hunter Name": "HuntsMan", "spawn chance (1-100%)": 10.0, "Spawn Amount": 1, "spawn radius": 15, "Health": 250, "Max Roam Distance": 20, "Damage multiplier": 0.6, "Lifetime (minutes)": 10.0, "Use kit (clothing)": false, "Kit ID": [], "Show messages": true, "Hunters drop a Backpack with loot": true, "Use Random Skins": false, "Spawn Min Amount Items": 6, "Spawn Max Amount Items": 8, "Loot Table": [ { "probability": 1.0, "shortname": "ammo.pistol", "name": "", "skin": 0, "amountMin": 128, "amount": 256 }, { "probability": 0.6, "shortname": "box.repair.bench", "name": "Recycler", "skin": 1594245394, "amountMin": 1, "amount": 1 }, { "probability": 0.6, "shortname": "hmlmg", "name": "", "skin": 0, "amountMin": 1, "amount": 1 }, { "probability": 0.6, "shortname": "supply.signal", "name": "", "skin": 0, "amountMin": 1, "amount": 1 } ] } } Localisation : English language file included to use a different language just make a new file in the language folder. { "Prefix": "[<color=green>HuntsMan</color>] : ", "info": "\nThe [HuntsMan] Gives u the luck (or not) to spawn a Hunter that wants to kill you for killing Wild Game during offseason", "Hunter_Spawned": "You killed the {0} now pay the price !!!!", "Hunter_Spawned_Backpack": "{0} Dropped his Backpack !" } API : bool IsHuntsmanNpc(global::HumanNPC npc) void OnHuntsmanSpawned(global::HumanNPC npc) void OnHuntsmanKilled(global::HumanNPC npc) Example call : object OnEntityDeath(global::HumanNPC npc, HitInfo info) { if (npc == null) return null; if (HuntsMan.Call<bool>("IsHuntsmanNpc", npc)) { Puts($"Target : {npc} net.ID : [{npc.net.ID}] Event : HuntsMan NPC"); } return null; } void OnHuntsmanSpawned(global::HumanNPC npc) { if (npc == null) return; timer.Once(1f, () => { Puts($"{npc} spawned (HuntsMan)"); });//delayed to make sure npc is fully initialised } void OnHuntsmanKilled(global::HumanNPC npc) { if (npc == null) return; Puts($"{npc} got killed (HuntsMan)"); }Free -
- 92 comments
-
- 92 comments
-
- 92 comments
-
- 46 comments
-
- #spawn
- #modular vehicle
- (and 12 more)
-
- 92 comments
-
- 92 comments
-
- 46 comments
-
- #spawn
- #modular vehicle
- (and 12 more)
-
- 46 comments
-
- #spawn
- #modular vehicle
- (and 12 more)
-
- 92 comments
-
Changed Status from Work in Progress to Closed Changed Fixed In to 1.0.8
-
Version 2.2.3
2,046 downloads
Makes animals spawn with random HP and Strength with optional config to show each spawn in console and integrated chat listing on current server setup. Features : Animals can spawn as Alpha animal with increased stats and spawnrates (new in v2.0.0) Spawns any animal (vanilla or playerspawned) with altered stats Set Min/Max Health Set Min/Max Strength This will give each animal a random value in hp and strength !!! Option to change any animal type true/false Option to set populations through plugin or use the servers variables. Can print to console each animal stating hp and strength lvls true/false on spawning. Chatcommand printing current populations/health/and Total animal count per animal type to the chat (with permission) Animal list : Bear PolarBear Wolf Boar Stag Horse Chicken Permissions : backtothewild.Admin Commands : /bttw animals : for a full listing of cfg setup and total animal count Rust native API : Using Rusts native commands and checks like the example below in console del assets/rust.ai/agents/wolf/wolf.prefab you now can use a simpler method like below in console del bear del alpha bear del polarbear del alpha polarbear del boar del chicken del horse del stag del wolf del alpha wolf Example API to determin of a animal is a Normal or a Alpha animal void OnEntityDeath(BaseAnimalNPC animal, HitInfo info) { if (animal == null) return; BasePlayer attacker = info.InitiatorPlayer; if (attacker != null && animal.name.Contains("Alpha")) { Puts($"The animal was a {animal.name}"); } return; } Configuration Normal animals : Change animal stats on spawns : true/false Minimum Health Maximum Health Minimum Strength Maximum Strength Running Speed Configuration Alpha animals : Can spawn as Alpha : True/False Spawnrate (0-100) : based on % with 100% as always spawn as Alpha Health Multiplier : ea 1.5 multiplies the base randomisation value with 1.5x value Strength Multiplier (Att dmg) : ea 3.0 multiplies the base randomisation value with 3x value Speed Multiplier : ea 1.2 multiplies the base speed value with 1.2x value Animals will have any stat between minimum and maximum, giving a random stat. { "Skip Huntsman when using ChickenBow Plugin": true, "Console Logging settings": { "Show Bear spawns in Console": false, "Show PolarBear spawns in Console": false, "Show Wolf spawns in Console": false, "Show Boar spawns in Console": false, "Show Stag spawns in Console": false, "Show Horse spawns in Console": false, "Show Chicken spawns in Console": false }, "Population settings": { "Set population variables ?": true, "Bear population": 5.0, "PolarBear population": 3.0, "Wolf population": 5.0, "Boar population": 5.0, "Stag population": 6.0, "Horse population": 6.0, "Ridable Horse population": 4.0, "Chicken population": 6.0 }, "Bear settings": { "Change Bear stats on spawns": true, "Minimum Health": 400, "Maximum Health": 600, "Minimum Strength (Att dmg)": 30, "Maximum Strength (Att dmg": 40, "Running Speed": 0.1, "Alpha": { "Can spawn as alpha": true, "Spawnrate (0-100)": 100, "Health Multiplier": 3.0, "Strength Multiplier(Att dmg)": 1.5, "Speed Multiplier": 1.0 } }, "PolarBear settings": { "Change PolarBear stats on spawns": true, "Minimum Health": 400, "Maximum Health": 600, "Minimum Strength (Att dmg)": 32, "Maximum Strength (Att dmg": 44, "Running Speed": 6.0, "Alpha": { "Can spawn as alpha": true, "Spawnrate (0-100)": 10, "Health Multiplier": 3.0, "Strength Multiplier(Att dmg)": 1.5, "Speed Multiplier": 1.0 } }, "Wolf settings": { "Change Wolf stats on spawns": true, "Minimum Health": 150, "Maximum Health": 300, "Minimum Strength (Att dmg)": 20, "Maximum Strength (Att dmg)": 30, "Running Speed": 0.1, "Alpha": { "Can spawn as alpha": true, "Spawnrate (0-100)": 10, "Health Multiplier": 3.0, "Strength Multiplier(Att dmg)": 1.5, "Speed Multiplier": 1.0 } }, "Boar settings": { "Change Boar stats on spawns": true, "Minimum Health": 150, "Maximum Health": 450, "Minimum Strength (Att dmg)": 15, "Maximum Strength (Att dmg)": 25, "Running Speed": 0.1 }, "Stag settings": { "Change Stag stats on spawns": true, "Minimum Health": 150, "Maximum Health": 425, "Minimum Strength (Att dmg)": 15, "Maximum Strength (Att dmg)": 25, "Running Speed": 1.0 }, "Horse settings": { "Change Horse stats on spawns": true, "Minimum Health": 150, "Maximum Health": 600, "Minimum Strength (Att dmg)": 15, "Maximum Strength (Att dmg)": 25, "Running Speed": 1.0 }, "Chicken settings": { "Change Chicken stats on spawns": true, "Minimum Health": 25, "Maximum Health": 100, "Minimum Strength (Att dmg)": 1, "Maximum Strength (Att dmg)": 5, "Running Speed": 1.0 } } Localisation : English language file included to use a diffrent language just make a new file in the language folder. { "InvalidInput": "<color=red>Please enter a valid command!</color>", "Version": "\nVersion : V", "Info": "\n<color=green>List of current Population(KM2)/Health min/max settings\nAnd counts how many are on the map</color>", "NoPermission": "<color=red>You do not have permission to use that command!</color>" } Credits : Thx @Horus for making a awsome iconFree -
- 33 comments