Files

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

English Starkkz's NPC Pack >

66 comments3.64 mb, 1,222 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,222 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

Avo
User Off Offline

Nice one, Starkkz.
I like it!

old

Agustindz23
User Off Offline

YEAH THE BEST PACK !
increible amigo
awesome dude
I like it!

old

Starkkz
Moderator Off Offline

@user useigor: Sorry, it's certain lua command.
1
SpawnNPC('name of the NPC', x, y, rotation)

old

useigor
User Off Offline

Awesome!
But i have no idea how to spawn those NPCs.
I like it!

old

Junior3534
User Off Offline

Perfect!
I like it!

old

WinterPwnd
User Off Offline

Nice!
I like it!
To the start Previous 1 2 3 4 Next To the start