Garry's Mod

Garry's Mod

ANPlus [BASE] | Replacer Update
Zobrazuje se 211–220 z 301 položek
< 1 ... 20  21  22  23  24 ... 31 >
Aktualizace: 3. úno. 2023 v 8.36

Aktualizace: 3. úno. 2023 v 2.39

CHANGES

  • Fixed issues with "OnPhysgunFreeze" hook.

Aktualizace: 2. úno. 2023 v 21.05

Aktualizace: 27. led. 2023 v 17.46

CHANGES

  • Some function changes:
    >ANPlusFireEntity(entity, marksmanAiming, pos, ang, count, force, spread, delay, burstCount, burstReset, fireSND, distFireSND, entPreCallback, entPostCallback, callback)
    - New marksmanAiming bool (works the same way as with the SWEP base) makes the NPCs use a new function instead of GetAimVector()

    >ANPlusFireBullet( bullet, marksmanAiming, pos, delay, burstCount, burstReset, fireSND, distFireSND, callback )
    - New marksmanAiming bool,
    - New pos vector must be supplied to use marksmanAiming function,

Aktualizace: 26. led. 2023 v 15.02

CHANGES

  • Changes to ENT:ANPlusMeleeAct(target, act, speed, rspeed, dist, full360, cooldown, callback) and ENT:ANPlusDealMeleeDamage(dist, dmg, dmgt, viewpunch, force, full360, sndhit, sndmiss, callback):
    > full360 now works in 2 ways. You can either set it to true and make your NPC deal melee damage 360 degrees or insert full360 as a table which will restrict angles at wich melee attacks will hit:
    local full360 = { ['Pitch'] = 70, - Up/Down ['Yaw'] = 45, - Left/Right ['Roll'] = 360, - Well... Roll? }

  • Added a new function ENT:ANPlusRangeAct(target, act, speed, rspeed, distMax, distMin, full360, cooldown, callback)
    > Similar to the ANPlusMeleeAct with the difference that it doesn't restrict which weapons can be used with it and comes with different distance values (min and max).

  • Added a new function ENT:ANPlusFireEntity(entity, pos, ang, count, force, spread, delay, burstCount, burstReset, fireSND, distFireSND, entPreCallback, entPostCallback, callback):
    > A QOL function to launch entities (grenades, rockets, etc)

Aktualizace: 26. led. 2023 v 14.47

Aktualizace: 25. led. 2023 v 12.14

Aktualizace: 25. led. 2023 v 11.43

Aktualizace: 24. led. 2023 v 14.02

CHANGES

  • Added new NPC function ['OnNPCFollow'] = function(self, ent, state):
    > It fires every time NPC follows/unfollows something/someone (follow/unfollow state is determined by the "state" variable).

  • Removed ['PlayerAlly'] variable,

  • ['Relations'] tab was updated to take "player" as a value instead. If you wish to change the disposition of your NPC to other players:
    ['Relations'] = { ['Default'] = { ['MeToNPC'] = { "Default", 0 }, ['NPCToMe'] = { "Default", 0 } }, -- Like/Hate/Fear/Neutral/Default(no change) ['player'] = { ['MeToNPC'] = { "Default", 0 } }, -- Like/Hate/Fear/Neutral/Default(no change) },

Aktualizace: 24. led. 2023 v 12.52