Files

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

English Starkkz's NPC Pack >

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

Infinite Rain
Reviewer Off Offline

Awesome script, pal. Can I use your A* function in my script? I'm too lazy to write my own, and of course I will write credits to you.
I like it!

old

DryDay
User Off Offline

Realy useful and realy nice
I like it!

old

Starkkz
Moderator Off Offline

@user MikuAuahDark: Sure, but if you're thinking in uploading it then don't forget the credits.

old

MikuAuahDark
User Off Offline

Wow it has A* Pathfinding. can i use A* part on my Reverser?

Anyways, awesome.
I like it!

old

EP
User Off Offline

i like it stacks

old

Jela331
User Off Offline

Great job, man. Here's a like.
I like it!

old

Suprise
BANNED Off Offline

@user pbeloto: The whole game is copied so don't be mad.

Nice script man, as always.
I like it!

old

Agustindz23
User Off Offline

please help.
when there is more than one NPC do not hurt
( the strider no shoot, the HoundEye no dmg, only the Agrunt work :()
I like it!

old

Sebax
User Off Offline

Excellent!
I like it!

old

71
COMMUNITY BANNED Off Offline

nais, ∞/5
I like it!

old

lucaSWAT
User Off Offline

gud ! 5/5
I like it!

old

WaLToR
User Off Offline

Awesome .
I like it!

old

D-D3ADxPro
User Off Offline

Cool lua. +1 for the awesome npc script.
I like it!

old

_oops
User Off Offline

great!
I like it!

old

llT11ll LULZ
User Off Offline

hey a think i find a bug i extract the file and i spawn a strider and its said invalid npc player value what do i do?
I like it!
To the start Previous 1 2 3 4 Next To the start