HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 In game time?

View previous topic View next topic Go down 
AuthorMessage
Dead Stars

avatar

Game username : DyingStar
Server : Dragon heart and Dragon heart 2 (being made)
Female Posts : 292
Join date : 2013-01-30
Age : 19
Location : Knoxville, TN

PostSubject: In game time?   Thu Oct 31, 2013 12:25 am

Like in minecraft, the game time is 0 to 16000. Is this the same for IT?

I want to make a mod for eyes with dilating pupils at night. and need to know how fast I need to make the transition for the pupils dilating.

It's basically a GIF texture, the old texture gets updated with the new texture every so-and-so game minutes.

and so then at midnight the pupils will be fully dilated!

so how many seconds is a tick in the game?
Back to top Go down
Worthis
Coder
Coder
avatar

Game username : Worthis
Server : Impressive Space
Male Posts : 157
Join date : 2012-09-29
Age : 28
Location : Russian Federation

PostSubject: Re: In game time?   Thu Oct 31, 2013 3:54 am

if your DAYSPEED = 1.0
1 game day = 2400 sec
1 hour = 100 sec
it can be changed in the sources - GameConfig.h
#define DAYSPEED 1.0 // <- your number here
Back to top Go down
http://cl001.dc.stnetix.com
Dead Account

avatar

Male Posts : 531
Join date : 2013-06-17

PostSubject: Re: In game time?   Thu Oct 31, 2013 4:56 am

Worthis wrote:
if your DAYSPEED  = 1.0
1 game day = 2400 sec
1 hour = 100 sec
it can be changed in the sources - GameConfig.h
#define DAYSPEED  1.0 // <- your number here

Woah, your a boss. Nice job, Worthis. I'm sure this will help us very much C:
Back to top Go down
Dead Stars

avatar

Game username : DyingStar
Server : Dragon heart and Dragon heart 2 (being made)
Female Posts : 292
Join date : 2013-01-30
Age : 19
Location : Knoxville, TN

PostSubject: Re: In game time?   Thu Oct 31, 2013 8:24 pm

Then should I set the rate of dilation to 0.0001 according to the number of digits the game time has?
Back to top Go down
Worthis
Coder
Coder
avatar

Game username : Worthis
Server : Impressive Space
Male Posts : 157
Join date : 2012-09-29
Age : 28
Location : Russian Federation

PostSubject: Re: In game time?   Fri Nov 01, 2013 6:45 am

Star of Tyredon, how do you synchronize the current game time and the frame of your texture?
Back to top Go down
http://cl001.dc.stnetix.com
Komaeda Nagito
Very Helpful
Very Helpful
avatar

Server : IE
Male Posts : 1320
Join date : 2011-12-25
Age : 25
Location : KY

PostSubject: Re: In game time?   Fri Nov 01, 2013 3:04 pm

Worthis wrote:
Star of Tyredon, how do you synchronize the current game time and the frame of your texture?
Their is a material script that allowes timed texture changes this one is set to change every 1 second

material helmetMat2
{
technique
{
pass
{
emissive 1.0 1.0 1.0
specular 1.0 1.0 1.0 128
cull_hardware none
cull_software none
texture_unit
{
anim_texture Helm2Tex1.jpg Helm2Tex2.jpg Helm2Tex3.jpg Helm2Tex4.jpg Helm2Tex5.jpg Helm2Tex6.jpg 1<---1 second
env_map spherical
}
}
}
}

I beleive star was going to try and use that somehow though I may be wrong.
Back to top Go down
Worthis
Coder
Coder
avatar

Game username : Worthis
Server : Impressive Space
Male Posts : 157
Join date : 2012-09-29
Age : 28
Location : Russian Federation

PostSubject: Re: In game time?   Fri Nov 01, 2013 3:36 pm

Komaeda Nagito(Nowe) I mean, when you login, the game time may be 1200, 2140, etc. Animated material starts always from first texture frame, so you need to synchronize them (for example, by using the texture fragment program or manual material manipulation from the sources).
Back to top Go down
http://cl001.dc.stnetix.com
Komaeda Nagito
Very Helpful
Very Helpful
avatar

Server : IE
Male Posts : 1320
Join date : 2011-12-25
Age : 25
Location : KY

PostSubject: Re: In game time?   Fri Nov 01, 2013 3:46 pm

Worthis wrote:
Komaeda Nagito(Nowe) I mean, when you login, the game time may be 1200, 2140, etc. Animated material starts always from first texture frame, so you need to synchronize them (for example, by using the texture fragment program or manual material manipulation from the sources).

Ohh alright
Back to top Go down
Dead Stars

avatar

Game username : DyingStar
Server : Dragon heart and Dragon heart 2 (being made)
Female Posts : 292
Join date : 2013-01-30
Age : 19
Location : Knoxville, TN

PostSubject: Re: In game time?   Tue Nov 05, 2013 10:17 pm

I know that, Maybe I always start the game at noon in the code?
Back to top Go down
Sponsored content




PostSubject: Re: In game time?   

Back to top Go down
 
In game time?
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: