Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 08/30/07 14:08

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/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 08/31/07 05:08

geyser
Member
From: beyond the veil
Registered: 01/14/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 08/31/07 08:08

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/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 08/31/07 09:08

geyser
Member
From: beyond the veil
Registered: 01/14/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 09/01/07 10:09

Ultimatum479
Member
Registered: 08/29/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 09/01/07 23:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/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 (09/01/07 23:09)


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 09/02/07 11:09

Ultimatum479
Member
Registered: 08/29/07

Re: We did not kill griffin...

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


Work in progress...

Offline

#8 09/03/07 03:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/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 09/03/07 13:09

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

Re: We did not kill griffin...

lol, indeed...


droid803sig.jpg

Offline

#10 09/03/07 15:09

geyser
Member
From: beyond the veil
Registered: 01/14/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 (09/03/07 15:09)


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