Results 1 to 6 of 6

Thread: LIBCOD: q3dirtravfix & forcing allow downloading

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Jun 2013
    Posts
    70
    Thanks
    20
    Thanked 32 Times in 26 Posts
    hi i dont believe there is a real documetation except some older functions in https://znation.nl/cod4script/.i can show u how i get stuff working
    for the list of all functions u have to look in this file https://github.com/voron00/libcod/blob/master/gsc.cpp everything under compile are the functions and if u wanna get a idea of how to use it u look at the compile name e.g. "renameclient" its under player ,if u look in the https://github.com/voron00/libcod/bl...gsc_player.cpp file there is the function renamclient and it wants a name "char *name;" so the function is called player renameclient(newname);.another example with setvelocity its also in the player.cpp file and it wnats a vector" vec3_t velocity;" so the function looks like this "player setvelocity((x,x,x));"

    if there is nothing like this its mostly a get function which work like this varable = player/entity getfunction(); "vel = player getvelocity()"
    i hope it helps u a little bit

  2. The Following User Says Thank You to vanfreddy For This Useful Post:

    kung foo man (18th October 2018)

Tags for this Thread

Posting Permissions

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