- Joined
- Jul 12, 2005
- Messages
- 764
I'd like to advertise what I've been working on this week:
Creep System Pack
A useful collection of systems in connetion with creeps (Neutral Hostile units). These systems can be useful both in melee maps, or in custom maps that has hostile creeps (like RPGs).
1. Creep Respawn System
There were many threads about creep respawnig, so I created (I think) the best creep respawn system that can be ever made.
The advantages:
-Needs one trigger only
-Respawns creeps at their initial location with their initial facing
-Leakless
Additional/optional functions:
-The system can check if the creep respawn point is visible to a player. Creeps will respawn
if the respawn point is invisible for all players. This is useful, for example when creating
new bases near gold mines, we don't want creeps to respawn, do we?
-It can increase the number of respawned creeps exponentially.
-It can respawn random creeps chosen from the same level creeps.
-Removes corpses after spawning the new breed.
2. Creep Item Drop System
With this system, not only the initially placed, but respawned creeps will also drop items. Blizzard's item drop table does not allows this.
However, you have to assign the items manually (with one line of custom script per unit-type) at map initialization. You can set two item drop options:
-Drop a random item from the given level and class
-Drop a specific item
3. Custom Bounty System
This "powerful" bounty system works exactly how the normal one works, but it has a few useful extras:
-You can set a chance value for every unit-type to drop bounty
-You can change bounty in-game anytime
-You can disable/enable bounty gain for a specific player
Please read the instructions that I wrote for each system!
A credit would be appreciated if you use a system.
Enjoy!
If you have an idea that you want to share, an idea of a system that would fit in the pack, or you have a suggestion or a problem, don't be afraid to post it.
*UPDATED:
-Used global variables to prevent gamecache leaks.
Creep System Pack
A useful collection of systems in connetion with creeps (Neutral Hostile units). These systems can be useful both in melee maps, or in custom maps that has hostile creeps (like RPGs).
1. Creep Respawn System
There were many threads about creep respawnig, so I created (I think) the best creep respawn system that can be ever made.
The advantages:
-Needs one trigger only
-Respawns creeps at their initial location with their initial facing
-Leakless
Additional/optional functions:
-The system can check if the creep respawn point is visible to a player. Creeps will respawn
if the respawn point is invisible for all players. This is useful, for example when creating
new bases near gold mines, we don't want creeps to respawn, do we?
-It can increase the number of respawned creeps exponentially.
-It can respawn random creeps chosen from the same level creeps.
-Removes corpses after spawning the new breed.
2. Creep Item Drop System
With this system, not only the initially placed, but respawned creeps will also drop items. Blizzard's item drop table does not allows this.
However, you have to assign the items manually (with one line of custom script per unit-type) at map initialization. You can set two item drop options:
-Drop a random item from the given level and class
-Drop a specific item
3. Custom Bounty System
This "powerful" bounty system works exactly how the normal one works, but it has a few useful extras:
-You can set a chance value for every unit-type to drop bounty
-You can change bounty in-game anytime
-You can disable/enable bounty gain for a specific player
Please read the instructions that I wrote for each system!
A credit would be appreciated if you use a system.
Enjoy!
If you have an idea that you want to share, an idea of a system that would fit in the pack, or you have a suggestion or a problem, don't be afraid to post it.
*UPDATED:
-Used global variables to prevent gamecache leaks.
Attachments
Last edited: