-
July 21st, 2010, 04:03 PM
#1
How are things like script hook developed?
Hello
I just wanted to ask a question about C++ script hook witch is for GTA IV i was just wondering what tools or what functions are used to create a program like that?
-
July 22nd, 2010, 11:12 AM
#2
Re: How are things like script hook developed?
You need a script language handler. You can write your own or use ready made ones. A fairly popular one is Lua. But there's other ones as well.
To have the script language interact with your own program, you will need to provide it with 'hooks' and entrypoints into your own framework. How this works and how far you can go depends on what script handler you're using.
In a basic form, it's aking to providing COM interfacing to your own program, but instead of COM objects, the users make scripts. The interfacing technology used is similar though.
-
July 22nd, 2010, 11:27 AM
#3
Re: How are things like script hook developed?
Were would you start on makeing hooks and entry point to a program could you give me a link to a guide or something please
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|