Code Monkey home page Code Monkey logo

half-life-resurgence's Introduction

Half-Life-Resurgence

Recreation & expansion of NPCs, entities, and weapons from the Half-Life series into Garry's Mod.

Steam Workshop Page: https://steamcommunity.com/sharedfiles/filedetails/?id=2548809283
Change Log: https://github.com/VJ-HLR-Developers/Half-Life-Resurgence/releases
Roadmap: https://github.com/orgs/VJ-HLR-Developers/projects/4
VJ Base (Required): http://steamcommunity.com/sharedfiles/filedetails/?id=131759821
Half-Life Resurgence Videos: https://www.youtube.com/playlist?list=PL6fdmm0WenpO1DGSGhedrC3Yio9JEl-P-

FEATURES & GOALS OVERVIEW:

  • Recreate every possible NPC, entity, and some weapons from the Half-Life series with respect to the original games.
  • Use only the original effects, particles, decals and textures wherever possible.
  • Recreate cut, alpha, and beta content, if no information is given by Valve, then reimagine them to the best of our ability.
  • Add new features, including new abilities, AI behaviors, weapons, etc. Examples: HECU engineers can construct turrets, new weapons for Rebels, and many more!
  • Add custom content that we or the community have envisioned. Examples: Black Ops Robo Grunts, Combine & Rebel engineers, content from Sven Coop, and much more!
  • Add NPC Controller support to all the NPCs, allowing the user to play as any character.
  • Introduce an optional feature that automatically replaces Half-Life 1 & 2 NPCs with their Half-Life-Resurgence counterpart.
  • Add support for Half-Life 1 & 2 campaigns to the necessary NPCs, allowing the user to play any of the campaign using the Auto Replace feature.

half-life-resurgence's People

Contributors

breavytf2 avatar cpt-hazama avatar drvrej avatar epicplayer40 avatar ivanvladimir04 avatar oteek avatar roachdaripper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

half-life-resurgence's Issues

Unknown Lua Error

This usually happens when a grunt is attacking a target, then it gets headcrabbed

Not always though, which is confusing

[ERROR] addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:2294: attempt to index a nil value

  1. RunCode_OnFinish - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:2294
  2. DoRunCode_OnFinish - addons/vj-base-master/lua/entities/npc_vj_human_base/schedules.lua:30
    3. ScheduleFinished - addons/vj-base-master/lua/entities/npc_vj_human_base/schedules.lua:101
    4. unknown - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:2133

Decay grunts

Since you have included the Half life and opposing force grunts, Is there any chance we will see the decay grunts?
image

LUA error when attacking a jumping female assassin

When shooting a female assassin mid-air, this error occurs:

` [ERROR] addons/vj-base-master/lua/entities/npc_vj_human_base/schedules.lua:80: bad argument #1 to 'SetArrivalActivity' (number expected, got boolean)

  1. SetArrivalActivity - [C]:-1
  2. StartSchedule - addons/vj-base-master/lua/entities/npc_vj_human_base/schedules.lua:80
    3. VJ_TASK_COVER_FROM_ENEMY - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:1419
    4. unknown - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:3877

`

Models are errors

When i install this addon i only get errors for models, combine engineers and resistance turrets arent even their models, also alyx ia error, the entire HL1 resgurence is a error, some of the hl2 arent.

abrams tank invisible glitch and gib error

first of all hello thanks for reading i been having a recent issues since this days its that the m1a1 abrams npc when i get up of it for some reason turns invisble of the down part the npc stills perfectly functional but it makes kinda hard to see (watch 1st image) and the second is the most weird it consist that everytime the tank dies it gibs but recently the gibs get stuck in the superior part of the prop and cause a inmense lag that doesnt allow to me to make anything till y do an admin cleanup i dont know why this happens it only happens to the abrams the bradley continues perfect [
gm_hl1_lily_construct_130193
gm_hl1_lily_construct_130191

](url)

LUA error on Baby Gargantua footsteps

`[ERROR] addons/half-life-resurgence-master/lua/entities/npc_vj_hlr1_garg/init.lua:100: attempt to call method 'WorldShakeOnMoveCode' (a nil value)

  1. CustomOnAcceptInput - addons/half-life-resurgence-master/lua/entities/npc_vj_hlr1_garg/init.lua:100
  2. unknown - addons/vj-base-master/lua/entities/npc_vj_creature_base/init.lua:2118`

i need help setting up the mod

guys, i need help, DO NOT CLOSE THIS ISSUE IDK HOW TO SET THIS UP I DOWNLOADED it and please DO NOT CLOSE THIS just please link me to something that can help me please and thank you.

how do i install the mod?

