Frictional Games Forum (read-only)

Full Version: From Noob to Pro: Amnesia Custom Story Creation Series
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
Very nice tutorials!
thx, it helped alot :3
Wonderful tutorials and great information.

While off subject a tad, where does all your wonderful music come from?
(12-01-2011, 12:14 AM)Lord Wadsworth Wrote: [ -> ]While off subject a tad, where does all your wonderful music come from?

http://www.solesignalmusic.com/
http://machinimasound.com/
(12-01-2011, 12:46 AM)Your Computer Wrote: [ -> ]
(12-01-2011, 12:14 AM)Lord Wadsworth Wrote: [ -> ]While off subject a tad, where does all your wonderful music come from?



http://www.solesignalmusic.com/

http://machinimasound.com/
Thanks very much, great stuff. Great music for great tutorials.

This will be my very first tutorials for amnesia custom creations...
First impression is incredible. hope this helps me a long way!

(Video series was hard to find on youtube. found it on the forums. seems legit n' awesome)
Never read or looked at a tutorial, just jumped right in and understood most of the map editor. I guess it helps that I know somewhat of Unreal Ed.

Donno if it helps, but read up on some tutorials for Unreal Ed.
Is it weird that I took notes on your "basic scripting" tutorial?

And I kinda got lost a bit when you were explaining the "for" loop... I'm not sure what symbols like: ?, ::, ++, and . represent. They weren't really explained. Is there somewhere that explains simple things like such?
(01-18-2012, 02:58 AM)Statyk Wrote: [ -> ]And I kinda got lost a bit when you were explaining the "for" loop... I'm not sure what symbols like: ?, ::, ++, and . represent. They weren't really explained. Is there somewhere that explains simple things like such?

I was hoping the person watching would catch on to the keywords and do independent research. Researching PHP or C++ would provide you with practical information that you can take into AngelScript. Here's a quick run-through.

Ternary operator:
PHP Code:
(condition) ? if_condition_is_true_value if_condition_is_false_value ;

// Example:
int x = (true) ? 1;
// x is now 0
= (false) ? 1;
// x is now 1 

Increment operator:
PHP Code:
int i 0;
++
i// i is now 1

int x i++;
// x is now 1
// i is now 2

= ++i;
// x is now 3
// i is now 3 


For (loop) statement:
PHP Code:
/**
 *   First expression can be any kind of expression,
 *     but it is practically used for variable declarations.
 *
 *   Second expression is used to check if the loop should continue,
 *     therefore an expression that would return true or false is required.
 *
 *   Third expression can be any kind of expression,
 *     but it is practically used for incrementing.
 */
for (first expression second expression third expression)
// note each expression is delimited by a semi-colon
{
    
// for statement body
    // Gets executed if second expression evaluates to true

(01-18-2012, 03:33 PM)Your Computer Wrote: [ -> ]
(01-18-2012, 02:58 AM)Statyk Wrote: [ -> ]And I kinda got lost a bit when you were explaining the "for" loop... I'm not sure what symbols like: ?, ::, ++, and . represent. They weren't really explained. Is there somewhere that explains simple things like such?

I was hoping the person watching would catch on to the keywords and do independent research. Researching PHP or C++ would provide you with practical information that you can take into AngelScript. Here's a quick run-through.

Ternary operator:
PHP Code:
(condition) ? if_condition_is_true_value if_condition_is_false_value ;

// Example:
int x = (true) ? 1;
// x is now 0
= (false) ? 1;
// x is now 1 

Increment operator:
PHP Code:
int i 0;
++
i// i is now 1

int x i++;
// x is now 1
// i is now 2

= ++i;
// x is now 3
// i is now 3 


For (loop) statement:
PHP Code:
/**
 *   First expression can be any kind of expression,
 *     but it is practically used for variable declarations.
 *
 *   Second expression is used to check if the loop should continue,
 *     therefore an expression that would return true or false is required.
 *
 *   Third expression can be any kind of expression,
 *     but it is practically used for incrementing.
 */
for (first expression second expression third expression)
// note each expression is delimited by a semi-colon
{
    
// for statement body
    // Gets executed if second expression evaluates to true

I apologize for asking... I really do like to learn on my own and study other scripts and such... I understand SOME, but things such as the symbols were confusing me. I do appreciate you taking time to help, I know it must be frustrating having people ask stupid questions like that...

If it helps to know, I DID do some research in my digital imaging class (whoops) and lead myself to the original angelscript website, but I could only understand so much..

Anyway, Thank you, I'll try to experiment and compare other scripts, such as Palistov's, as doing so has lead me to what I know so far.
Pages: 1 2 3 4 5 6