New script:The random Specialist

17 replies [Last post]
KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

This new script was ideated by me and written entirely by Tiotimolina.
Its like playing ts but each hog has 2 random weapons and 1 random utility for the rest of the game. The weapon set is not customizable tho.Uber weapons and uber utilities are disabled.
License: MIT License

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152
Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

Cool!

So basically this is a lot like Balanced Random Weapon, except the weapons you got never change. Big Grin

Do you agree with releasing this script under a free software license like the GNU General Public License 2.0 (same license under which Hedgewars is released under)?
This would simplify a lot of things for us and our users, thanks! Smile

Hi, I am a Hedgewars developer. Smile

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

of course, do whatever you want!

Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

Thank you. Smile

Hi, I am a Hedgewars developer. Smile

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

The Random Specialists v2 is out.
The update brings some weapon balancing and visual improvements.
Now every weapon has a correspondent hat and role name so that a hog with three weapons will have the name and the hat that corresponds to one of the random weapon that he has.

Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

I have difficulties with downloading from mega.nz. Sad Smiley

Hi, I am a Hedgewars developer. Smile

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

Wuzzy allegedly wrote:

I have difficulties with downloading from mega.nz. Sad Smiley

Hmm I dont know the link seems to work for me...
Try this one: https://transfer.sh/jqbG9/The_Random_Specialists_v2.hwp

Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

Download link that actually works:

https://pastebin.com/raw/wUTucjbC

Hi, I am a Hedgewars developer. Smile

Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

I am not happy with some names:

  • Nazi for mine strike (I suggest: Air General)
  • Whore for seduction (I suggest: Siren or Seducer)
  • Pathfinder for rope (I suggest: Ninja)
  • Ninja for sticky mine (I suggest: Trapper)
  • I also suggest to swap Terminator and Solider (for better consistency with the original Specialists)

Hi, I am a Hedgewars developer. Smile

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

ok I will edit those. Thanks

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

Here it is : https://pastebin.com/5ZP1PPzK

Keep in mind that the .cfg file should allow the customization of the scheme and the weapon scheme

Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

Hmmm, the script has a bug.

If any team starts with more hedgehogs than the number of enabled weapons (from the weapon scheme), then the script errors out.
For example, if your weapon scheme has only bazookas and grenades, but you start a 6vs6 game, the game will instantly quit with an error, which screws up Hedgewars pretty badly.

Minor problem: There are several strings without loc().

Hi, I am a Hedgewars developer. Smile

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

ok UltiMaxKom helped me fixing those problems.
here s the file: https://pastebin.com/730U52CC

Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

OK, I still found a few minor issues:

- Still not everything collected by loc()
- If a class appears multiple time, it is listed multiple times
- Zombie hat not working

But I have fixed them myself because it's faster that way.
I also renamed a few classes (“The trickster” → “Trickster”, for all other classes I capitalized every word). I also extended the mission panel a bit and added a few code comments.

Please have a look at the script and tell me if it's OK:

https://pastebin.com/raw/Sm9ZZhL7

If you're happy with this, I am probably going to upload it to DLC.

Hi, I am a Hedgewars developer. Smile

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

Thank you, its ok you can upload this and TS2 on DLC.

Wuzzy
Wuzzy's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 2012-06-20
Posts: 1304

The Random Specialists v2 is now on DLC!

Hi, I am a Hedgewars developer. Smile

KIRA
KIRA's picture
User offline. Last seen 2 days 17 min ago. Offline
Joined: 2014-09-23
Posts: 152

Thank you Big Grin

User login

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