Forum

> > CS2D > Scripts > Weapon placing script
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Weapon placing script

10 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Weapon placing script

archmage
User Off Offline

Zitieren
I am writing a script to allow players to spawn weapons on the map.
Here is a video: http://www.xfire.com/video/40d245/

Description:
     You first select a weapon (currently by saying wpn <weapon name> later I will probably use menus instead) move it around with the mouse and click the LMB to place it there.

I need some help with the weapon images. If you have watched the video you will see that it uses default image for that weapon. The problem is that it has a pink background. Is there a way to fix that?

alt Re: Weapon placing script

were50
User Off Offline

Zitieren
You have to change the weapons blend mode, like you do in the map editor. I don't know lua all that well but I think you can do it in lua...

alt Re: Weapon placing script

Admir
User Off Offline

Zitieren
then, you need make new folder and copy all those weapon images (srsly its for backup), then you need to re-color them 1 by 1 >.<
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht