A few questions

Aug 8, 2009 at 3:24 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
First of all, what is the ID number for Cthulu?

Second, which TSC or entity edit do I use to make someone say something different after I talk to them once.

Finally, can I make someone give a Health Capsule?

Direct lines of code are appreciated.
 
Aug 8, 2009 at 3:49 PM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
PunxsatownyPhil said:
First of all, what is the ID number for Cthulu?
Both editors come with NPC files that have all the entities listed.
Cave Editor even has a drop-down tab with all the entites, now.
Cthulu is 29.

PunxsatownyPhil said:
Second, which TSC or entity edit do I use to make someone say something different after I talk to them once.
You don't use a special entity to do that, you use flags. {TSC commands <FL+, <FL-, and <FLJ. Read up on the TSC files}
After the first time you talk to the entity, have a flag set and the next time you talk to them, a flag jump should have to skip to another event, where they'll say something else.
Good examples would come from the original game:
Code:
#0201
<IT-0014
<FLJ0594:0224
<FLJ0593:0223
<FLJ0592:0222
<FLJ0591:0221
[B]<FLJ0590:0220[/B]
<KEY<MSGTalk, talk, talk talk.<NOD[B]<FL+0590[/B]<END
Now that Flag 0590 is set, the next time you talk to Jenka you'll get this:
Code:
[B]#0210[/B]
<KEY<MSG<FAC0013Still four left...<NOD
Could this old woman
trouble you to find her
other puppies for her?<NOD<END
PunxsatownyPhil said:
Finally, can I make someone give a Health Capsule?
Again, best examples come from the original scripts and maps.
I mean, just look at the second map {First Cave}:
Code:
#0400
<PRI<SOU0022<DNP0400<CMU0016
<MSG<GIT1006Got a =Life Capsule=!<WAI0160<NOD<RMU<ML+0003
Max health increased by 3!<NOD<END
Entity 0400 is the Life Capsule.
PunxsatownyPhil said:
Direct lines of code are appreciated.
You can browse the original scripts if you want more direct lines of code.
 
Aug 10, 2009 at 5:05 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
Additionally, I try to set the doors (18) to event 600 (also, the new map is map 95)

Code:
#0600
<PRI<CNP0100:0000:0000
<SOU0011<FAO0001
<TRA0095:0091:0002:0009
<END

When I try to save this in the script WITHOUT <END, Cave Editor goes to (Not Responding). When it IS there, with Flag 2000 set, nothing happens when I press down, except that I look at the door and then forward again.
 
Aug 11, 2009 at 12:02 AM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: May 4, 2006
Location: Florida
Posts: 115
Age: 43
One thing to check is to make sure that your events are in numerical order. If they're not, all sorts of strange things can happen in game.
Also, the "Entity ID" is only used by flag checking commands and you'll want to use <CNP0600:0000:0000 to get the door to open.

If you're using an old version of Cave Editor you might be getting that Not Responding problem from that. The newest version in in the link in my sig.
 
Aug 11, 2009 at 12:33 AM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
Okay, now I can actually get in the room. Here's the new problem: When I press down at the door or at Cthulu, It shows the map name again and fades in. Here's the code, Cthulu's speech isn't important. The Door's event is 600, Cthulu's is 200. They both have the flag 2000.

Code:
#090
<MNA<CMU0014<FAI0000<END
#0091
<MNA<CMU0014<FAI0001<END
#0092
<MNA<CMU0014<FAI0002<END
#0093
<MNA<CMU0014<FAI0003<END
#0094
<MNA<CMU0014<FAI0004<END

#200
<KEY<MSGSpoiler<NOD<CLR
Spoiley Spoiley!<NOD<FL+0210<END

#210
<KEY<MSGOh yes, you may want this<NOD<CLR<SOU0022<CMU0014<GIT1006Got a =Life Capsule=!<WAI0160<NOD<RMU<ML+0005
Max health increased by 5!<NOD<GIT0000<FL+0220<END

#220
<KEY<MSGSpoiler!<NOD<END

#0600
<PRI<CNP0100:0000:0000
<SOU0011<FAO0001
<TRA0013:0091:0019:0008
 
Aug 12, 2009 at 1:24 PM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 31
All event numbers must be four digits long, so change #090 to #0090 and #200 to #0200 etc.
 
Aug 12, 2009 at 2:05 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
Thank you, cheese. That worked. Weird what 4 missing 0s do.


New problem: I edited a tileset (I added new tiles without resizing the file or replacing old ones), and when I try to put the new tiles in a map, they go in, but when I try to save, it says "Error saving map data!" (with the exclamation point). What do I do now? Barrel Roll didn't work.
 
Aug 16, 2009 at 10:35 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
Sorry, to dobule post, but I want people to notice this question and not to make a new thread.

Can I add new facepics by making the Face file longer? If I add another row, will the script recognize it as 0031, 0032, etc? I'll replace human Sue, but I need all of the other ones. I need to at least add 2 more after that (Kanpachi, Chaco, and Chie from a pic in the fanart thread.)

Edit: I replaced Human Sue with a Chaco facepic, and added <FAC0027, and a blank space appears for her and angry Misery. Also, when I select it, it says 48x48, but it is one pixel too tall for a 48x48 space.
 
Aug 17, 2009 at 8:38 PM
In front of a computer
"Man, if only I had an apple..."
Join Date: Mar 1, 2008
Location: Grasstown
Posts: 1435
Just try it. If it doesn't work you can try adding a column instead of a row.
 
Aug 17, 2009 at 10:23 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
Eh... Gives a blank space instead of a facepic. And columns, I'd have to edit every number in the game.
 
Aug 17, 2009 at 11:47 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: May 4, 2006
Location: Florida
Posts: 115
Age: 43
I don't think it will let you use the 0000 spot since it's used to reset the message box to use the entire width for the text.

You can add additional faces to the the bottom no problem. I just tested up to 60 and it works just as you'd expect.
 
Aug 18, 2009 at 12:12 AM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: May 4, 2006
Location: Florida
Posts: 115
Age: 43
Yes, someone with better portrait spriting skills than I.
 
Aug 18, 2009 at 1:16 AM
essentially spirited away for an indefinite time.
"..."
Join Date: Jul 16, 2009
Location: in a castle.
Posts: 372
how the hell do I change NPCs of an area? i changed the Reservior's NPC tilesets and the chinfish turned into a cut up sprites droll and kanpachi turned into some brown razor blade
 
Aug 18, 2009 at 2:03 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
Thread jacking much?

For some reason, the facepics say 48 x 48 but are 47 x 48. I put Kanpachi and Chie on the bottom row, but they give a blank space, same color as the text box.

ALSO: How do I change the thumbnail picture for doukutsu.exe?
 
Aug 18, 2009 at 6:57 PM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 31
Resource hacker (it allows you to edit icon, window layout, file/version information, credit graphics, and organya music).
 
Aug 18, 2009 at 8:24 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
wedge of cheese said:
Resource hacker (it allows you to edit icon, window layout, file/version information, credit graphics, and organya music).

But how do I make a .res or .ico picture?

Also: The facepics, please? The new bottom row ones show a blank space.
 
Aug 18, 2009 at 8:51 PM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 31
Well, idk about the facepics but a programming language that I use (namely Liberty BASIC) allows you to make .ico files. Idk of any other programs that do, sorry :(
 
Aug 18, 2009 at 9:06 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Oct 13, 2008
Location:
Posts: 148
Easy Icon Maker. My mod shoud be done soon, just need to resolve the facepics :(. I put you, Lowell, and Wistil in the Credits, with a crappy 8-bit version of your avvy as the picture.
 
Aug 19, 2009 at 1:35 PM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 31
Aug 19, 2009 at 8:32 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: 3054
why doesn't anyone look at the stickies? this belongs in QUICK MODDING/HACKING ANSWERS. yeesh. [/angermoment]
 
Top