Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 30/8/07 14:32

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/07

We did not kill griffin...

Has anyone else evel gone into the console, typed in K pressed tab (to complete the command) and pressed enter?

If they were to have made an Oni 2, maybe Griffen would have lived...


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#2 31/8/07 5:32

geyser
Member
From: beyond the veil
Registered: 14/1/07
Website

Re: We did not kill griffin...

Griffin doesn't have to die in Oni. Neither by your hand nor in the final battle.


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#3 31/8/07 8:52

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/07

Re: We did not kill griffin...

I know...what I was saying, is that if they had made Oni 2, the "canon" ending would have been Griffin living.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#4 31/8/07 9:44

geyser
Member
From: beyond the veil
Registered: 14/1/07
Website

Re: We did not kill griffin...

Why?


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#5 1/9/07 10:27

Ultimatum479
Member
Registered: 29/8/07

Re: We did not kill griffin...

You're saying that because the default killed_griffin variable is 0, the canon ending is for Griffin to survive? I don't follow that logic. tongue


Work in progress...

Offline

#6 1/9/07 23:45

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/07

Re: We did not kill griffin...

No! When you type it in, the console says

"We did not kill griffen"

Try it!

---

Wait a sec...I may have misinterpeted something here...

killed_griffen must be the variable referenced when you get to the last level that determines who you fight...

I had interpeted it as an easter egg...sorry...

Last edited by Gumby (1/9/07 23:53)


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#7 2/9/07 11:56

Ultimatum479
Member
Registered: 29/8/07

Re: We did not kill griffin...

Lawlz. Yeah, I think it is. No worries.


Work in progress...

Offline

#8 3/9/07 3:20

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/07

Re: We did not kill griffin...

Normally, variables don't have witty little text snippets going along with them...


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#9 3/9/07 13:17

Your_Mom
Member
From: Canada
Registered: 31/1/07
Website

Re: We did not kill griffin...

lol, indeed...


droid803sig.jpg

Offline

#10 3/9/07 15:21

geyser
Member
From: beyond the veil
Registered: 14/1/07
Website

Re: We did not kill griffin...

killed_griffen is not a variable. It's a function used to set whether we killed Griffin or not depending on what argument you give to that function.
If you enter killed_griffen true or killed_griffen 1 (or even killed_griffen 42), the internal boolean will be set to true (shown as bool: 1).
If you enter killed_griffen false or killed_griffen 0 (or just killed_griffen), the internal boolean will be set to false (shown as bool: 0).
In the first case the confirmation message will be we killed griffen. In the second case the confirmation message will be we did not kill griffen.
The reason it works as "false" without an argument is that BSL functions are often implemented with a default argument value of 0.

The actual boolean variable is in the part of RAM dumped into persist.dat (i.e., the information is saved between Oni sessions).
That variable is not directly accessible from scripts, though. If you want to know the value, you use bool did_kill_griffen(void).

Last edited by geyser (3/9/07 15:25)


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

Board footer

Powered by FluxBB