Help needed! Really basic patch question

Request patches for Keens 1-3.
Post Reply
Benvolio
Posts: 225
Joined: Sun Aug 29, 2004 4:44 pm
Location: Ireland
Contact:

Help needed! Really basic patch question

Post by Benvolio »

Hi guys, trying to use a patch I found on Keenwiki for Keen1.

The patch contains brackets (both square ones and curly brackets). I've not come up against these in patches before.

Ck1patch rejects these brackets as invalid numerical formats. But then, deleting the brackets make the game crash - it loads but at the relevant action it freezes.

I assume the brackets are shorthand for something I'm meant to alter in the patch code but I don't understand what. Going back to basics, the beginner's tutorial at https://keenwiki.shikadi.net/wiki/Patches contains examples with brackets but doesn't say what the brackets mean!
Nospike
Posts: 160
Joined: Fri Apr 23, 2010 1:54 pm
Location: Some cool place, idk

Re: Help needed! Really basic patch question

Post by Nospike »

Sounds like the patch needs some adjustment as it won't work out of the box. You're always supposed to delete the brackets before you use it, but also change some values in the brackets. There should be a description of the bracketed values and what they mean on the page you found the patch. If you could share which one that is we might be able to help. :)

I remember previously Keenwiki had these values marked in blue and brown, and most patches' descriptions still refer to those colors. Now that feature seems to be gone and they've been somehow globally replaced with brackets.
Benvolio
Posts: 225
Joined: Sun Aug 29, 2004 4:44 pm
Location: Ireland
Contact:

Re: Help needed! Really basic patch question

Post by Benvolio »

Thanks for quick response! At the expense of the element of susprise, I shall reveal that the patch is thus:

https://keenwiki.shikadi.net/wiki/Patch ... er_gravity

To me it seems like the type of one that should at least work "out of the box" though of course with opportunities for tweaking. It's not essential for my mod, I just thought it might be a bit of fun!
Nospike
Posts: 160
Joined: Fri Apr 23, 2010 1:54 pm
Location: Some cool place, idk

Re: Help needed! Really basic patch question

Post by Nospike »

Just remembered something. If you won't be able to get this working, I was fooling around with patching the Keen shot behavior and I found out that if I replace it with the icecubette behavior (move, then disappear - $2151W) a side effect is that the shot obeys gravity. Obviously it does disappear after a second or such, and it falls through tiles, but maybe you could find a different behavior with more suitable properties that would still carry the same side effect? The list of behaviors is here: https://keenwiki.shikadi.net/wiki/Patch ... r#Keen_1_2
Post Reply