HALO -- HIGHLANDER 2

4 replies [Last post]
hbc
User offline. Last seen 31 weeks 6 days ago. Offline
Joined: 01/23/2012
Posts: 4

Hi, everyone!

I wrote a new script to improve the highlander, which has too little weapons and sometimes would be boring. :o

The script you can find here. To enable this new mode, you should put them under Data/Scripts/Multiplayer/.

I added these features in this new mode:

* Basic equipments

* Unlimited attacks

* Unblanced health (the more weapons you have, the less health you have.)

* Vampiric mode

If you have any problems, just feel free to leave your comment or open an issue.

Hope you enjoy it! Big Grin

(I am new to lua so the code may look weird. Also forgive my poor English too.)

nemo
User offline. Last seen 1 hour 11 min ago. Offline
Joined: 01/28/2009
Posts: 994

IMO Highlander should allow setting a scheme and ammo set, and set the hog ammos based upon those in the ammo set.
That would allow greater flexibility.

You *can* set a scheme/ammo set right now, in Highlander, if you want to alter things like mines or vampirism. It just ignores the ammo set. To do this, you have to add a Highlander.cfg file w/ the lines:
Default
Default

(that's actually been added to 0.9.18)
Could ask mikade if he minds if we add this to DLC.

hbc
User offline. Last seen 31 weeks 6 days ago. Offline
Joined: 01/23/2012
Posts: 4

nemo wrote:

IMO Highlander should allow setting a scheme and ammo set, and set the hog ammos based upon those in the ammo set.
That would allow greater flexibility.

You *can* set a scheme/ammo set right now, in Highlander, if you want to alter things like mines or vampirism. It just ignores the ammo set. To do this, you have to add a Highlander.cfg file w/ the lines:
Default
Default

(that's actually been added to 0.9.18)
Could ask mikade if he minds if we add this to DLC.

Yeah, I know I can edit some scheme/ammo rules in this way, but I also added some new rules, such as unbalanced health, new approach to distribute equipments. So I think it's better to modify the code.

Thanks.

nemo
User offline. Last seen 1 hour 11 min ago. Offline
Joined: 01/28/2009
Posts: 994

Right, for the ammo stuff, it'd be nice if you did it based upon the ammoset. That would let people pick whichever set of ammo they wish.
Something like. Iterate over the hog's starting ammo set. Any ammo w/ a value greater than 1, count as an ammo that should be in the random set. Then assign all hogs a new random weapon from that set.

This could also be backported to regular highlander if people wanted that without the changes to health.

hbc
User offline. Last seen 31 weeks 6 days ago. Offline
Joined: 01/23/2012
Posts: 4

nemo wrote:

Right, for the ammo stuff, it'd be nice if you did it based upon the ammoset. That would let people pick whichever set of ammo they wish.
Something like. Iterate over the hog's starting ammo set. Any ammo w/ a value greater than 1, count as an ammo that should be in the random set. Then assign all hogs a new random weapon from that set.

This could also be backported to regular highlander if people wanted that without the changes to health.

I will have a try Smile

Copyright © 2004-2013 Hedgewars Project. All rights reserved.