Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Reaper

#21
Hints & Tips / Re: Charlie Foxtrot
Fri 20/07/2007 17:17:19
Spoiler

Just landed on the planet after the desert. I always get killed by the fur things. Regarding the log (scotty and chips) i can do something with the fries from the trash, but what?
[close]
#22
Quote
Quote
In Beta 5, when i make a new translation, language specific chars like äöüàŸ appear as a ? in the .trs file.
Hmm strange, I'll look into it. Is this a new problem with beta 5, or is it just the first time you've tried it with 2.8 ?

First time i've  tried it with 2.8
in 2.72 the same translation file is ok
#23
In Beta 5, when i make a new translation, language specific chars like äöüàŸ appear as a ? in the .trs file.
#24
Quote
What is the exact error message?

undefined symbol 'ETHERIALNPC'

(for all lines with ETHERIALNPC)

Quote
It can be easily simulated with your own variable, but if people find it useful I could add it back?

I like to have it back.
#25
Quote
Quote
- sometimes charakter[Charaktername].dosomething was not converted to cCaraktername. When compiled i got an error for this. I could corrrect this by hand.
Hmm this should work, could you give an example of where it failed?

(Mostly) all charakters except the player:
charakter.doSomething

For only one charakter i get an error:
Code: ags

function room_a() {
if (character[ETHERIALNPC].Moving != 1) {
  character[ETHERIALNPC].Walk(90, 150);
  character[ETHERIALNPC].AddWaypoint(100, 180);
  character[ETHERIALNPC].AddWaypoint(70, 220);
  character[ETHERIALNPC].AddWaypoint(250, 200);
  character[ETHERIALNPC].AddWaypoint(140, 180);
}  
}


ETHERIALNPC is the scriptname

For the the player charakter i get:

cEgo, character[0] or player depending on the function
cEgo with Walk
character[0] with FaceLocation
player with inventory functions or ChangeRoom
(all this functions were inserted through the interaction editor)


when give score at first time is used
*** TODO: Should only do this on first execution
is added, but it there is no comment(//) before this, so you get an error when compiling

One Question: Where is the setting for max possible score in 2.8? I can't find it in General Settings and @TOTALSCORE@ is 0 in the game
#26
I tried the beta version with my adventure and the conversion worked almost fine.

I had 2 issues so far.

- sometimes charakter[Charaktername].dosomething was not converted to cCaraktername. When compiled i got an error for this. I could corrrect this by hand.

- goto-dialog dDialogname was not working. I had to use the index e.g. goto-dialog 3
#27
*Kick me I'm stupid*

Problem solved
#28
I made a Textlabel in a GUI that follows the Cursor.
gLblhotspot is the name of the GUI.
lblHotspot ist the name of the textlabel.

Code: ags

function repeatedly_execute() {
  gLblhotspot.SetPosition(mouse.x, mouse.y);
  lblHotspot.Text = Game.GetLocationName(mouse.x, mouse.y);
}


This works, but at the end of the text, an underscore is always displayed.

e.g: tree_ (when cursor is over a tree)

I use imported fonts, but the problem also occurs with the standard fonts. In other text (textwindow, dialogs) the underscore does not appear.
SMF spam blocked by CleanTalk