Forum

> > CS2D > General > NPC Problem
Forums overviewCS2D overviewGeneral overviewLog in to reply

English NPC Problem

21 replies
Page
To the start Previous 1 2 Next To the start

old closed NPC Problem

SANTER
User Off Offline

Quote
i cant see NPC's in my map -.-

first image (npc in the editor)

IMG:https://i53.tinypic.com/20qxo8x.jpg


second image (NO NPC IN THE MAP >:@)

IMG:https://i56.tinypic.com/2a5d7w9.jpg


i try to name a zombi to trigge it in game (IMAGE)

IMG:https://i52.tinypic.com/15nou2r.jpg


IMG:https://i55.tinypic.com/148lquf.jpg



and nothing ¬¬
i hope help

here the ZIP (map inside)
http://www.mediafire.com/?lk6ay40uwzjenzp

old Re: NPC Problem

Yates
Reviewer Off Offline

Quote
I have the same problem a lot actually. But I never use move whole map.

old Re: NPC Problem

DC
Admin Off Offline

Quote
@Kel9290: what did you change?

I was not aware of this bug and I would like to fix it. This can't be caused be the "move whole map" tool.

old Re: NPC Problem

peter821231
User Off Offline

Quote
since new version of cs2d, i had this problem.(maybe is a bug?)
i guess that you put too many NPCs(with spawn at start) in the maps,and than they can't appear in the map or just have img(no dmg) on the map.

solution might work:
you can use "triggers" to trigger NPC and this might fix your problems.

example:
ps:"X => Y" is X trigger Y

To spawn at start
1.start=>npc instead of using NPC(with spawn at start)

this might better....(really work with alot of npcs)
2.move or other action=>delay_once or sth else=>NPC
-------------------edit----------------
you use move whole map(sigh

old Re: NPC Problem

DC
Admin Off Offline

Quote
okay, I found the bug and fixed it for the next version. it's not caused by the move whole map thing.

just change the map dimensions to fix it for the current version. make sure that the width of the map is bigger or equal to the height of the map and it should work with the current version.

the problem was that I had a typo in the source code and wrote y instead of x. something similar happened before with another entity...

old Re: NPC Problem

alluclone1
User Off Offline

Quote
and DC you have add more things to next version

Admin/mod comment

add more things? WOW! GENIUS! and you have to stop stupid, obvious, pointless off-topic comments! thank you!

old Re: NPC Problem

Yates
Reviewer Off Offline

Quote
DC has written
just change the map dimensions to fix it for the current version. make sure that the width of the map is bigger or equal to the height of the map and it should work with the current version.

Lol, have to wait then.

old Re: NPC Problem

DC
Admin Off Offline

Quote
no, the width is the first value (x) the height the second (y). so all map sizes you said could lead to the problem...

just give both both (width and height) the same value and it works.

old Re: NPC Problem

KimKat
GAME BANNED Off Offline

Quote
Perhaps unticking the box "Spawn on start" and keeping the "name: asd" as that would most probably enable the entity to be triggered. Try to see if it works.

EDIT: Oh, I see. Nevermind then.
edited 2×, last 24.03.11 05:38:40 pm

old Re: NPC Problem

DC
Admin Off Offline

Quote
please read the whole thread before posting. we already found the reason (which is a bug). so no need for additional solutions

old Re: NPC Problem

Surplus
User Off Offline

Quote
Oh... since this is up, i cant set a zombies HP over around 10mil
Wanted to make a shooting range on a map.

old Re: NPC Problem

ss whermacht
User Off Offline

Quote

hi all
i always bann in the on of servers , always for nothing
i dont know why
who can say that admin of server dont do this ??
plz help me and say me

- Email address (only visible with login) -

Admin/mod comment

this is totally off-topic! why the fuck do you go into random threads and post random shit? doesn't work!

old Re: NPC Problem

oxytamine
User Off Offline

Quote
Sure, holmes, I will tell all the admins immediately not to ban you. Farewell.

old Re: NPC Problem

ss whermacht
User Off Offline

Quote
thank u , because
i dont know why he has problem with me , but alway he see me in his server and bann me for nothing
To the start Previous 1 2 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview