Quick Modding/Hacking Answers Thread

Sep 20, 2017 at 8:21 PM
ZYZZ Spur is the best gun because its super cool
"All your forum are belong to us!"
Join Date: Jan 15, 2017
Location: Northern Hemisphere
Posts: 565
Age: 16
Pronouns: he/him
Change a null entity into whatever you want it to be (I think with <CNP), then delete it when needed (or change it into a null again).

thanks I forgot I could do that
 
Sep 22, 2017 at 6:16 AM
lol
Modding Community Discord Moderator
"All your forum are belong to us!"
Join Date: Oct 20, 2013
Location: Florida
Posts: 608
Pronouns: he/him
So I renamed map "Save Point" (WeedS) in CE was changing up some stuff in the properties as I would any other map. But when I tried to load the map, CE gave me an error message saying it wouldn't load a map. I eventually found out by re-replacing the WeedS files from a clean version of CS the map was accessible again. But my question is: Is there to avoid this error happening? I don't encounter this issue with some maps but others give this problem. Is there a way to prevent it from happening?
 
Sep 23, 2017 at 12:22 AM
ZYZZ Spur is the best gun because its super cool
"All your forum are belong to us!"
Join Date: Jan 15, 2017
Location: Northern Hemisphere
Posts: 565
Age: 16
Pronouns: he/him
So I renamed map "Save Point" (WeedS) in CE was changing up some stuff in the properties as I would any other map. But when I tried to load the map, CE gave me an error message saying it wouldn't load a map. I eventually found out by re-replacing the WeedS files from a clean version of CS the map was accessible again. But my question is: Is there to avoid this error happening? I don't encounter this issue with some maps but others give this problem. Is there a way to prevent it from happening?
That happens to me a lot especially when I change the "file name" (not the name you see when you do the little <MNA thing)

I don't know how to fix it though i'm not very good at this stuff
whenever i create a map though I always exit out of the editor after creating it though because a lot of times i'll make a big map and it'll all end up going to waste if its glitched
 
Sep 23, 2017 at 12:36 AM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
So I renamed map "Save Point" (WeedS) in CE was changing up some stuff in the properties as I would any other map. But when I tried to load the map, CE gave me an error message saying it wouldn't load a map. I eventually found out by re-replacing the WeedS files from a clean version of CS the map was accessible again. But my question is: Is there to avoid this error happening? I don't encounter this issue with some maps but others give this problem. Is there a way to prevent it from happening?
Did you rename the map title or the map's file name? (WeedS) If you changed that, you'll have to press "save" in the cave editor's menu before opening it again iirc.
 
Sep 23, 2017 at 4:42 AM
lol
Modding Community Discord Moderator
"All your forum are belong to us!"
Join Date: Oct 20, 2013
Location: Florida
Posts: 608
Pronouns: he/him
Did you rename the map title or the map's file name? (WeedS) If you changed that, you'll have to press "save" in the cave editor's menu before opening it again iirc.
I generally stick away from renaming the file name I will do the saving in CE menu, thanks!
 
Sep 25, 2017 at 9:01 PM
ZYZZ Spur is the best gun because its super cool
"All your forum are belong to us!"
Join Date: Jan 15, 2017
Location: Northern Hemisphere
Posts: 565
Age: 16
Pronouns: he/him
just a quick curious question can the machinegun overpower a pushing down waterway thing?
Like those things that are in the waterway stream

I'm having trouble testing it sometimes it seems like it kind of works ish sometimes it doesn't???

Also another random question
Is it possible to get curly to shoot those elephant behemoth thigsn in the egg corridor like she does in the labyrinth to other things without doing SUPER hacking stuff?

Boosters lab has the edit npc.tbl thing but I don't know if I can change that in there

edited but nobody has responded to the above anyways....
For some reason the gaudi eggs and the gaudis with armor are dying instantly in my map...
why is this?
Or is it an invisible curly brace shooting at them? I think i have her on this map


sorry i wanted to repost this because whenever i edit my question nobody sees it has been changed
 
Sep 26, 2017 at 5:12 AM
Deliverer of Sweets
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 804
Age: 26
Pronouns: 菓子
just a quick curious question can the machinegun overpower a pushing down waterway thing?
Like those things that are in the waterway stream
I think I remember a TAS player moving down an upwards stream with the machine gun once.
 
Sep 26, 2017 at 10:47 PM
ZYZZ Spur is the best gun because its super cool
"All your forum are belong to us!"
Join Date: Jan 15, 2017
Location: Northern Hemisphere
Posts: 565
Age: 16
Pronouns: he/him
The only things npc.tbl can change are the things listed within there. Keep in mind that things like sprite size and NPC damage can be hard coded into the NPC sometimes, or are changed depending on its state.
It's fairly trivial to open up an NPC in OllyDbg and edit stuff like that, though.

oh i dont have ollydbg though whatever that is

by the way do you have any idea why my gaudis could be dying instantly? Also maybe its because my curly ai isn't showing up?
 
Sep 26, 2017 at 11:46 PM
me when bro says be holly and jolly for $20
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2853
Age: 30
Pronouns: She/Her
by the way do you have any idea why my gaudis could be dying instantly? Also maybe its because my curly ai isn't showing up?
Did you make their health anywhere below 1000 with npc.tbl? It's set to that so they can play their death animation.
 
Sep 27, 2017 at 12:25 AM
ZYZZ Spur is the best gun because its super cool
"All your forum are belong to us!"
Join Date: Jan 15, 2017
Location: Northern Hemisphere
Posts: 565
Age: 16
Pronouns: he/him
Did you make their health anywhere below 1000 with npc.tbl? It's set to that so they can play their death animation.
oh...
what should it be instead?
1000+the normal health?
 
Sep 27, 2017 at 12:40 AM
me when bro says be holly and jolly for $20
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2853
Age: 30
Pronouns: She/Her
oh...
what should it be instead?
1000+the normal health?
1000 is the health given to it by default. The Gaudi really has 15 HP, but the additional 985 health is there so it can do its death animation, so I advise to not put in anything below 985.
 
Sep 27, 2017 at 2:24 AM
ZYZZ Spur is the best gun because its super cool
"All your forum are belong to us!"
Join Date: Jan 15, 2017
Location: Northern Hemisphere
Posts: 565
Age: 16
Pronouns: he/him
1000 is the health given to it by default. The Gaudi really has 15 HP, but the additional 985 health is there so it can do its death animation, so I advise to not put in anything below 985.
oh i forgot that happens with the glitched characters thanks
 
Sep 30, 2017 at 8:21 AM
lol
Modding Community Discord Moderator
"All your forum are belong to us!"
Join Date: Oct 20, 2013
Location: Florida
Posts: 608
Pronouns: he/him
Currently trying to make a "training arena" so I'd have for instance the first wave be regular blue critters. I set them all to appear on flag 405, so when the "training arena wave 1" starts, the critters appear. One thing I find concerning; I want to set one of them to run a script on death so it starts the 2nd wave, but I'm not sure if that would work because if all critters appear for the first wave, and if the player hits the "run script on death" critter then it will prompt the 2nd wave to appear before wave one is finished.

Is there a way to remedy this problem without ASM?
 
Sep 30, 2017 at 11:24 AM
Junior Member
CSE Discord Admin
"It's dangerous to go alone!"
Join Date: Jun 13, 2017
Location:
Posts: 34
Age: 21
Pronouns: he/him
Yes. Make the critters to set flags on death, and have the same script verify if the all flags are set, then (if they are set), start 2nd wave.

example :

Death script for one of the critters (if there were only 3):
(This is an algorithm, it will not work, flag numbers are random and probably already used)

#0621
<FLJ0536:0631<FL+0523

#0631
<FLJ0325:0641<FL+0523

#0641
<Start second wave (make it change maps after 2 or 3 waves otherwise your TSC file will be too big for the parser).
 
Last edited:
Sep 30, 2017 at 5:19 PM
lol
Modding Community Discord Moderator
"All your forum are belong to us!"
Join Date: Oct 20, 2013
Location: Florida
Posts: 608
Pronouns: he/him
Yes. Make the critters to set flags on death, and have the same script verify if the all flags are set, then (if they are set), start 2nd wave.

example :

Death script for one of the critters (if there were only 3):
(This is an algorithm, it will not work, flag numbers are random and probably already used)

#0621
<FLJ0536:0631<FL+0523

#0631
<FLJ0325:0641<FL+0523

#0641
<Start second wave (make it change maps after 2 or 3 waves otherwise your TSC file will be too big for the parser).
You can do this, if you have ridiculous patience, and you're aware that you might definitely:
A: Overflow the TSC parser, because it can't parse files if they're too long.
B: Go mad, and run out of flags unless you unset them at the start of each wave.
If you do this without ASM, I recommend trying to compress your TSC wherever possible.

Thank you so much you two. Currently trying it the algorithm out, and......it's confusing oh boy....Spent a couple hours breaking my head open. But I have an idea, while it makes it more simplified, I think it's for the better and for the sake of my sanity.
I could have it where the "training starts" it can start with the 1 critter, when that critter dies it'll run the script to spawn 2 more of them. Then if the player kills critter A (the non-run script critter), the player can battle then battle critter B alone, but if the player kills critter B first, 2 more critter spawn making it 3 critters to battle. Which can hopefully give it a little bit of a frantic battle maybe having - 1 - 2 - 2 -4 - 2 - 3 - 5 critters so it can be a little hectic, but considering the critters die easily with the player's current weaponry, I would doubt the player would have much trouble. Your ideas did help me think of something new do when I finally sat on it rather then rip myself up, I do appreciate it!

Edit:
(Skip to 3:01, the text editor won't allow me to have the video start at 3:01)
I was watching this video, I love the mod despite not being able to understand it. The 2nd boss battle is a gauntlet fighting several enemies, in those fights it doesn't matter if you kill enemy 1 or enemy 2, I'm sure the run of death script (if it's the first killed) jumps to the second? Is there a way to better describe it or is the algorithm what was used @GabrielRavier ?
 
Last edited:
Sep 30, 2017 at 7:37 PM
me when bro says be holly and jolly for $20
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2853
Age: 30
Pronouns: She/Her
The 2nd boss battle is a gauntlet fighting several enemies, in those fights it doesn't matter if you kill enemy 1 or enemy 2, I'm sure the run of death script (if it's the first killed) jumps to the second? Is there a way to better describe it?

For the first part of the boss gauntlet, here's the death scripts for the first two "Ravil" bosses.
Code:
#0510
<CNP0510:0004:0000<FLJ0090:0600<FL+0090<END

#0511
<CNP0511:0004:0000<FLJ0090:0600<FL+0090<END
They both share the same flag, meaning it won't be set unless both of them are dead.
 
Sep 30, 2017 at 8:27 PM
lol
Modding Community Discord Moderator
"All your forum are belong to us!"
Join Date: Oct 20, 2013
Location: Florida
Posts: 608
Pronouns: he/him
For the first part of the boss gauntlet, here's the death scripts for the first two "Ravil" bosses.
Code:
#0510
<CNP0510:0004:0000<FLJ0090:0600<FL+0090<END

#0511
<CNP0511:0004:0000<FLJ0090:0600<FL+0090<END
They both share the same flag, meaning it won't be set unless both of them are dead.
Ok cool, thank you so much, that helps a ton!
 
Back
Top