Forum

> > CS2D > General > there is something about npc need support
Forums overviewCS2D overviewGeneral overviewLog in to reply

English there is something about npc need support

5 replies
To the start Previous 1 Next To the start

old there is something about npc need support

tsehoyin
User Off Offline

Quote
1:if i want to create a new type of npc, for example the same soldier but different picture.i mean 2 npc soldier with different picture.what should i do?make lua file,make a copy of npc file or it is impossible for me?
2:i want to change the gun fire sound of npc soldier,what should i do?
(i start feel the title guidlines are annoying because use "problem""question""help"is not allowed and "how to create a new type of npc and change the gun fire sound of npc soldier is too long.)
sorry for my bad English, it is hard to explain.

old Re: there is something about npc need support

Alistaire
User Off Offline

Quote
user tsehoyin has written
1:if i want to create a new type of npc, for example the same soldier but different picture. what should i do?

2:i want to change the gun fire sound of npc soldier,what should i do?


1. You can't without lua. And with lua it doesn't look smooth or anything neither. Maybe 0.1.2.0 has the option to make custom NPC's.

2. Change "C:/Counter-Strike 2D/sfx/weapons/mp5.wav".

old Re: there is something about npc need support

tsehoyin
User Off Offline

Quote
1. You can't without lua. And with lua it doesn't look smooth or anything neither. Maybe 0.1.2.0 has the option to make custom NPC's.

--------------------------------------------
so can you give me the lua please, because i know only a little about lua, anyway, thanks for your help!

old Re: there is something about npc need support

Apache uwu
User Off Offline

Quote
user Alistaire has written
user tsehoyin has written
1:if i want to create a new type of npc, for example the same soldier but different picture. what should i do?

2:i want to change the gun fire sound of npc soldier,what should i do?


1. You can't without lua. And with lua it doesn't look smooth or anything neither. Maybe 0.1.2.0 has the option to make custom NPC's.

2. Change "C:/Counter-Strike 2D/sfx/weapons/mp5.wav".


Actually with tween_*.* it will be smooth...and DC already said he's not making a NPC editor.

old Re: there is something about npc need support

tsehoyin
User Off Offline

Quote
oh god!i change the gun fire sound of npc by replace the m249 gun fire sound,not mp5,i replace it for my first time i even cannot hear the gun fire sound,and after a lot of experiment which takes me 1 hour,i finally finish it!
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview