-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.lua
209 lines (182 loc) · 6.95 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
-- Based on Malik's and Blue's animal shelters and vorp animal shelter, hunting/raising/tracking system added by HAL
Config = {}
Config.Locale = "en"
Config.Framework = "redem" -- IMPORTANT: Put either "redem" or "vorp" depending on your framework. VORP users need to also change the Convar in .fxmanifest !!
Config.CallPetKey = false --Set to true to use the CallPet hotkey below
Config.TriggerKeys = {
OpenShop = 'E',
CallPet = 'U'
}
--The attack command sets your animal to attack a target
Config.AttackCommand = true -- Set true to be able to send your pet to attack a target you are locked on (holding right-click on them)
--<<Only have one of these 3 be true or all 3 false if you want the attack prompt on all targets
Config.AttackOnlyPlayers = false -- The attack command works on only player peds
Config.AttackOnlyAnimals = false -- The attack command works on animal types, not players/peds
Config.AttackOnlyNPC = false -- If this is enabled, you can attack NPC peds and animals but not people
-->>
--The track command sets your animal to follow the selected target
Config.TrackCommand = true -- If this is enabled, you can send pets to track a target you are locked on
--<<Only have one of these 3 be true or all 3 false if you want the track prompt on all targets
Config.TrackOnlyPlayers = false -- The track command works on only player peds
Config.TrackkOnlyAnimals = false -- The track command works on animal types, not players/peds
Config.TrackOnlyNPC = false -- If this is enabled, you can track NPC peds and animals but not people
-->>
Config.DefensiveMode = true --If set to true, pets will become hostile to anything you are in combat with
Config.NoFear = true --Set this to true if you are using Bears/Wolves as pets so that your horses won't be in constant fear and wont get stuck on the eating dead body animation.
Config.AnimalTrackingJobOnly = false -- If true only people with the jobs below can use the tracking option
Config.AnimalTrackingJobs = {
[1] = 'police',
[2] = 'hunter',
}
Config.SearchRadius = 50.0 -- How far the pet will search for a hunted animal. Always a float value i.e 50.0
Config.FeedInterval = 1200 -- How often in seconds the pet will want to be fed
Config.RaiseAnimal = true -- If this is enabled, you will have to feed your animal for it to gain XP and grow. Only full grown pets can use commands (halfway you get the Stay command)
Config.FullGrownXp = 200 -- The amount of XP that it is fully grown. At the halfway point the pet will grow to 50% of max size.
Config.XpPerFeed = 20 -- The amount of XP every feed gives
Config.NotifyWhenHungry = true -- Puts up a little notification letting you know your pet can be fed.
Config.AnimalFood = 'meat' -- The item required to feed and/or level up your pet
Config.Shops = {
{
Name = 'Animal Shelter',
Ring = false,
ActiveDistance = 5.0,
Coords = {
vector3(-273.51,689.26,112.45)
},
Spawndog = vector4( -284.09, 685.34, 113.59, 234.45 ),
Blip = { sprite = -1646261997, x = -273.51, y = 689.26, z = 113.41 }
}
}
Config.PetAttributes = {
FollowDistance = 5,
Invincible = false,
SpawnLimiter = 60, -- Set this to limit how often a pet can be spawned or 0 to disable it
DeathCooldown = 300 -- Time before a pet can be respawned after dying
}
Config.Animals = { --These are the animals the dogs will retrieve
--Hash ID must be the ID of the table
[-1003616053] = {["name"] = "Duck", },
[1459778951] = {["name"] = "Eagle", },
[-164963696] = {["name"] = "Herring Seagull",},
[-1104697660] = {["name"] = "Vulture",},
[-466054788] = {["name"] = "Wild Turkey",},
[-2011226991] = {["name"] = "Wild Turkey",},
[-166054593] = {["name"] = "Wild Turkey",},
[-1076508705] = {["name"] = "Roseate Spoonbill",},
[-466687768] = {["name"] = "Red-Footed Booby",},
[-575340245] = {["name"] = "Wester Raven",},
[1416324601] = {["name"] = "Ring-Necked Pheasant",},
[1265966684] = {["name"] = "American White Pelican",},
[-1797450568] = {["name"] = "Blue And Yellow Macaw",},
[-2073130256] = {["name"] = "Double-Crested Cormorant",},
[-564099192] = {["name"] = "Whooping Crane",},
[723190474] = {["name"] = "Canada Goose",},
[-2145890973] = {["name"] = "Ferruinous Hawk",},
[1095117488] = {["name"] = "Great Blue Heron",},
[386506078] = {["name"] = "Common Loon",},
[-861544272] = {["name"] = "Great Horned Owl",},
}
-- Pets availability will only be limited if the object exists in the pet config.
Config.Pets = {
{
Text = "$200 - Husky",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 200,
Model = "A_C_DogHusky_01",
Level = 1
}
},
{
Text = "$50 - Mutt",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 50,
Model = "A_C_DogCatahoulaCur_01",
Level = 1
}
},
{
Text = "$100 - Labrador Retriever",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 100,
Model = "A_C_DogLab_01",
Level = 1
}
},
{
Text = "$100 - Rufus",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 100,
Model = "A_C_DogRufus_01",
Level = 1
}
},
{
Text = "$150 - Coon Hound",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 150,
Model = "A_C_DogBluetickCoonhound_01",
Level = 1
}
},
{
Text = "$150 - Hound Dog",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 150,
Model = "A_C_DogHound_01",
Level = 1
}
},
{
Text = "$200 - Border Collie",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 200,
Model = "A_C_DogCollie_01",
Level = 1
}
},
{
Text = "$200 - Poodle",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 200,
Model = "A_C_DogPoodle_01",
Level = 1
}
},
{
Text = "$100 - Foxhound",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 100,
Model = "A_C_DogAmericanFoxhound_01",
Level = 1
}
},
{
Text = "$100 - Australian Shephard",
SubText = "",
Desc = "Best pet you'll ever have",
Param = {
Price = 100,
Model = "A_C_DogAustralianSheperd_01",
Level = 1
}
},
}
Config.Keys = { ['G'] = 0x760A9C6F, ["B"] = 0x4CC0E2FE, ['S'] = 0xD27782E3, ['W'] = 0x8FD015D8, ['H'] = 0x24978A28, ['U'] = 0xD8F73058, ["R"] = 0x0D55A0F0, ["ENTER"] = 0xC7B5340A, ['E'] = 0xDFF812F9, ["J"] = 0xF3830D8E }