Dateien

> > CS2D > Lua Scripts > Infinite Rain's Custom NPCs Edit
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Infinite Rain's Custom NPCs Edit >

4 Kommentare30 kb, 148 Downloads

alt Infinite Rain's Custom NPCs Edit

LEGOMAN_2
User Off Offline

Credit goes to [user Infinite Rain] for creating [file cs2d Custom NPCs v1.0 ]; all I did was edit it.

IMG:https://i.imgur.com/OnpqqDm.jpeg


The changes are as follows:
Mehr >


The installation process is identical to Custom NPCs'.
7× editiert, zuletzt 07.03.25 12:16:29
Zugelassen von Gaios

Download Download

30 kb, 148 Downloads

Kommentare

4 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

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

alt

LEGOMAN_2
User Off Offline

I didn't notice that melee NPCs could go through obstacles, so thanks for pointing it out, user Mora. I've updated the mod to fix that bug.

I recognize the flaws of the NPC roaming feature, but I'm not nearly knowledgeable enough to iron them out. NPCs can be set to not roam by changing "wander = 1" to "wander = 0" in their description in the list file.

alt

Mora
User Off Offline

This is good edit, especially if this one is working properly:
user LEGOMAN_2 hat geschrieben
NEW FEATURE: NPCs can be set to roam the map when not in combat.

In this case I can use it for my needs. Will give a like when I ensure the feature above is working

Edit:
The knife bot is going through obstacles.
Bots movement kinda broken or badly made, they stuck in walls and their model half is covering walls, this also visible on screenshot. Absolute random movement that has not specific pattern or pathes.
Can't say is usable as it is. Is required to fix/complete some mechanics which is not always good for the beginner user.

Idk if 271-th line is related on movement so "wall" must be changed to "walkable" there:
if tile(math.floor(x1/32), math.floor(y1/32), 'wall') then

To
if tile(math.floor(x1/32), math.floor(y1/32), 'walkable') then

But weapon(ranged) npcs doesn't move through obstacles
4× editiert, zuletzt 07.03.25 04:30:29

alt

Animesku
User Off Offline

Cool!
Ich mag es!

alt

Infinite Rain
Reviewer Off Offline

Amazing work!
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang