Results 1 to 3 of 3

Thread: A few questions re. the structure for the lua scripts. | Forums

  1. #1
    Hey all.

    Been diving pretty deep into the core structure of the game now (in lua that is).

    A few questions.

    The Game:RenderRadar() function, is that hard-coded? I would like to adjust how it renders but can't seem to find that object & function.

    If you wish to add new commands/binds. What is the structure for doing this?

    We sorely need a bit of documentation on how the fundamentals of the core structure works.

    Also, i've had a few problems making new entities. I can make the pickup, but i can't see the connection between say the PickupBinoculars.lua and the Binoculars.lua code. Ie. i can make new objects, but i can't make them actually do anything.

    Regards,
    HuBBa@SpecOps mod.

    http://www.special-operations.tk
    Reply With Quote Reply With Quote

  2. #2
    Hey all.

    Been diving pretty deep into the core structure of the game now (in lua that is).

    A few questions.

    The Game:RenderRadar() function, is that hard-coded? I would like to adjust how it renders but can't seem to find that object & function.

    If you wish to add new commands/binds. What is the structure for doing this?

    We sorely need a bit of documentation on how the fundamentals of the core structure works.

    Also, i've had a few problems making new entities. I can make the pickup, but i can't see the connection between say the PickupBinoculars.lua and the Binoculars.lua code. Ie. i can make new objects, but i can't make them actually do anything.

    Regards,
    HuBBa@SpecOps mod.

    http://www.special-operations.tk
    Reply With Quote Reply With Quote

  3. #3
    Wow.. bumped down to page 4 in just 1 day

    Anyway, still interested in knowing how to create new binds & link them to a script properly. Also how the model drawing works if you wish to be able to adjust view point for 3D iron sights and such.
    Reply With Quote Reply With Quote

Posting Permissions

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