CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    159

    Post 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?

  2. #2
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    3,114

    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.

  3. #3
    Join Date
    Apr 2010
    Posts
    159

    Talking 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

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts



HTML5 Development Center

Click Here to Expand Forum to Full Width