View Single Post
Aceleracion
Member
Join Date: Jul 2017
Location: Ecuador
Old 11-16-2017 , 23:59   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #28

Quote:
Originally Posted by tigocesar View Post
Your plugin is awesome. I did a test and added a few more items and it worked. Is it possible to spawn a special infected instead of an item? If so, can you tell me what names I have to use? I want to give a bad gift to the players too: P

Q: If I want to add the incendiary / explosive package, do I have to use upgradepack_explosive / incendiary or is there another name for these items?
The names of the weapons are used as they are used when spaaming weapons by the "give" command

If you want explosive boxes use weapon_upgradepack_explosive or simply upgradepack_explosive
If you want incendiary boxes use weapon_upgradepack_incendiary or simply upgradepack_incendiary

Now the plugin only gives weapons, then I could implement that although in the cooperative servers it is not pleasant. But you can add a probability of infected spawn cvar or better another type of gift, and instead of the GiveWeapon function it could be SpawnInfected (client, String: infected).

It's a good idea and it could be in an update that works in game mode versus.

Greetings.
__________________
by Aceleración
To succeed in your goals, use your true potential

Last edited by Aceleracion; 11-17-2017 at 02:29.
Aceleracion is offline