Scripts / where can i learn scripting for game-guru? how to write and how to apply to code?

Author
Message
stor
9
Years of Service
User Offline
Joined: 27th Feb 2015
Location:
Posted: 23rd Oct 2015 13:43
For beginners.
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 23rd Oct 2015 14:43
this is a good guide to start with
http://steamcommunity.com/sharedfiles/filedetails/?id=398177770
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
Inertia
9
Years of Service
User Offline
Joined: 12th Jul 2015
Location: SoCal, USA
Posted: 23rd Oct 2015 14:46
Hi stor, here's a good place to start:



Description: Ravey talks though Lua basics and how to start off with scripting by changing an existing script.



Description: Ravey talks through how to create your own lua script and walks through one of the existing multiplayer scripts.



Description: Ravey walks through the Solidier AI scripting, explaining how it fits together and highlighting interesting functions to call when making your own or changing existing scripts.



Description: Find out how to make your own teleporter with LUA and GameGuru.



Description: Learn how to use GameGuru and LUA to script a non-animating door to open and close for the player.



“C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.”
--Bjarne Stroustrup
PM
stor
9
Years of Service
User Offline
Joined: 27th Feb 2015
Location:
Posted: 23rd Oct 2015 15:01
Wow thanks
PM
stor
9
Years of Service
User Offline
Joined: 27th Feb 2015
Location:
Posted: 23rd Oct 2015 19:10
I learned a lot from http://steamcommunity.com/sharedfiles/filedetails/?id=398177770
I'm sure there are many more functions and commands, Where do I get the list of all functions of game guru?
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 23rd Oct 2015 19:38
just above in the sticky
https://forum.game-guru.com/thread/208970
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
stor
9
Years of Service
User Offline
Joined: 27th Feb 2015
Location:
Posted: 23rd Oct 2015 19:49
Thank you,
I saw it, but there's only the new functions there up to 1.009. I'm sure there are many old and new functions that can be used, or am I mistaken?
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 24th Oct 2015 00:44
nope that looks like all of them, you can look in global.lua for the complete list of usable functions and variables (minus the AI stuff), more stuff will get opened up in future but for now we just work with what we have.
note; some commands will cause unexpected side effects too (SetAmbianceIntensity() for example)
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 24th Oct 2015 01:44
Heres a great starting point as well ..

http://www.tutorialspoint.com/lua/index.htm

Hope it helps
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM

Login to post a reply

Server time is: 2024-12-22 07:33:49
Your offset time is: 2024-12-22 07:33:49