ViewFilter.rar further examples not 100% working

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.
Post Reply
User avatar
zoom
Grand Master
Posts: 1819
Joined: Tue Sep 23, 2003 1:27 am
Location: far away but close enough

ViewFilter.rar further examples not 100% working

Post by zoom »

ok, it is an old example but I found:
if you kill the char 2 with the switch you can do that often.

if you use eyeswitch "move cursor to char 1 head"
object vanishes when something is already worn on head by char 1

if you then press eyeswitch "move char 1 head to cursor" it
gives you the item you lost before and the thing gets broken.

Well, I am not able to correct it so I post it here without solution.
Is this problematic in some way or does it not matter to anyone?
I also would like to know how to add the special phrases to only
a hand picked number of items, like the apple(on level 2) is special,
no other apples are etc. (you can set conditions to display
phrases and set some items to have special phrases but I do
not grasp that quite fully)..if you don't keep dealing constantly
with this stuff your chances of creating something is slim :roll:
perhaps someone is willing to go through these 2 DSA's step by
step(old/new) whilst maybe correcting the error?
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

You can check before moving to see if there is something on the party's head - use the 'F' command to see it there is an item. If there is no item, a -1 is returned. Use the 'jump' command to interrupt the eye switch mechanic if there is an item on the party member's head

There are two ways to create a special phrase for only one item. a) hard code the ID number of the item into the DSA description, and only view that text if the item ID matches the item.

b) use a property like 'cursed' 'broken' or a 'charge' number for that unique item that no other item uses.

eg an apple does not use the charge number. Therefore, an apple with a charge number of 1 is unique - have the view filter check the apple for charges, and if it is charged, you use the unique text
User avatar
zoom
Grand Master
Posts: 1819
Joined: Tue Sep 23, 2003 1:27 am
Location: far away but close enough

Post by zoom »

ah thanks beo! good tip with the charges..
It is really amazing how much you know about
DSAs, RTC relays and dungeons in general ;)
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

I have dabbled in the past you know :D
Post Reply

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