Files

> > CS2D > Lua Scripts > 2Gen's Extension for Starkkz's NPC Pack
Files overviewCS2D overviewLua Scripts overview

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

62 comments4.97 mb, 897 Downloads

old 2Gen's Extension for Starkkz's NPC Pack

2Gen
User Off Offline

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:

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:
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:
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) )
edited 24×, last 05.07.16 05:20:18 pm
Approved by Sparty

Download Download

4.97 mb, 897 Downloads

Comments

62 comments
Page
To the start Previous 1 2 3 4 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

P_206
BANNED Off Offline

Actually , i liked all of the map , not like somepepole are saying
I like it!

old

2Gen
User Off Offline

Mod updated. Current version - 1.4. (Last final version)
The total number of added NPCs: 35

old

Starkkz
Moderator Off Offline

Thank you for spending your time into reviving this mod, it looks like you made good content for it.
I like it!

old

crazy junkman Wolfgang
User Off Offline

@user sonkii: 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)
I like it!

old

sonkii
User Off Offline

I am talking about your map.


PS:Sorry for bit typos.I am using my smartphone..
I like it!

old

sonkii
User Off Offline

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.
I like it!

old

sonkii
User Off Offline

@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.
I like it!

old

crazy junkman Wolfgang
User Off Offline

@user sonkii: 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 -.-''
I like it!

old

sonkii
User Off Offline

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


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.
I like it!
edited 2×, last 30.06.16 07:23:34 pm

old

Mami Tomoe
User Off Offline

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
I like it!

old

2Gen
User Off Offline

Mod updated. Current version - 1.3.
Probably the last or almost last update, because the size of mod is growing, and no longer fit into the limit of 5 megabytes.

old

Mami Tomoe
User Off Offline

Looks neat.
I like it!

old

Shrepard
User Off Offline

user useigor: is offline for a long time

So that means he left this game
I like it!

old

sonkii
User Off Offline

This will help user useigor hl1 projects,keep add the hl1 or hl2 npc.
I like it!

old

Shrepard
User Off Offline

keep good work

I don't have what to say about this
100/10
I like it!

old

sonkii
User Off Offline

@user - Multi account -:You know how to make a lua (even short or long)?If you know,post it here!

@file:Nice npc,like Dr.Hax lol!
I like it!
edited 2×, last 29.06.16 05:25:05 pm
To the start Previous 1 2 3 4 Next To the start