Ok all you Script Masters, here's a question for you:
What's the easiest way to implement the following:
I want to make the Hunting game on a map of mine such that inflicting a kill on the enemy - rather than killing the hunting targets - results in a loss of points.
Is there a relatively simple way to do this for whole teams at a time? Or is it something that has to be done on a unit-by-unit basis?
Any help is greatly appreciated, but please only respond if you actually have experience scripting - thanks!
How to penalize BC attacks in Hunting - Attention all script gurus!
My goal is to make the hunting game totally focused on hunting and not something that simple degrades into a body count game.
I had thought about duplicating all the player units as indescructable just for hunting, but that's kind of a hassle. I guess I could make the unit/mons for those guys and then use scripting to upgrade them all if it's a hunting game.
My thought was to penalize points (hunting kills) if you killed an enemy unit, which could be used strategically somehow as well (i.e. charge the enemy with a wounded guy). Let's say subtract 5 kills if you kill a player unit. That kind of thing.
I had thought about duplicating all the player units as indescructable just for hunting, but that's kind of a hassle. I guess I could make the unit/mons for those guys and then use scripting to upgrade them all if it's a hunting game.
My thought was to penalize points (hunting kills) if you killed an enemy unit, which could be used strategically somehow as well (i.e. charge the enemy with a wounded guy). Let's say subtract 5 kills if you kill a player unit. That kind of thing.
- iron
- Site Admin
- Posts: 2006
- Joined: Thu Feb 26, 2004 1:21 am
- Location: diving out of the Sun at 10 o'clock high!
- Contact:
One thing that greatly helps is if you script the enemy units to attack you. The reason people attack other players in most hunting games is because shooting deer is boring. It makes a big difference if the deer are likely to charge at you then lay on their side & blow up
For reference check out hunting on the dwarf & ghol riot meshes in the TFL Multipack.
For reference check out hunting on the dwarf & ghol riot meshes in the TFL Multipack.
I want to make the Hunting game on a map of mine such that inflicting a kill on the enemy - rather than killing the hunting targets - results in a loss of points.
I have an idea how you could do it.
Make sure that the hunting targets do not give any vet points and that all of the regular units give at least 1 vet point.
Then check with a GEOM for all units with at least 1 vet. When they have 1 vet, they must have killed one enemy unit. To punish the player who killed his enemy, you might either kill his vetted unit (softcore version) or eliminate his whole team (hardcore version).
regards,
Phex
Interesting ideas Phex!
Heh - I like the "softcore" version only killing one guy - yikes! :;):
One problem though would be taking into account "accidental deaths" because this particular game uses explosive projectiles. Would be a bummer to lose your entire team due to a bounce...
After looking into this whole concept a bit more I've come to the conclusion that it may be more complex than I'd like it to be. Thanks everyone for all your excellent feedback!
Heh - I like the "softcore" version only killing one guy - yikes! :;):
One problem though would be taking into account "accidental deaths" because this particular game uses explosive projectiles. Would be a bummer to lose your entire team due to a bounce...
After looking into this whole concept a bit more I've come to the conclusion that it may be more complex than I'd like it to be. Thanks everyone for all your excellent feedback!