i need help with installing the mod, all i have used for garrys mod is the workshop, i have experience of setting things up in files but i can`t find anything to help me set this up.

LUA error when Tor uses his staff beam attack

[ERROR] addons/half-life-resurgence-master/lua/effects/vj_hlr_electric_charge/init.lua:33: attempt to index a nil value

  1. unknown - addons/half-life-resurgence-master/lua/effects/vj_hlr_electric_charge/init.lua:33

[ERROR] addons/half-life-resurgence-master/lua/effects/vj_hlr_electric_charge/init.lua:15: attempt to index a nil value

  1. unknown - addons/half-life-resurgence-master/lua/effects/vj_hlr_electric_charge/init.lua:15

[ERROR] addons/half-life-resurgence-master/lua/effects/vj_hlr_electric_charge/init.lua:42: attempt to perform arithmetic on field 'DieTime' (a nil value)

  1. unknown - addons/half-life-resurgence-master/lua/effects/vj_hlr_electric_charge/init.lua:42

deleted

there is already an issue about this so please delete this if you can thanks

Combine Sniper Rifle lua error

[Half-Life Resurgence] lua/weapons/weapon_vj_hlr2_csniper/shared.lua:101: attempt to index a nil value

  1. CustomOnThink - lua/weapons/weapon_vj_hlr2_csniper/shared.lua:101
  2. unknown - lua/weapons/weapon_vj_base/shared.lua:721

Rebels when they witness the death of an ally done by a player don't do anything

Not sure to call it a bug report or feature request but, when the player hits the rebels many times, their relationship changes, but when a rebel gets killed with a few hits (example: a crowbar), they don't react properly. This can be fixed by adding this piece of code in npc_vj_hlr2_rebel/init.lua down to ENT:CustomOnDoKilledEnemy:

function ENT:CustomOnPriorToKilled(dmginfo, hitgroup)
local allies = self:CheckAlliesAroundMe(checkdist)
    if allies != nil then
	for k, v in ipairs(allies) do
		v:CustomOnAllyDeath(self)
		
		if (dmginfo:GetAttacker():IsPlayer() == true) then
		//Copied the code from human_base
			if v:Disposition(dmginfo:GetAttacker()) != D_HT then
				v:CustomWhenBecomingEnemyTowardsPlayer(dmginfo,hitgroup)
				if v.FollowingPlayer == true && v.FollowPlayer_Entity == dmginfo:GetAttacker() then v:FollowPlayerReset() end
				v.VJ_AddCertainEntityAsEnemy[#self.VJ_AddCertainEntityAsEnemy+1] = dmginfo:GetAttacker()
				v:AddEntityRelationship(dmginfo:GetAttacker(),D_HT,99)
				v.TakingCoverT = CurTime() + 2
				if !IsValid(v:GetEnemy()) then
					v:StopMoving()
					v:SetTarget(dmginfo:GetAttacker())
					v:VJ_TASK_FACE_X("TASK_FACE_TARGET")
				end
				if v.AllowPrintingInChat == true then
					dmginfo:GetAttacker():PrintMessage(HUD_PRINTTALK, self:GetName().." no longer likes you.")
				end
				v:BecomeEnemyToPlayerSoundCode()
			end
			v.Alerted = true
		//
		end
	end
end 
end

What it does is when a rebel gets killed by a player, all the rebels around the rebel killed get notified and change their relationship towards the player.

Any improvements to the code are welcome.

barnacle hl1 causes crashes

ok so its me again i finnaly buyed gmod from steam and i been testing half life resurgence like for a month or more and i can say its the best addon eva but when i kill a barnacle that grabbed me or grabbed other npcs my game freezes and crashes idk why this happens but i think i can live with it btw: will u add barnacle grabbed animations to scientist grunts guards and alien slaves? hope to not make so much conflict thank you :)

BUG

When I play as a sniper combine, then for some reason I am attacked by combines and also with other hostile NPCs.
When an NPC from half life 2 is at war, there may be an animation bug. he will stand but the animation is like he is running.
When you control the NPC, then you are not treated by medic.

[VJ-BASE] Unknown Lua Error

When a HECU is reloading an error will sometimes pop up, this is what I got.

[ERROR] addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:2261: attempt to call method 'NPC_ReloadWeapon' (a nil value)

  1. DoReloadAnimation - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:2261
  2. RunCode_OnFinish - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:2297
    3. DoRunCode_OnFinish - addons/vj-base-master/lua/entities/npc_vj_human_base/schedules.lua:30
    4. StartSchedule - addons/vj-base-master/lua/entities/npc_vj_human_base/schedules.lua:87
    5. unknown - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:1348

Shock Troopers cause lua error when shooting.

Shock Troopers seem to cause an error in console while shooting then stop shooting all together.

[VJ Base] addons/half-life-resurgence/lua/entities/npc_vj_hlrof_shocktrooper/init.lua:208: attempt to call method 'PlaySound' (a nil value)
  1. ThrowGrenadeCode - addons/half-life-resurgence/lua/entities/npc_vj_hlrof_shocktrooper/init.lua:208
   2. unknown - lua/entities/npc_vj_human_base/init.lua:2231

A serious bad error

[half-life-resurgence-master] addons/half-life-resurgence-master/lua/autorun/vj_hlr_autorun.lua:22: attempt to call field 'AddCategoryInfo' (a nil value)

  1. unknown - addons/half-life-resurgence-master/lua/autorun/vj_hlr_autorun.lua:22

why it happens (it can't appear in VJ Base)

-- SUGGESTION

HLZE suggestion, a portion of mod now presumably discontinued, I suggest instead just porting everything to the main mod and keeping the models the same, and slap on some compatibility for the headcrab so it can latch onto scientists + guards just like in HLZE, use the current zombie skins and you might just have yourself a even better mod.

License conflict

License is GNU AGPL, but there are headers in code:

/*-----------------------------------------------
	*** Copyright (c) 2012-2020 by DrVrej, All rights reserved. ***
	No parts of this code or any of its contents may be reproduced, copied, modified or adapted,
	without the prior written consent of the author, unless otherwise indicated for stand-alone materials.
-----------------------------------------------*/

Apache machine gun bug

Whenever the apache uses its machine gun, It almost completely misses every shot on small targets such as players. I know its still very wip, just a heads up

Kingpin spewing Lua errors

Everytime I spawn Kingpin, he spews Lua errors and refuses to attack at all. Unless it's some addon causing this problem or something else.

[half-life-resurgence-master] addons/half-life-resurgence-master/lua/entities/npc_vj_hlr1_kingpin/init.lua:125: attempt to call method 'IsBusy' (a nil value)

  1. CustomAttack - addons/half-life-resurgence-master/lua/entities/npc_vj_hlr1_kingpin/init.lua:125
  2. unknown - lua/entities/npc_vj_creature_base/init.lua:1780 (x10)

i get this error everytime the probe droid shoots something

[half-life-resurgence-master] addons/half-life-resurgence-master/lua/entities/obj_vj_hlr1_probed_needle.lua:84: attempt to call global 'VJ_ApplySpeedEffect' (a nil value)

  1. CustomOnDoDamage - addons/half-life-resurgence-master/lua/entities/obj_vj_hlr1_probed_needle.lua:84
  2. DoDamageCode - lua/entities/obj_vj_projectile_base/init.lua:213
    3. unknown - lua/entities/obj_vj_projectile_base/init.lua:223

LUA error when a Hunter kills an enemy while continuously shooting.

When a hunter kills the player and continues to shoot, this error is rapidly spewed in the console while the hunter continues firing flechettes with no velocity:

[ERROR] addons/half-life-resurgence-hlr_hl2/lua/entities/npc_vj_hlr2_com_hunter/init.lua:177: attempt to index a nil value

  1. RangeAttackCode_GetShootPos - addons/half-life-resurgence-hlr_hl2/lua/entities/npc_vj_hlr2_com_hunter/init.lua:177
  2. FireFlechette - addons/half-life-resurgence-hlr_hl2/lua/entities/npc_vj_hlr2_com_hunter/init.lua:135
    3. CustomOnThink - addons/half-life-resurgence-hlr_hl2/lua/entities/npc_vj_hlr2_com_hunter/init.lua:224
    4. unknown - addons/vj-base-master/lua/entities/npc_vj_creature_base/init.lua:2410

LUA error when Overwatch Engineer is shooting.

ERROR] addons/half-life-resurgence-hlr_hl2/lua/weapons/weapon_vj_hlr2_reager/shared.lua:109: attempt to index field 'Loop' (a nil value)

  1. CustomOnRemove - addons/half-life-resurgence-hlr_hl2/lua/weapons/weapon_vj_hlr2_reager/shared.lua:109
  2. unknown - addons/vj-base-master/lua/weapons/weapon_vj_base/shared.lua:749
    3. Spawn - [C]:-1
    4. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:452
    5. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:505
    6. unknown - gamemodes/sandbox/gamemode/commands.lua:535
    7. unknown - lua/includes/modules/concommand.lua:54

There's also a missing particle:
Attempting to create unknown particle system 'electrical_arc_01'

HL:ZE Enhancement

Since the player cannot pick up headcrabs, such as they could in the original game

Make it so a zombie can hold a headcrab.
If they reach a scientist [only a scientist since they dont fight back]
it will shove them to the ground and place the headcrab on him

all the hostiles npcs from half life 1 are just script error and dont attack

ok so basically i tested this addon cuz i really like it but when i spawned the grunts they just run away from me and dont attack it also happens when they should attack other npcs this is the error that appears: [ERROR] addons/vj-base/lua/entities/npc_vj_creature_base/init.lua:1978: attempt to call method 'SetIdealYawAndUpdate' (a nil value)

  1. unknown - addons/vj-base/lua/entities/npc_vj_creature_base/init.lua:1978 i would be very thankful if u help me btw: yes i have the latest vj base version

HD Branch Missing NPCS

All of the NPCS with a spawn icon made with Half-Life Model Viewer (blue background) have missing models and cannot be spawned. I am not sure if I didn't install the HD Branch correctly or what. Here's an example of what the icons I'm talking about look like.
npc_vj_hlr1_scientist_hd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.