Page 1 of 1

Posted: Sun Aug 21, 2005 11:29 pm
by Baak
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! :)

Posted: Mon Aug 22, 2005 5:52 am
by haravikk
I don't think this is possible unfortunately, netgame types have never been easy to manipulate.

What exactly is it you're trying to do by discouraging killing of the enemy? You could always try giving units extra health/less damage and making the hunting targets more susceptable.

Posted: Tue Aug 23, 2005 12:21 pm
by Baak
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.

Posted: Wed Aug 24, 2005 2:11 am
by iron
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.

Posted: Fri Aug 26, 2005 1:18 am
by Baak
Thanks, Iron - excellent suggestions and I always wondered how to make the hunted attack! :)

Posted: Sat Aug 27, 2005 2:53 pm
by Phex
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

Posted: Sun Aug 28, 2005 2:55 pm
by Baak
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... :D


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!