This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 6 of 6

Thread: Geck/Server script linking

  1. #1

    Geck/Server script linking

    Not sure if this is possible yet but I'd like to see a way to make game mod files call scripts on the server. Let's say you hit E while pointing at a toolbox in the world. This would call Use(id) script where you could check for the given id (or type) and do whatever you want (search the box etc.)

    Same thing for dialogues (computer or an npc) wouldn't hurt either.

  2. #2
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    I've been thinking about this as well, but didn't come to a conclusion whether this is needed.

    If I understand you right, you are talking about ESP scripts calling into the server? Your example can be implemented by introducing a game event which will be sent to the server (just like other callbacks - i.e. OnPlayerUse(player, object)). This doesn't require a client-side script.

  3. #3
    Yeah a callback should work just fine but I still think there should be a way to add your own object types into the game? (btw I don't know anything about geck..)
    Then you could just check if the object used was the one you provided in geck.
    Last edited by zamp; 12-22-2012 at 04:04 PM.

  4. #4
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    I try to shift as much as possible to the server side as this is much easier to handle. Instead of adding / modifying stuff with a ESP mod (GECK), you should do the same with a script. There will be means to automatically read in data (like references) from installed ESPs on the server though, so you can reference newly added objects from the GECK inside of scripts (as long as they are not created dynamically - in this case, it must be completely replicated with a script instead of with a ESP mod)

  5. #5
    Ah I see. So you use the Geck to build the static world but add computers etc with scripts?

  6. #6
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    Well, for vaultmp I don't need the GECK at all (apart from some research). But basically, yes, that is the way the GECK should be used to create mods in conjunction with vaultmp. Computers are static objects though, which vaultmp can read and identify in full (not yet, but that is planned).

    You need scripts do dynamically add and change objects, like NPC or creature spawns.
    Last edited by foxtacles; 12-22-2012 at 06:00 PM.

Posting Permissions

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