![]() |
Hey, I was wondering if anyone could teach me how to use multiplayer terms in game NPC's such as horse races etc.
I have started making multiplayer games for Faheria but I am having real trouble. If anyone could help thst would be great. |
i need to know about that too, cuz i wanted to make a short race track int he under gound river of the Bomy Caverns
|
well I guess since faheria doesnt have a npc server why dont you use server strings?
thoose work pretty good. |
?
server string?
|
Server strings:
Any string set with the setstring command which begins with "server." When it is changed it changes for all the players on the server. So it is possible to use it for night/day or weather or CTF Games or whatever.
|
cool, i think im finally begining to undertand strings
|
Re: Server strings:
Quote:
timevar is a built-in variable incremented every 5 seconds by the server by 1 tick. On the Graal 2001 server, this gets calculated to 2 Graalian minutes... by my calculations this becomes: 30 ticks = 1 hour 720 ticks = 1 day 17280 ticks = 1 month 414720 ticks = 1 year Oh btw, be careful about division. When it gets to 1 month, you would be doing something like: int(17279/17280) which gets calculated to 1, since of floating point errors. And 17279 % 17280 becomes. -1. Yep, a remainder less than 0. |
Re: Re: Server strings:
Quote:
I've already made a working night/day using an offline timevar simulation ^^ |
Can someone help make the gifs er.... pngs for the time system??? And is timevar by 5 seconds or 5 minutes
|
Quote:
|
Quote:
|
Quote:
Imagine that number after a year =\ |
After a year timevar would have a value of:
6307200 Not that high actually... |
| All times are GMT +2. The time now is 09:25 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.