English 2Gen's Extension for Starkkz's NPC Pack icon

49 comments
22.06.16 05:48:51 pm
like 14 like it!
4.97 mb, 187 Downloads
2Gen
User
Offline Off
Especially for players and mappers who wanted to see new NPCs in CS2D. I hope it will be useful, and someone can make good co-op maps with these NPCs.
Based on Starrkz's NPC Pack.

> New NPCs list:
- • HL HECU Heavy Soldier with shotgun (closer attack distance, shooting buckshot)
- • HL HECU Soldier with mp5 (basic ranged attacks and additional melee attacks, has 20% chance to throw HE)
- • HL HECU Sniper (high damage and long range)
- • HL HECU Bomber (RPG as primary weapon, very dangerous NPC)
- • HL Assassin (he runs the player, trying to join the melee, and shooting while running)

- • HL Zombie (slow zombie, 7 random skins)
- • HL2 Fast Zombie (faster, stronger)
- • HL2 Poison Zombie (throws snarks at the player)
- • HL Voltigore (NPC with an electric attack from HL Opposing Force)
- • HL Gargantua (dual flamethrower and stomp attack)
- • HL2 Stalker
- • HL2 Cremator
- • HL2 Manhack (drone with blades)
- • HL2 Sentry gun (just a turret)
- • HL2 Rebel (friendly npc, follows player and attacks enemies, you can say !stop to stop him and !go to make him follow)
- • HL2 Antlion (triple acid ranged attack, jump attack, melee attack)

- • HL2 Metropolice - 5 NPCs with 5 variants of weapons and 11 skins:
- • Melee (stunstick)
- • Pistol
- • Smg
- • Shotgun
- • Grenade launcher

- • HL2 Elite Combines - 4 NPCs with 4 variants of weapons and 5 skins:
- • Sniper
- • RPG
- • Ar2 rifle
- • Heavy laser rifle

- • HL2 Super Combine - strong robot with minigun, stinger missiles and plasma-cannon (more dangerous than the strider)
- • Dr. Hax (use it with caution)

- • Electric/frozen Vortigaunt (stun ranged attacks)
- • Explosive suicidal zombie (explodes in attack, and explodes after death)
- • Drone (friendly NPC, follow the player and attack enemy NPCs; test stuff(can't attack default cs2d npcs and follow first player ID)

- • Demon
- • Ghost
- • Imp
- • Dark soul (2 npcs, one with melee attack and other with ranged attack)

√ Old fixed NPCs:

- • HL Headcrab (new sprite, fixed all sounds)


> > INSTALLATION: < <
1) Download Starkkz's NPC Pack (contains main script and more h-l npcs)
2) Put downloaded pack in CS2D folder
3) Download and put this 2Gen's NPCs extension in CS2d folder with overwrite (overwriting zombie.lua and headcrab.lua)
4) Open sys/lua/NPC_Mod/server.lua and add the following lines in the end of lua:

Code:
dofile("sys/lua/NPC_Mod/npcscripts/zombie.lua")
dofile("sys/lua/NPC_Mod/npcscripts/npc_war.lua")
dofile("sys/lua/NPC_Mod/npcscripts/suicidnik.lua")
dofile("sys/lua/NPC_Mod/npcscripts/npc_rpg.lua")
dofile("sys/lua/NPC_Mod/npcscripts/npc_berserk.lua")
dofile("sys/lua/NPC_Mod/npcscripts/vortig.lua")
dofile("sys/lua/NPC_Mod/npcscripts/zombfast.lua")
dofile("sys/lua/NPC_Mod/npcscripts/sniper.lua")
dofile("sys/lua/NPC_Mod/npcscripts/poison.lua")
dofile("sys/lua/NPC_Mod/npcscripts/drone.lua")
dofile("sys/lua/NPC_Mod/npcscripts/soldier.lua")

