Garry's Mod

Garry's Mod

ANPlus [BASE] | Replacer Update
Visar 211–220 av 301 poster
< 1 ... 20  21  22  23  24 ... 31 >
Uppdatering: 3 feb, 2023 @ 8:36

Uppdatering: 3 feb, 2023 @ 2:39

CHANGES

  • Fixed issues with "OnPhysgunFreeze" hook.

Uppdatering: 2 feb, 2023 @ 21:05

Uppdatering: 27 jan, 2023 @ 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,

Uppdatering: 26 jan, 2023 @ 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)

Uppdatering: 26 jan, 2023 @ 14:47

Uppdatering: 25 jan, 2023 @ 12:14

Uppdatering: 25 jan, 2023 @ 11:43

Uppdatering: 24 jan, 2023 @ 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) },

Uppdatering: 24 jan, 2023 @ 12:52