Consumerism! (multiplayer script)

11 replies [Last post]
Vatten
Vatten's picture
User offline. Last seen 1 year 34 weeks ago. Offline
Joined: 2009-09-02
Posts: 48

Description:

The point with this script is to buy your weapons ingame. So you will start with 0 weapons, well you have skip if it counts and then you purchase whatever weapon you want. Notice that each weapon costs a certain amount of hedgeoggian dollars (cash).

If you want to play without infinite attacks (default) then you will start with ( 50 % of life of hedgehogs + 10 * clans ) cash. Example: if there is 2 teams and the health is 100, then you will start with 70 cash.
You will

If you want to play WITH infinite attacks, then you will recieve 10 % of ( 50 % of life of hedgehogs + 10 * clans ) cash each round, and infinite weapons will give 1 each turn. You will recieve 5 cash on kills and 50% probability for 5 cash in crates.

You get into Store by selecting skip and press 1-5:
1-2: buy 1-2 weapons
3: buy infinite weapons
4: see costs dont buy anything
5: turn go into play mode ON/OFF

you can also get into the store by doublepressing 1-5.

*1-5 is the keys you use to select timing for grenades

Download:

If the script is not in the dlc yet, then just download it from the link below

http://www.mediafire.com/download/81hnqdnza7ukj0v/Consumerism_1.1b.hwp (latest)

Howto install script manually:

1. First download the file from the link above
2. Move the file to:
~/.hedgewars/Data (Linux)
~/Library/Application Support/Hedgewars/Data (OSX/Mac)
My Documents/Hedgewars/Data (Windows)
3. Restart Hedgewars (not your computer).
4. Make a delicious cup of tea, invite some bridge-playing people and enjoy this splendid script.

Vattenania, my beloved motherland, my beloved homeland! You are always with me in my thoughts and in my heart!

CheezeMonkey
User offline. Last seen 5 years 3 weeks ago. Offline
Joined: 2010-11-19
Posts: 117

Hey,
I played around with this a little, and though it seems like it could be quite fun once it's done (IMO), the weapon costs still needs some fixing... I've had no problem with running out of money in a 4v4 on a medium sized map till now.

However, you mentioned that you can use up more than 100 cash. I just wanted to let you know that while playing, I noticed that if you select the girder and try to use it while there's land in the way, the girder isn't used, but the money is deducted.
Don't know if you knew that already or not, just thought I'd mention it. Good luck with the script! Smile

Vatten
Vatten's picture
User offline. Last seen 1 year 34 weeks ago. Offline
Joined: 2009-09-02
Posts: 48

CheezeMonkey allegedly wrote:

I noticed that if you select the girder and try to use it while there's land in the way, the girder isn't used, but the money is deducted.
Don't know if you knew that already or not, just thought I'd mention it.

Its almost the same thing as the parachute, you can just stand where you are and press "space" until you get -2000.

However i dunno what the prices should be or what to start with. I was thinking about to change it so each team start with 25 cash, and every 3rd round you will get 15 cash. But i dunno, i made this script from a suggestion. I am thinking about to make it "suggestion based", which means that the community will have large influential part how this script should look like in the future

Vattenania, my beloved motherland, my beloved homeland! You are always with me in my thoughts and in my heart!

Mystery
Mystery's picture
User offline. Last seen 12 years 22 weeks ago. Offline
Joined: 2011-07-09
Posts: 78

CheezeMonkey:
I want to say..why don't you download and install Cheat Engine to your pc/mac/android?
Learn how to hack the money :P

And for Vatten,I love your scripts so much.

passstab
User offline. Last seen 12 years 14 weeks ago. Offline
Joined: 2011-11-28
Posts: 18

Quote:
Quote:
CheezeMonkey wrote:

I noticed that if you select the girder and try to use it while there's land in the way, the girder isn't used, but the money is deducted.
Don't know if you knew that already or not, just thought I'd mention it.

Its almost the same thing as the parachute, you can just stand where you are and press "space" until you get -2000.


i've not tried the script yet but i wanted to point out that the girders are different from the parachute in the parachute behaviour is the same as in other modes

Vatten
Vatten's picture
User offline. Last seen 1 year 34 weeks ago. Offline
Joined: 2009-09-02
Posts: 48

passstab allegedly wrote:

Quote:
Quote:
CheezeMonkey wrote:

I noticed that if you select the girder and try to use it while there's land in the way, the girder isn't used, but the money is deducted.
Don't know if you knew that already or not, just thought I'd mention it.

Its almost the same thing as the parachute, you can just stand where you are and press "space" until you get -2000.


i've not tried the script yet but i wanted to point out that the girders are different from the parachute in the parachute behaviour is the same as in other modes

it seems like you have to try this mode first...
(its a bug)

Vattenania, my beloved motherland, my beloved homeland! You are always with me in my thoughts and in my heart!

passstab
User offline. Last seen 12 years 14 weeks ago. Offline
Joined: 2011-11-28
Posts: 18

ok i've tried it and i stand by my previous distinction

in default attempting to badly placing a girder doesn't consume the girder
using a parachute on land WILL use the parachute

Vatten
Vatten's picture
User offline. Last seen 1 year 34 weeks ago. Offline
Joined: 2009-09-02
Posts: 48

Howdy

I made an update to this script. In case you did not notice.

*
Since im not very used to playing with infinite attacks there might be some balance issues with the costs. As it is now im sharing the cost between both modes. If someone have any cost ideas, i would like to see em. Smile

Vattenania, my beloved motherland, my beloved homeland! You are always with me in my thoughts and in my heart!

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

Hey Vatten!
Can you please consider releasing your script under a free software license?
Would be nice! It would also simplify a lot of things for us. Smile

For your information, Hedgewars itself is released under the GNU GPL v2.

Hi, I am a Hedgewars developer. Smile

Vatten
Vatten's picture
User offline. Last seen 1 year 34 weeks ago. Offline
Joined: 2009-09-02
Posts: 48

Consumerism should currently have the Expat (MIT) license at the top of the file. It is compatible with GNU GPL v2.

Vattenania, my beloved motherland, my beloved homeland! You are always with me in my thoughts and in my heart!

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 48 weeks ago. Offline
Joined: 2016-06-26
Posts: 381

@Vatten
Awesome :O! tbh, it's been an inspiration for my project since the dawn of its very creation, hehe. And though my 'over-overdue' project does use the same feature as for weapon/arsenal/item/upgrade/ability purchased which btw, use some 'cash' to buy ~too (Called "Hoc" - "Hedgehog Omni-Currency", as I named it lel). So ofc your Consumerism earned a part of the credit =)

Nevertheless, for a trivial matter
I just wondering why your masterpiece didn't go to the Content Creation section with all those fine works. But anyway anyhow, great art you've made! Hope good day n' night to you ^^

Note-to-Self: I should check if there's any bug same as in yours, incorrect Hoc usage of girder or parachute in my project, hmmmmm =| *pretending to 'think' as if I can; which I believe I can't*

POST-EDIT: Wait a minute, I've just done a quick rethinking after writing the NtoS above then realize that it wouldn't be possible for the same/similar bug to occur in mine, surely can't. Nah, haven't tested it yet, and I'm too lazy to try *burp*. What a silly false alarm... *Shouting* Bad brain!

╟───NW──────┼──────N╢

╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜

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

Thank you, Vatten! Smile

Hi, I am a Hedgewars developer. Smile

User login

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