Forum

> > CS2D > General > there is something about npc need support
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch there is something about npc need support

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt there is something about npc need support

tsehoyin
User Off Offline

Zitieren
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.

alt Re: there is something about npc need support

Alistaire
User Off Offline

Zitieren
user tsehoyin hat geschrieben
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".

alt Re: there is something about npc need support

tsehoyin
User Off Offline

Zitieren
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!

alt Re: there is something about npc need support

Apache uwu
User Off Offline

Zitieren
user Alistaire hat geschrieben
user tsehoyin hat geschrieben
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.

alt Re: there is something about npc need support

tsehoyin
User Off Offline

Zitieren
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!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht