Broken Apples

Discuss Chaos Strikes Back for Windows and Linux, an unofficial port of Chaos Strikes Back to PC by Paul Stevens, as well as CSBuild, an associated dungeon editor.

Moderator: Zyx

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Broken Apples

Post by Paul Stevens »

Zyx wanted me to add flags to 'Miscellaneous' items
to indicate broken and/or poisoned so as to be like
weapons. Here is the format of the two object types:

Code: Select all

     
      Misc       Weapon      Clothing  Scroll
 --------------------------------------------
  
 0-6  Type       Type       Type        0=Open
 7    Important  Important  Important    -
 8    Cursed     Cursed     Cursed       -
 9      -        Poisoned   Charges      -
 10     -        Charges       "         -
 11     -           "          "         -
 12     -           "          "         -
 13     -           "       Broken       -
 14   Value      Broken        -         -
 15     "        Lit Torch     -         -
So we could use bit 9 of Misc to mean Poisoned and we
could use bit 10 to mean Broken. It would be easy to
display these things in the Inventory screen. But old games
may have garbage in these bits. So I will add a global
option to allow these bits to be set. If the option is not set then
the bits will be cleared when the game is loaded.

Before I do this I want to know whether we should do it
for Scrolls and Clothing. I don't want to have to invent
two global flags. The Potions have no unused bits so I
don't think we can do anything with them.
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

Well now with the feeding filter the designer can give a meaning to a poisonned misc.
If you ever make a party attacking filter, broken misc and weapons will be pertinent too!
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

Could you add a search function for cursed/broken/poisonned items and unique/poisonned/invisible/size4 monsters in CSBuild?
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

I already had a card for this. I've added unique,
invisible, and size4.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

search function for cursed/broken/poisonned
CSBuild1.94

See Search/Advanced.
I solved this rather neatly, I think. It is quite open-ended
so I welcome additional filters that you might suggest.
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

Oooh that's a nice tool! Very useful indeed and versatile.
You should put an hourglass mouseicon while it's building the list.

Maybe you could add an option: "search by ID".
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

CSBuild194 does these things. I already used the 'search ID'
feature myself while debugging your crash!
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

CSBuild194 is the version released on april 26. I don't see how to search by ID.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

Well, I knew there was some confusion about version
numbers when I uploaded it. I don't know exactly
how it all happened. CSBuild195 seems OK.

I have updated CSBwin to do a better job with long
&SAY strings. You also anted to be able to put
newline characters into the text. Could we not do this
by putting in multiple text records? And modify &SAY to
print ALL the text records at a location?
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

That would multiply the number of texts by 4 if you need the 4 lines, and you need something like 5 clicks to set a text.
I currently need to put something like 50 4-lines texts...
I can do it by hand anyway, as I did with hundreds of other repetitive tasks, but this "newline characters need" regularly appeared in my designing habbits.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

Ouch....that is a lot of work. I will add a newline sequence.
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

CSBwin98v52test will recognize the linefeed characters
placed by CSBuild using the '/' character. The comment
in the text editing dialog in CSBuild is still wrong but it
works in spite of the comment to the contrary.

It turned out to be rather simple to do. A little bit
cludgey but functional, I think. Let me know if there
are problems and I will go back and do it right.

Doors at position F1R1 don't work......don't get too excited.
Any other things that don't work should be reported.
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

It works when stepping on the text, but not with &SAY!
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

In the search menu, there's an option about searching portraits: it doesn't work currently, but it would be nice if it allowed to search for external references (ie: portrait 153).
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

search for external references
I have attempted to implement this in the "Search/Advanced"
in version 1.96. Just now posted.
User avatar
Zyx
DSA Master
Posts: 2592
Joined: Mon Jun 05, 2000 1:53 pm
Location: in the mind
Contact:

Post by Zyx »

Yes, very useful thank you. Could you add an hourglass icon when the button is hit?
Also, you could remove the searh portrait option in the menu, or is it for something else?
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

remove the searh portrait option
That was for something entirely different. It may
be nice to have someday. It makes sure that
files exist for all the custom portraits in the dungeon.
(Now it would look into the CSBgraphics.dat).
Post Reply

Return to “Chaos Strikes Back for Windows & Linux (CSBWin) / CSBuild”