The "Ray being killed" scenario could happen any number of places. The "rats" could kill Ray, just as well as Zuben, the explosion at Dermo Design,the explosion underground, the explosion in the kipple, and (yes) Bullet Bob. OR you could go to jail for killing a "human".

There are other "kill" possibilities. I can't recall them all. But, "endings" are based on completing the game without the resulting death of your character.

The "permutations" are as follow. But, basically the ends are similar...it's what evolves "after word" that makes the outcome differ. You'll see what I mean by reading of the following.

Ending One: Ray escapes with Lucy or Dektora.

> Ray escapes in ground car with Lucy, who is human
> Ray escapes in ground car with Lucy, who is a Replicant. He has obtained the DNA sequencing data and therefore has a chance of saving Replicants from their four-year life span limit.
> Ray escapes in ground car with Dektora, who is a Replicant. He has no DNA data and therefore can not reconstruct her DNA to shit-off the four year limit. They don't know how long they'll have, but they are together, and free.
> Ray escapes in ground car with Dektora, who is a Replicant. He has obtained the DNA sequencing...

Ending Two:

> Clovis is dead on the moonbus floor. Next to him is Gaff's origami.

Ending Three:

> Ray is unable to save Dektora from Crystal and escapes alone in ground car.
> Ray is unable to save Lucy from Crystal and escapes alone in ground car.

Ending Four

> Ray escapes in the moonbus with Clovis and Lucy
> Ray escapes in the moonbus with Clovis and Dektora.
> Ray escapes in the moonbus with only Clovis.

+ray on the moonbus with multiple variations depending which character is replicant and which survived...its always ray clovis lucy or dektora if i remember correctly sadic and then it variates on izo zuben and gordo;p

just seen the designers interview...47 variations lol...theres yr answer