• Hey everyone happy Christmas Eve we're aware of what's happened with the source code so to keep this simple absolutely don't post it on the site or use it to make mods with (it's not particularly preferable toward this end anyway) and tread lightly in general until we see how this settles, thanks to all and have a great holiday season -DT

Quick Modding/Hacking Answers Thread

Dec 5, 2011 at 4:06 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
DoubleThink said:
3000 posts, and in addition this is now the single largest thread on the forums.

U guys ;_;

It hasn't even been that long since 2000. =P

DoubleThink said:
Aaaand 2000. Gosh that was quick :muscledoc:

Once again thanks to everybody. Hope that this threads' jump in popularity is a sign of many more mods to come :muscledoc:
 
Dec 5, 2011 at 7:41 PM
Not COMMA
Discord Group Moderator
"..."
Join Date: May 9, 2011
Location:
Posts: 350
Age: 26
Pronouns: he/him
Let's keep up the good work and reach 4000!:o
 
Dec 7, 2011 at 1:36 AM
Not COMMA
Discord Group Moderator
"..."
Join Date: May 9, 2011
Location:
Posts: 350
Age: 26
Pronouns: he/him
Sorry about the double post.
Is there a command to lock the camera in place?
 
Dec 7, 2011 at 1:36 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
You can add an entity 0 with event number XXXX, and then <FONXXXX:0016 and <FOM when you are done
 
Dec 7, 2011 at 1:43 AM
Not COMMA
Discord Group Moderator
"..."
Join Date: May 9, 2011
Location:
Posts: 350
Age: 26
Pronouns: he/him
How could I freeze the camera if I wanted to run the event after the player fell off a cliff? I want to set the "You were never seen again..." part way through the map, and Quote falls for a few seconds and then disapears.
 
Dec 7, 2011 at 1:45 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
You could do two layers of horizontal triggers; one to grab the camera (focus onto the trigger itself) and then one to disappear the player (run dying script and <HMC)
 
Dec 7, 2011 at 2:03 AM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 32
Pronouns: he/him
Alternatively, if you just want the camera to stop moving completely on a dime, you could get pretty close to achieving this by doing <FONxxxx:9999 where xxxx is some entity in the general vicinity of the camera. Technically, that doesn't freeze the camera, just makes it move REALLY slow. Though, depending on where the camera coordinates are stored as floats or ints, it's possible it would actually freeze the camera completely due to rounding error.

edit: though I think Noxid's method would look a bit more natural, assuming I understand correctly what you're trying to do.
 
Dec 7, 2011 at 2:05 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
there is (almost) no floating point math in cave story
maybe in like TWO SPOTS but those might only be called at startup to populate a sine/cosine table
 
Dec 7, 2011 at 2:08 AM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 32
Pronouns: he/him
Ah, in that case, my method would freeze the camera completely. Unless the camera is more than 9999 pixels away from its target, which is unlikely.
 
Dec 7, 2011 at 2:15 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
Noxid said:
You could do two layers of horizontal triggers; one to grab the camera (focus onto the trigger itself) and then one to disappear the player (run dying script and <HMC)

Wouldn't it be more efficient to use one for both? Two might cause problems (booster/mach gun perhaps), and one h trigger is more organized.
 
Dec 7, 2011 at 2:21 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
I guess that would work too
 
Dec 7, 2011 at 2:33 AM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
Pronouns: ㅤ
...How many entities are allowed in one room (couldn't find a specific way to search that, heh)? I believe my room crashed when I entered it because of all the entities.
 
Dec 7, 2011 at 2:40 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
512 is the hard limit of entities at any specific point in time, I can't remember if the function that loads entities from file starts at 0 or 256 though.

Also that shouldn't crash it, I think the code is pretty idiot-proof in that regard. It just can't create new entities if it runs out of slots.
 
Dec 7, 2011 at 12:08 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
No, it crashes, I've done it before.
Yeeeeaah...don't put in 450 h/v triggers in a map
 
Dec 7, 2011 at 1:27 PM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
Pronouns: he/him
Dec 7, 2011 at 1:29 PM
plant girl
"..."
Join Date: Jun 2, 2011
Location: ancient history
Posts: 397
Age: 26
Pronouns: she/her
Okay
Can someone explain how <BOA and <BSL work? I have played around with them, but I really don't understand how they work.
 
Dec 7, 2011 at 8:31 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
Pigaro said:
Okay
Can someone explain how <BOA and <BSL work? I have played around with them, but I really don't understand how they work.

<BOA animates a special boss (omega, monster x, heavy press etc). For more info "see how pixel did it", I think there are specific numbers for specific bosses.
<BSL basically creates a healthbar at the bottom of the screen for an entity with event # XXXX. That's it, everything else is done manually.
 
Dec 7, 2011 at 8:52 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
for the record, the special bosses are the ones which are tied to specific maps. <BOA essentially sets the boss's scriptstate. unless you know assembly, use wwpd to figure out which number to use.
 
Dec 7, 2011 at 10:00 PM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
Pronouns: ㅤ
Noxid said:
512 is the hard limit of entities at any specific point in time, I can't remember if the function that loads entities from file starts at 0 or 256 though.

Also that shouldn't crash it, I think the code is pretty idiot-proof in that regard. It just can't create new entities if it runs out of slots.

MagicDoors said:
No, it crashes, I've done it before.
Yeeeeaah...don't put in 450 h/v triggers in a map

So, 375 entities shouldn't crash the game then? I believe that is the only thing that could have crashed it, but does somebody wants to check my game? Or should I just remove the entities until I get to a reasonable amount?
 
Back
Top