How to change 'you see' in 'Oscar sees': a 3d person game.

Wouter Drucker
30 Jun 2013, 16:03
Changing 'you see' in 'Oscar sees'. How do I create a third person adventure?

HegemonKhan
30 Jun 2013, 18:26
I think you can just write that ("Oscar") in for the prefix option for your Game Player Object, otherwise, you can change the default core coding too. I'm not too sure though, as I haven't really looked at nor explored working with prefixes, articles, and etc. stuff.

Liam315
30 Jun 2013, 20:36
Go to the options tab of the Player object and you can change the alias to "Oscar", the gender to "he", and the article to "him".

The harder part is that second person perspective is hard-coded into the default templates and as far as I know, you'll have to go through each one and change them individually.

On the bottom left of the screen is a button labelled "filter." Select it and click on "Show Library Elements."

Then in object tree go to "advanced" and expand the "Template" and "Dynamic Template" options. You will have to go through every entry, click on the "copy" button in the yellow ribbon at the top of the screen, and edit the text from first/second person to what you want it to say.

It's not as simple as using a Find and Replace style trick, because a) there may be occasions where you want "you" and "I" to be in the text, and b) because the whole form of the sentence changes.
e.g. The dynamic template TakeSuccessful which prints when you pick something up, would go from
"You pick " + object.article + " up."
to
"Oscar picks " + object.article + " up."

There are probably about 200 templates you'll have to go through but not all of them relate to perspective so there's less to do than there may first appear to be.

Wouter Drucker
30 Jun 2013, 21:20
Tnx! :D

There is no 'filters button' in the lower corner for me. That's because I have the Chrome version right?

Liam315
30 Jun 2013, 22:41
If you are using the online version rather than the desktop version then I don't think you'll be able to edit the templates in a simple way to accomplish the switch to a 3rd person game.

The Pixie
02 Jul 2013, 06:56
I just changed four templates when I did it. I figured that "You cannot do that", etc. is a message to the player, so kept that in the second person. Try adding this to the code (can you do code view with the online editor?). It needs to go after the library calls, so I think about line 4.

  <dynamictemplate name="TakeSuccessful"><![CDATA["Oscar picks up the " + object.alias + " ."]]></dynamictemplate>
<dynamictemplate name="DropSuccessful"><![CDATA["Oscar puts down the " + object.alias + " ."]]></dynamictemplate>
<dynamictemplate name="OpenSuccessful"><![CDATA["Oscar opens the " + object.alias + "."]]></dynamictemplate>
<dynamictemplate name="CloseSuccessful"><![CDATA["Oscar closes the " + object.alias + "."]]></dynamictemplate>