Files

> > CS2D > Lua Scripts > Starkkz's NPC Pack
Files overviewCS2D overviewLua Scripts overview

English Starkkz's NPC Pack >

66 comments3.64 mb, 1,229 Downloads

old Starkkz's NPC Pack

Starkkz
Moderator Off Offline

Hello, this is a pre-release of my NPC Pack for CS2D, I'm just uploading this as the thread seems that it's going to die and I don't know if someone will take this but I'm leaving it for you to use it.

> AI Features
• A* Pathfinding
• Angle calculation
• Distance calculation
• Target finding

> NPCs
• Strider
• HoundEye
• HeadCrab
• Alien Grunt
• Bullsquid



How to spawn a NPC?
You have to use the lua command SpawnNPC
In Lua has written
SpawnNPC('name of the NPC', x, y, rotation)

In console has written
lua "SpawnNPC('name of the NPC', x, y, rotation)"

NPC names has written
Strider
HoundEye
Headcrab
Agrunt


Probably I will keep adding NPCs to this pack, you can suggest more ideas at the thread thread cs2d NPC Pack: Ideas.

Credits to user useigor for some sprites.

IMG:https://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png
edited 11×, last 29.08.15 12:06:05 am
Approved by Infinite Rain

Download Download

3.64 mb, 1,229 Downloads

Comments

66 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

7BlackDragon7
User Off Offline

nice job ! i also like your admin script so easy to control
I like it!

old

NeptooN
User Off Offline

Clas script npc!!!
I like it!

old

SSGLemon
User Off Offline

add something at garry's mod there are many characters
I like it!

old

HOLOgraphicSky
User Off Offline

Cool script. And very useful. Why I don't see any servers with this awesome mod? The author seems a really good lua programmer.
I like it!

old

xNir
User Off Offline

Awesome !
I like it!

old

sonkii
User Off Offline

Wow,thats such a hardwork!
But mostly,like!
I like it!
edited 1×, last 07.08.16 03:35:37 pm

old

Shrepard
User Off Offline

Good job
I like it!

old

Matthew333
User Off Offline

Whoaaa It's,it's amazing..
I like it!

old

2Gen
User Off Offline

Wow, amazing. Too bad that I had not found this script before. I hope you will add new NPCs, using any effects (explosion, laser, fog).
In addition, I found in the archive crysis2_cell.lua and zombie.lua. It is strange that you have not completed their (zombies only requires adding a couple lines of code; cell.lua harder to fix. I almost made it, but eventually took the hl_bullsquid as a base for new soldier npc) (just I'm not a programmer, encoder :D)
For those who cant spawn strider- his ID is "strider" (lower case) not "Strider" with a capital letter like all the other NPCs. (lua "SpawnNPC('strider', 320, 320, 0)" -- for example will spawn strider in the upper left corner of the map with 10,10 coordinates of tiles)
I forgot to say, in the archive missing headcrab sounds. Add them the next time, if you can.
I like it!

old

Jededias
User Off Offline

Working !
But only works: Bullsquid / HoundEye and Agrunt
I like it!
edited 1×, last 10.02.16 07:42:47 pm

old

Pagyra
User Off Offline

hmm i test it now but it not work, there is no errors in console

old

Lobwver
User Off Offline

I have to suggest:
Smoker - L4D
Raptor - HL2 Ep2
Rebel - HL2 Ep1 & Ep2
Medic Rebel - HL2 Ep1 & Ep2
Or just complete the pack of Half-Life 1, that maybe help user useigor with him mod (half-life 2d).
I like it!

old

-DIE Wolf-
User Off Offline

hm... Why in first video someone said High latency leads to unexpected results ? What is that mean ?
I like it!

old Question

Kevanya3
User Off Offline

@Starkkz what say command for Spawning NPC Strider?

It doesn't work for console command!
Sorry my english bad
I like it!

old

-DIE Wolf-
User Off Offline

Can i use it on server ?
I like it!

old

Starkkz
Moderator Off Offline

@user DarkNeko: sorry but your suggestions have nothing to do with my NPC pack, you have to ask on the forum for that script.

old

DarkNeko
User Off Offline

can you make air strike is spawn soldier
and can you make soldier is friend with ct

sorry when my english is bad
I like it!

old

deadlox995
User Off Offline

Hey @Starkkz try to add NPC like Barney,Grunt,.. like all NPC on half life
I like it!

old

Starkkz
Moderator Off Offline

Maybe I should add new NPCs to this pack, has anyone got ideas?
To the start Previous 1 2 3 4 Next To the start