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

Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: NPC sync

  1. #1
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5

    NPC sync

    https://i.imgur.com/EOw34.jpg

    Spawning of NPCs / items via scripts. There is no AI yet (they just stand still), but general stuff like health / death / inventory / sex / age / appearance (everything which is synced for players too) is synced.

  2. #2

    R: NPC sync

    Recy, you always surprise me.
    Awesome work!

  3. #3
    Member Silentfood's Avatar
    Join Date
    Jun 2012
    Location
    somewhere in the back of a data centre
    Posts
    57
    Nice one!

  4. #4
    MARVELOUS! Really good work!
    Last edited by Smoria; 12-26-2012 at 12:50 AM.

  5. #5
    Wow, truly amazing work! I'm incredibly impressed with how far the project has come in such a short amount of time, great work Recy this looks honestly incredible

  6. #6
    Senior Member Volumed's Avatar
    Join Date
    Aug 2011
    Location
    Holland
    Posts
    1,010
    Blog Entries
    1
    A glorious victory!

  7. #7
    they look like zombies^^ hehe nice one

  8. #8

  9. #9

  10. #10
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    Code cpp:
    State VAULTSCRIPT OnPlayerChat(ID player, RawString message) noexcept
    {
    	if (!std::strcmp(message, "iamrich"))
    	{
    		static Base bottlecap = static_cast<Base>(0x0F);
     
    		for (unsigned short i = 0; i < USHRT_MAX; ++i)
    		{
    			Item::Create(bottlecap, player);
    			std::printf("%d\r", i + 1);
        		std::fflush(stdout);
    		}
    	}
     
    	return True;
    }

    Yes, it works. Fallout 3 framerate drops to like 0.5 FPS though

Posting Permissions

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