Garry's Mod

Garry's Mod

ANPlus [BASE] | Replacer Update
正在显示第 211 - 220 项,共 301 项条目
< 1 ... 20  21  22  23  24 ... 31 >
更新于:2023 年 2 月 3 日 上午 8:36

更新于:2023 年 2 月 3 日 上午 2:39

CHANGES

  • Fixed issues with "OnPhysgunFreeze" hook.

更新于:2023 年 2 月 2 日 下午 9:05

更新于:2023 年 1 月 27 日 下午 5: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,

更新于:2023 年 1 月 26 日 下午 3: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)

更新于:2023 年 1 月 26 日 下午 2:47

更新于:2023 年 1 月 25 日 下午 12:14

更新于:2023 年 1 月 25 日 上午 11:43

更新于:2023 年 1 月 24 日 下午 2: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) },

更新于:2023 年 1 月 24 日 下午 12:52