dofile("sys/lua/NPC_Mod/npcscripts/voltigore.lua")
dofile("sys/lua/NPC_Mod/npcscripts/combine_sniper.lua")
dofile("sys/lua/NPC_Mod/npcscripts/police_melee.lua")
dofile("sys/lua/NPC_Mod/npcscripts/police_pistol.lua")
dofile("sys/lua/NPC_Mod/npcscripts/police_smg.lua")
dofile("sys/lua/NPC_Mod/npcscripts/police_grenade.lua")
dofile("sys/lua/NPC_Mod/npcscripts/police_shotgun.lua")
dofile("sys/lua/NPC_Mod/npcscripts/combine_rpg.lua")
dofile("sys/lua/NPC_Mod/npcscripts/combine_rifle.lua")
dofile("sys/lua/NPC_Mod/npcscripts/combine_heavy.lua")
dofile("sys/lua/NPC_Mod/npcscripts/combine_super.lua")
dofile("sys/lua/NPC_Mod/npcscripts/dr_hax.lua")

dofile("sys/lua/NPC_Mod/npcscripts/stalker.lua")
dofile("sys/lua/NPC_Mod/npcscripts/turret.lua")
dofile("sys/lua/NPC_Mod/npcscripts/gargantua.lua")
dofile("sys/lua/NPC_Mod/npcscripts/cremator.lua")
dofile("sys/lua/NPC_Mod/npcscripts/rebel.lua")
dofile("sys/lua/NPC_Mod/npcscripts/manhack.lua")

dofile("sys/lua/NPC_Mod/npcscripts/antlion.lua")
dofile("sys/lua/NPC_Mod/npcscripts/demon.lua")
dofile("sys/lua/NPC_Mod/npcscripts/darksmall.lua")
dofile("sys/lua/NPC_Mod/npcscripts/darkrange.lua")
dofile("sys/lua/NPC_Mod/npcscripts/darkghost.lua")
dofile("sys/lua/NPC_Mod/npcscripts/darkimp.lua")


5) ° Start game and check new npcs on example map (you find it in the archive)
° mp_luamap must be activated (New game/More settings/mp_luamap 1)


> How to spawn NPCs:
1) console spawn (320 - x, 300 - y, 0 - rotation):
(change x,y,rot as you need)

lua "SpawnNPC('Bomber', 320, 300, 0)"
lua "SpawnNPC('Vortig', 320, 300, 0)"
lua "SpawnNPC('Combsuper', 320, 300, 0)"
etc...

2) Trigger_If spawn (condition string):

SpawnNPC('Bomber', 320, 300, 0)
SpawnNPC('Poison', 320, 300, 0)
etc...

> Full NPCs IDs list:

1) 2Gen's Extention:
Code:
War
Soldier
Sniper
Bomber
Assassin
zombie
Fast
Poison
Vortig
Suicidal
Drone
Voltigore
Polmelee
Polpistol
Polsmg
Polgrenade
Polshotgun
Combsniper
Combrpg
Combrifle
Combheavy
Combsuper
Hax
Stalker
Turret
Gargantua
Cremator
Manhack
Rebel
Antlion
Demon
Ghost
Darksmall
Darkrange
Imp


2) Starkkz's Pack:
Code:
HoundEye
Headcrab
Agrunt
Bullsquid
strider



In the future, I'll probably make new NPCs. Write to me with your suggestions.

∗ Credits:
• Lua scripts:
Starkkz NPC Pack
Avobolt Lua Effects
Mommy123 Snowball Freeze
Pseudon Shockwave

• Sprites/Sounds:
Ozzy
Factions
Alistaire
useigor
CY
OlaFPhp
Snark
J4x
The Grim Reaper
Pagyra
Doctor Freeman
FaqAp
The Camo
crazy junkman Wolfgang
Darkydude

> Changelog:
° (22/06/16) Version 1.0
- • Release

° (24/06/16) Update 1.1: Better soldiers
- • Added new classical H-L soldier with mp5 (sprite by Pagyra)
- • Changed old soldier to heavy soldier with shotgun
- • Added the ability to throw grenades (HE for Soldier and Flashbang to Heavy with 20% and 10% chances)
- • Added reloading sounds for all soldiers
- • Added 9 radio remarks during an attack \ alarm for all soldiers
- • Added 5 screams at the death for all soldiers
- • Added 3 radio remarks while moving for all soldiers
- • Added a sound for the assassin while attack
- • Added new bullets sprites for shotgun and mp5
- • Added new 7th skin for slow zombie (based on a sprite by The Grim Reaper)
- • Changed old sprite of fast zombie (sprite by Pagyra)


