Staredit Network

Staredit Network -> UMS Assistance -> Weapon system
Report, edit, etc...Posted by Mp)Dungeon-Master on 2006-09-02 at 22:50:30
Hey guys! I need your help here, i want to know: How do i make a weapon system for include 5 weapons and dont change unit, caus weapon healing is really irritating!

I want you guys to consider that i only use X-tra editor for triggers, i found somme bugs on the editor on SCMdraft and i am too stupid for master SF's triggering tongue.gif .

And, i can understand all triggers you g uys will tell me to do, even if it takes 50 triggers each weapons, i'l do it, and if Tuxedo-Templar read this, the same ammo system would pwnz.
Report, edit, etc...Posted by Zeratul_101 on 2006-09-02 at 22:58:58
well, you could use a virtual combat system(in conjunction with virtual HP) or use a third-pary unit(have another unit represent the weapon).

take your pick and then i'll explain it further.
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-02 at 23:01:49
There are a number of ways to do this.

If you're using a battle system like Faith and Destiny RPG, you could have all the weapon units have the same amount of HP and take damage at the same time.

You could also use a vHP system.

The extremely hard way is to use EUDs, which are currently outdated (unless you downgrade), to detect hp loss and use hundreds of triggers to change the hp of your "weapon."
Report, edit, etc...Posted by Wing-of-no-Wing on 2006-09-04 at 11:28:04
How cool do you want the weapons to be?

If you're okay with using normal unit attacks, then do what Zeratul said and have a second unit to be either the weapon or the health.

If you're okay with a lengthy calibration process when making the map and a slight delay while changing weapons, you could make a system where the old unit is moved to an area where it is quickly killed by a steady succession of low-damage attacks (probably splash damage, not direct attacks on the unit, to avoid initial firing delay), while the new unit starts out at 1hp and is healed by medics at the same rate as the old one is hurt, then moved to the board when the old one dies, so that it will have healed at the same rate as the other was hurt, for the same amount of time, and would therefore be at the same health.

If this is going to be for an arena/fighting type map, though, the end result would be much more interesting if you used a fighting system that didn't rely on the attacks of the units themselves. In that case, your weapon system would depend on your shooting system.
Report, edit, etc...Posted by Falkoner on 2006-09-04 at 18:39:46
Lol, dude Tuxedo's ammo system is simple. just have a location below a gateway on the side and have each unit you can create switch weapons, by setting a switch depending on which weapon it is
Report, edit, etc...Posted by Mp)Dungeon-Master on 2006-09-04 at 19:48:59
Erm, thx guys, but, i wanted to ask you wich trigger i need to do this:

For shooting: i'l use a defiler (sorry Tuxedo, it whas a good idea!) and you'l dark swarm for shot with it.

Example of ennemy virtual hp:

Shotgun dammage:3

Yellow:4 HP White:3 HP Brown:2 HP Red:1 HP

The player use dark swarm in the between of 2 ultralisks (shotgun have wide shot, so it hit both) Ultras have 4 HP each, so, i will move location shotgun shot under the dark swarm, remove the swarm, then: kill all red's units (1 - 3 = -2 so it dies)
Kill all brown units, kill all white, and give all yellow to red, (4 - 3 = 1)(all this is happening only in the shotgun shot location.

THe hero's HP will be normal, no virtual hp for hero

Well, i need help for make the system more interesting caus i never created any virtual systems before...
Report, edit, etc...Posted by xmrxsiegecopx on 2006-09-04 at 20:20:43
QUOTE
THe hero's HP will be normal, no virtual hp for hero

Then you're gonna need to spawn a unit to do the damage, or teleport the affected units for a moment to a place to be attacked by a unit with slow cooldown. The only other way known is to use EUDs to detect HP by unit ID before being affected by triggers.
Report, edit, etc...Posted by Mp)Dungeon-Master on 2006-09-05 at 16:39:27
...i dont know how to do with EUDs, i am a really basic maker, plus, the hero will die by being hit by ennemies, nothing virtual, hel just get hit by ultralist, ling or zealot normal attack.
Next Page (1)