HALO -- HIGHLANDER 2

4 replies [Last post]
hbc
User offline. Last seen 9 years 8 weeks ago. Offline
Joined: 2012-01-23
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
nemo's picture
User offline. Last seen 2 weeks 1 day ago. Offline
Joined: 2009-01-28
Posts: 1861

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.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

hbc
User offline. Last seen 9 years 8 weeks ago. Offline
Joined: 2012-01-23
Posts: 4

nemo allegedly 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
nemo's picture
User offline. Last seen 2 weeks 1 day ago. Offline
Joined: 2009-01-28
Posts: 1861

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.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

hbc
User offline. Last seen 9 years 8 weeks ago. Offline
Joined: 2012-01-23
Posts: 4

nemo allegedly 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

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]