Frictional Games Forum (read-only)

Full Version: Will there be a database for all functions in the game (Like Amnesia)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Woo!

[Image: ?u=http%3A%2F%2Fmedia2.giphy.com%2Fmedia...00.gif&f=1]

And, yes I'm sure I'll stumble upon some things I would've fixed myself if I could. I suppose I could just gather a list . Most are probably just going to be typos or oddly structured sentences, something I normally wouldn't bother with if it's just a single case, but perhaps if I find 103 of them I could give a note.
I opened hps.xml in the root folder of SOMA and I believe I have found all of the premade functions that we can use. I still don't know how to lay it out, because I don't want to look at scripts till I have finished the game, but that area is a good place to start to get an idea of the new structures and conventions the functions follow.
hps.xml is if you use notepad++ I belive, but better is to use codelite or another ide and use the hps.api instead + the script folder in your project. check the wiki on how to setup codelite
(09-24-2015, 05:38 PM)jens Wrote: [ -> ]hps.xml is if you use notepad++ I belive, but better is to use codelite or another ide and use the hps.api instead + the script folder in your project. check the wiki on how to setup codelite

I have grabbed CodeLite and will definitely try it out. I merely came across the hps.xml file by accident and actually is laid out pretty nicely to see how certain naming conventions are used and what not. Smile
I'd very like to ask what is "User Classes" ?
Are we able to write something in C++ or did i got it wrong?
For the record, the Codelite tutorial on the Wiki seems to be outdated. The very first step can't actually be accomplished because they changed stuff around, making the rest of the process impossible.
(09-29-2015, 05:00 PM)DamnNoHtml Wrote: [ -> ]For the record, the Codelite tutorial on the Wiki seems to be outdated. The very first step can't actually be accomplished because they changed stuff around, making the rest of the process impossible.

For moment I thought I was crazy Big Grin.
Updated it to be correct, only the option in the settings that had changed name.
(09-29-2015, 09:55 PM)jens Wrote: [ -> ]Updated it to be correct, only the option in the settings that had changed name.

Not this only has changed Smile
1. This suggestion "If no color coding, it can be forced in View→View As: C++" is not valid anymore, as there's no such element in View.
2. "ctrl-left-click on #include, variables, functions etc will open/move cursor to their location." seems, doesn't match reality, by default this action will taken by clicking alt+left mb. This can be changed under Global Editor Preferences -> Tweaks -> Code navigation key.

Got it work finally somehow.
Code completion is working, but the code coloring is partial/tearing. Well, glad it at least working :3
Pages: 1 2