° (29/06/16) Update 1.2: Metropolice, Elite Combines + bonus NPCs
- • Added 5 Metropolice NPCs (Half-Life 2) with 5 variants of weapons and 11 skins (sprites by OlaFPhp, Doctor Freeman, FaqAp, The Camo)
- • Added 4 Elite Combines NPCs (Half-Life 2) with 4 variants of weapons and 5 skins (credits as in the previous)
- • Added Voltigore NPC (HL:Opposing Force) (sprite by useigor)
- • Added Super Combine robot NPC (HL2) (sprite by OlaFPhp)
- • Added Dr. Hax NPC (Wallace Breen HL2) (sprite by OlaFPhp)
- • Added original sounds from Half-Life 2\OF games for all NPCs
- • Updated servertransfer.lst, added all new gfx/sfx (total ~220 files)
- • New handy map for testing
- • Changed chances for HECU radio messages
- • Changed attack distance for fast zombie


° (30/06/16) Update 1.3: Gargantua and 5 HL2 NPCs
- • Added new mini-boss NPC - Gargantua (he has dual flamethrower and additional stomp attack)
- • Added new lua effect - shockwave for gargantua (script by Pseudon)
- • Added new NPC - Cremator (sprite by 2Gen)
- • Added new NPC - Stalker (based on a sprite by OlaFPhp)
- • Added new NPC - Turret(sentry gun) (sprite by OlaFPhp)
- • Added new NPC - Manhack (drone with blades) (based on a sprite by OlaFPhp)
- • Added new friendly NPC - Rebel (say !stop to stop him and !go to make him follow) (3 sprites by FaqAp)
- • Increased health for super combine
- • Updated test map
- • Updated serveftransfer.lst (total ~300 files)


∗ (5/07/16) Update 1.4(final): 5 Horror NPCs and HL2 Antlion
- • Added new horror NPC - Demon
- • Added new horror NPC - Ghost
- • Added new horror NPC - Dark soul (melee attack)
- • Added new horror NPC - Dark soul (ranged attack) (sprite by Darkydude)
- • Added new horror NPC - Imp (sprite bu Darkydude)
- • Added new HL2 NPC - Antlion (sprite by crazy junkman Wolfgang)
- • Added new dark map for testing horror npcs
- • Updated test map
- • Updated servertransfer.lst (total ~370 files)
- • Fixed sound while moving for Dr. Hax
- • Сompressed some .wav files into .ogg format

After the update 1.3 zip archive weighs almost 6 megabytes, so I packed it in the second 7z archive, sorry

(On screenshots shows not all NPCs)
( servertransfer file does not contain gfx/sfx from Starkkz's pack (only fixed headcrab) )
imageimageimageimageimage
edited 24×, last 05.07.16 05:20:18 pm
ok This file has been reviewed and approved by Sparty (22.06.16 07:01:10 pm)

Comments

49 comments
Goto Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in
05.04.17 11:42:00 am
like I like it!
Up
Hey guys, in last update @user 2Gen: forgot to include one file, and without that file the script isn't working (at least 2Gen's part of script).
If anybody wants to know how to fix that, just contact me in pm and ill explain what needs to be done.
27.11.16 09:38:24 pm
like I like it!
Up
HOLOgraphicSky
User
Offline Off
Wow, you done a big work to make default npc mod more epic and useful. It was 5 npcs, and now we have... 40? Really awesome. And gargantua and horror npcs looks great. Well, anybody made maps with this script?
16.07.16 04:52:16 pm
like I like it!
Up
CyanBros
User
Offline Off
@user 2Gen: I hope you will create another extension!
16.07.16 10:00:10 am
like I like it!
Up
@user 2Gen: if you will create second extension, i would suggest that you separate half life 1 and half life 2 npc-s

