[Script] Game Hacks (version 21)

61 replies [Last post]
Lyberta
Lyberta's picture
User offline. Last seen 13 weeks 3 days ago. Offline
Joined: 2016-09-10
Posts: 176

Hoot allegedly wrote:
Note that the path where to drop the unzipped files is different for Win 10, not sure what it depends on now (for me, it was in Documents/Hedgewars/Data, for example).

This is some kind of Win 10 hiding the real place the files are stored. Absolute paths to local files start with drive letter.

Hoot
User offline. Last seen 33 weeks 4 days ago. Offline
Joined: 2013-12-14
Posts: 49

Lyberta allegedly wrote:
This is some kind of Win 10 hiding the real place the files are stored. Absolute paths to local files start with drive letter.

Oh sorry, I didn't add the absolute path in my post since I thought it unnecessary to check. It actually would be something like C:/[user]/documents etc., of course. It doesn't seem to be %APPDATA%/Hedgewars/ etc. or something, that was my point.

| BRW Touchy Barrels :: Snowstorm — get a frosty burial |
We should do a scientific paper on Highlander Addiction.

nemo
nemo's picture
User offline. Last seen 1 day 2 hours ago. Offline
Joined: 2009-01-28
Posts: 1656

Yeah, long ago Smaxx changed our windows location from %APPDATA% - he felt it was more consistent w/ other games, and I guess easier for users?
I dunno, since he was the windows user, kinda went with it...

https://hg.hedgewars.org/hedgewars/rev/560e2766c445

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

KoBeWi
KoBeWi's picture
User offline. Last seen 11 hours 19 min ago. Offline
Joined: 2010-12-25
Posts: 467

If we talk about shortcuts, you can use %USERPROFILE%/Documents/Hedgewars to access the directory.

I noticed that %APPDATA% is actually heavily used too, e.g. it's default user directory in Godot Engine, Minecraft and many Steam games. %localappdata% is used too, especially by games made in Game Maker. Actually, game user files are all over the place on Windows (there's also a designated save folder, so far only one of my games use it). Not sure if on Linux it's also that bad xd

Lyberta
Lyberta's picture
User offline. Last seen 13 weeks 3 days ago. Offline
Joined: 2016-09-10
Posts: 176

KoBeWi allegedly wrote:

Not sure if on Linux it's also that bad xd

On GNU/Linux it's usually a directory inside your home directory like /home/lyberta/.hedgewars or conforming to XDG spec

Wuzzy
Wuzzy's picture
User offline. Last seen 5 hours 49 min ago. Offline
Joined: 2012-06-20
Posts: 1012

Version 19 is here!
This is mostly just a cleanup release for the Hedgewars 0.9.23 release.

Changes:

  • Requires Hedgewars 0.9.23
  • Add duckdamage: Rubber duck damage modifier
  • Move some ammo modification descriptions into weapon tooltip
  • Remove some messages and texts now supported in the engine
  • Remove limit of health crate contents
  • Other minor cleanup/compability stuff

Hi, I am a Hedgewars developer. Smile I accept personal donations in bitcoin. Heart 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

Elcrolonosios
User offline. Last seen 28 weeks 12 hours ago. Offline
Joined: 2015-05-22
Posts: 1

Hi !
Very good work. Not tested yet, but i just read all your posts about this script and this is just awesome.
I have an idea of a new parameter : a land damage radius multiplier : weapon damage on hedgehogs is unchanged but the radius of explosion (= land destruction) is increased/decreased.
Do you think it's possible ?
Keep it up !!

francot514
User offline. Last seen 1 day 14 min ago. Offline
Joined: 2015-03-20
Posts: 155

Can you do some kind of hacks script version, that could work with android port im using.

nemo
nemo's picture
User offline. Last seen 1 day 2 hours ago. Offline
Joined: 2009-01-28
Posts: 1656

francot514 allegedly wrote:

Can you do some kind of hacks script version, that could work with android port im using.

No. It would make far more sense for someone to actually recompile the android port to work against an up to date engine :p

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

Wuzzy
Wuzzy's picture
User offline. Last seen 5 hours 49 min ago. Offline
Joined: 2012-06-20
Posts: 1012

Version 20 is here!

This is a new version to support new features from Hedgewars 0.9.25!

Download link in the first pos.

Changelog:

  • Now requires Hedgewars 0.9.25
  • Game Hacks is now distributed in a HWP file and can be installed like any other Hedgewars add-on pack
  • Rename noinvading to forcefield
  • Remove duckdamage, initialswitch and sdinitialswitch
  • New parameters:
    • maxcratedrops: Maximum number of crates that can be in game before the random crate drops stops (default: 5)
    • Experimental portaldistance: Limit the distance of portal balls (default: no limit)
  • No longer show fuel indicator when using infinite fuel for flying saucer
  • Fix a couple of interface/usability bugs related to strategictools
  • Fix bad resurrection effect when resurrecting AI hog in AI Survival in forcefield mode
  • Force-disable wrap world edge and time box when using forcefield
  • Show healing animation for all healed hogs when collecting a health crate in sharehealth mode
  • Various updates and bugfixes to function correctly with Hedgewars 0.9.25
  • Never show mine/sticky mine/air mine timer when frozen
  • Fix some minor Hedgepot bugs
  • Script documentation moved into separate README file (see first post)
  • License texts added

Hi, I am a Hedgewars developer. Smile I accept personal donations in bitcoin. Heart 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

Wuzzy
Wuzzy's picture
User offline. Last seen 5 hours 49 min ago. Offline
Joined: 2012-06-20
Posts: 1012

Version 21 is here!

Updates:

  • Fix Sudden Death related specials starting in the wrong turn
  • Rename stickyflames to flamemode
  • Add flamemode=off: Disables all flames

Hi, I am a Hedgewars developer. Smile I accept personal donations in bitcoin. Heart 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

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