Salta ai contenuti

Hunting, fishing & foraging

Questi contenuti non sono ancora disponibili nella tua lingua.

Players read Hunting, fishing & foraging. Jobs themselves are on Faction jobs.

SettingDefault
Animal spawneron
Animals per player3
Animals max24
Animal life (min)20
Spawn distance min and max (m)70 and 130
Keep animals out of townson
Predators attackon (mountain lions and boars)
Predator aggro range (m)25
Prey flee range (m)30
Spawn weight: Deer, Boar, Coyote, Rabbit, Mountain lion40, 25, 15, 18, 2
Hunting yield x1.0 (meat, hides and bones from skinning)
Skinning XP, Skinning survival XP, Skinning cash30, 25, 0

The hunting areas and the town circles that keep animals out are Jobs.Hunting.areas and Jobs.Hunting.towns in bs_jobs/config/config_jobs.lua. Yields per species are Crafting.Animals in bs_crafting/config/config_crafting.lua, the knives that can skin are Crafting.SkinTool (hunting_knife, machete, hatchet, axe), and XP scaling per species is Crafting.HuntReward.

Jobs.Fishing in bs_jobs/config/config_outdoors.lua: the rod item is fishing_rod, the bait is fish_bait (one per cast), max cast distance 30 m, base time 10 s down to 6.5 s with fishing skill. The species table sets item, weight and value for freshwater (bass, catfish, trout, salmon) and saltwater (mackerel, sea fish, trophy fish). freshwater lists the circles that count as fresh water (the Alamo Sea and the river corridors), all other water uses the coastal pool.

Jobs.Foraging in the same file. A searched bush is empty for cooldown seconds (600), a search takes ms (4000). models is the list of bush props, berries is the small set that can give cranberries (20% chance), and everything else gives sticks and leaves. undergrowth lets players search any nearby plant or foliage, found by scan radius, name patterns and surface materials. zones takes hand placed foraging areas for custom maps.

Staff command. Toggles a debug mode on your client: it prints the model, name and surface material of the plant you are standing near and whether it is searchable, and why not. Use it when a bush will not let players search it, then add its model to models or its material hash to materials. Run it again to turn it off.