Dateien

> > CS2D > Lua Scripts > Starkkz's NPC Pack
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Starkkz's NPC Pack >

66 Kommentare3,64 mb, 1.163 Downloads

alt 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 hat geschrieben
SpawnNPC('name of the NPC', x, y, rotation)

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

NPC names hat geschrieben
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
11× editiert, zuletzt 29.08.15 00:06:05
Zugelassen von Infinite Rain

Download Download

3,64 mb, 1.163 Downloads

Kommentare

66 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

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.
Ich mag es!

alt

DryDay
User Off Offline

Realy useful and realy nice
Ich mag es!

alt

Starkkz
Moderator Off Offline

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

alt

MikuAuahDark
User Off Offline

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

Anyways, awesome.
Ich mag es!

alt

EP
User Off Offline

i like it stacks

alt

Jela331
User Off Offline

Great job, man. Here's a like.
Ich mag es!

alt

Suprise
BANNED Off Offline

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

Nice script man, as always.
Ich mag es!

alt

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 :()
Ich mag es!

alt

Sebax
User Off Offline

Excellent!
Ich mag es!

alt

71
COMMUNITY BANNED Off Offline

nais, ∞/5
Ich mag es!

alt

lucaSWAT
User Off Offline

gud ! 5/5
Ich mag es!

alt

WaLToR
User Off Offline

Awesome .
Ich mag es!

alt

D-D3ADxPro
User Off Offline

Cool lua. +1 for the awesome npc script.
Ich mag es!

alt

_oops
User Off Offline

great!
Ich mag es!

alt

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?
Ich mag es!
Zum Anfang Vorherige 1 2 3 4 Nächste Zum Anfang