just a thought
16.07.16 08:00:34 am
like I like it!
Up
CyanBros
User
Offline Off
I like the horror one,some of them are powerful.
15.07.16 05:40:36 pm
Up
2Gen
User
Offline Off
@user Shrepard:
These NPCs will differ little from those that already exist. Zombine is just a zombie, and fast headcrab almost the same as normal headcrab or snark. There are some differences, but they are too small for creating new NPCs.
In addition, the file weighs 4.97 megabytes, I can't add more NPCs. Only if I will create a 2nd extension, but it needs at least 10 good NPCs, different from previous ones.
15.07.16 02:43:47 pm
like I like it!
Up
Shrepard
User
Offline Off
I like this but,you said this the final update and
What about fast headcrab,and zombine
Anyway you did a good job
15.07.16 01:37:13 am
like I like it!
Up
P_206
BANNED
Offline Off
Actually , i liked all of the map , not like somepepole are saying
05.07.16 02:38:03 pm
Up
2Gen
User
Offline Off
Mod updated. Current version - 1.4. (Last final version)
The total number of added NPCs: 35
30.06.16 09:22:32 pm
like I like it!
Up
Starkkz
Moderator
Offline Off
Thank you for spending your time into reviving this mod, it looks like you made good content for it.
30.06.16 08:22:04 pm
Up
2Gen
User
Offline Off
@user crazy junkman Wolfgang: @user CyanBros:
Omg, stop flooding in my NPC mod thread guys
30.06.16 08:14:47 pm
like I like it!
Up
@user CyanBros: LOL ... firstly this isn't thread about my map, it's about "2Gen's Extension for Starkkz's NPC Pack" , secondly then say you want to see that stuff on my map (u didn't mention map anywhere), thirdly i created thread where we can talk about future map so you can suggest there... but no point since you suggested it here, and i will apsolutely add it into map (ty for suggestion btw)
30.06.16 08:11:51 pm
like I like it!
Up
CyanBros
User
Offline Off
I am talking about your map.


PS:Sorry for bit typos.I am using my smartphone..
30.06.16 08:05:25 pm
like I like it!
Up
@user CyanBros: then why you ask me to add rebel if there is already added rebel npc?
30.06.16 08:02:42 pm
like I like it!
Up
CyanBros
User
Offline Off
Did you notice this?

2Gen has written:
• Added new friendly NPC - Rebel (say !stop to stop him and !go to make him follow) (3 sprites by FaqAp)


They're already added.
30.06.16 07:57:24 pm
like I like it!
Up
@user CyanBros: add rebels where? If you're talking about script, talk to @user 2Gen:
30.06.16 07:51:34 pm
like I like it!
Up
CyanBros
User
Offline Off
@user crazy junkman Wolfgang: I like the rebels,maybe you should add them too?They can be useful if you not used any CS2D normal npc.They will help the players if they getting heavier firefight.
30.06.16 07:35:55 pm
like I like it!
Up
@user CyanBros: well ofcourse i want to use them, that's the whole point, right? Why would @user 2Gen: otherwise upload his stuff if he didn't want for people to use it -.-''
30.06.16 07:04:11 pm
like I like it!
Up
CyanBros
User
Offline Off
I already noticed that user crazy junkman Wolfgang want use your some of the npcs.Just I want let someone know.Here thread cs2d Half-Life 2 map.

Also add the KingPin guy (oh i mean creature).Its come from hl1:Sweet HL1 mod as first boss at that mod.

Hmmm,i has found my solution of my lasted problems


Code:
1
2
3
4
5
6
dofile("sys/lua/NPC_Mod/npcscripts/zombie.lua")
dofile("sys/lua/NPC_Mod/npcscripts/hl2_strider.lua")
dofile("sys/lua/NPC_Mod/npcscripts/hl_headcrab.lua")
dofile("sys/lua/NPC_Mod/npcscripts/hl_houndeye.lua")
dofile("sys/lua/NPC_Mod/npcscripts/hl_agrunt.lua")
dofile("sys/lua/NPC_Mod/npcscripts/hl_bullsquid.lua")


That means i need "dofile" all the npcs.
And oh,i didnt read all the descp.
edited 2×, last 30.06.16 07:23:34 pm
30.06.16 06:58:05 pm
like I like it!
Up
Goo
User
Offline Off
Upload it to game banana and put a text file in the download link that contains the link to game banana...

Keep updating it, it's useful for mappers.

Also please add Mr.Friendly (from HL1) to the mod ;3
To the start Previous 1 2 3 Next To the start