Warcraft III resources & community, 2003–2006 · archived

Time System V1.1

not rated
Submitted by DeantwoSystems415 downloads368 KB
Screenshot
Screenshot
a easy system that keeps track of the date in game. ^^
File Name
TimeSystemV1.1.w3x
Author
Deantwo
Download

Comments

12
what do you mean? :? is it meant as a joke?
ah this is a waste of time :D :) :( :o :lol: 8) :? :shock: :x :P :oops: :cry: :wink: :roll: :twisted: :evil: :!: :?: :idea: :arrow:
Known Bugs:
V1.0
- the Mulitboard's word month is too long... but i don't know how to fix it... -_-
You can fix that by makeing the multiboard 5 columns wide and have 1 space between day and month, and month and year. (That is, if you havent fixed that yet.)
well... i haven't fixed it... i didn't want to make it too long... :(
Known Bugs:
V1.0
- the Mulitboard's word month is too long... but i don't know how to fix it... -_-


You can fix that by makeing the multiboard 5 columns wide and have 1 space between day and month, and month and year. (That is, if you havent fixed that yet.)
just uploaded and update :D
i made a guide on how to add it to other maps :)
and yeah... read here under :P

Known Bugs:
V1.0
- the Mulitboard's word month is too long... but i don't know how to fix it... -_-
- all months are 30 days long... i am lazy... and need a easy way to fix it ^^;
V1.1
- Fixed so each month have differnt number of days ^^ (thanks to "Koko90")
- Fixed/Added some random tips and help info :- )
@ AmadiTheGreat

yeah i think that too :) i am making a map about something like that :o but i need models... (Link) :( (and i am not a that good map-maker... :oops: )

---------------
@ Alvatar

that's just mean :cry:
don't make fun of me :cry:
it's my first spell upload :cry:
and i'll fix it later :cry:
Multiplayer internet maps where you play with your friends and save/load the map into you computer and continue from where you left are amazing, this system will be put into good use there i quess.
all months are 30 days long... i am lazy


I just wasnt so lazy;)

http://www.wc3sear.ch/?p=Spells&ID=1588
thanks :) i downloaded a spell doing something the same way but i haven't seen the need to look in to it yet :roll:

i'll update this tomorrow maybe :)

but... what do you think my system could be used for :o cause the only thing i see it can be used for is... really long single-pleyer RP maps where you have to play for hour or even days to finish :o but i don't think people are in to that kind of maps :?
- all months are 30 days long... i am lazy... and need a easy way to fix it ^^;


Edit:Only 1 extra variable need:

M=Integer Array

Starting Year and Day and Set Months
    Events
        Map initialization
    Conditions
    Actions
        -------- year month day time --------
        Set year = (Random integer number between 150 and 160)
        Set month = 4
        Set day = (Random integer number between 1 and 29)
        Game - Set the time of day to 6.00
        Set M[1] = 31
        Set M[2] = 28
        Set M[3] = 31
        Set M[4] = 30
        Set M[5] = 31
        Set M[6] = 30
        Set M[7] = 31
        Set M[8] = 31
        Set M[9] = 30
        Set M[10] = 31
        Set M[11] = 30
        Set M[12] = 31

Days Months Years
    Events
        Game - The in-game time of day becomes Greater than or equal to 23.99
    Conditions
    Actions
        Set day = (day + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                day Greater than or equal to (M[month] + 1)
            Then - Actions
                Set day = 1
                Set month = (month + 1)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        month Greater than or equal to (12 + 1)
                    Then - Actions
                        Set month = 1
                        Set year = (year + 1)
                        Game - Display to (All players) the text: ((day:  + (String(day))) + (( - month:  + (String(month))) + ( - year:  + (String(year)))))
                    Else - Actions
                        Game - Display to (All players) the text: ((day:  + (String(day))) + ( - month:  + (String(month))))
            Else - Actions
                Game - Display to (All players) the text: (day:  + (String(day)))
        -------- update Mulitboard --------
        Multiboard - Set the text for TimeOfYear item in column 1, row 2 to (String(day))
        Multiboard - Set the text for TimeOfYear item in column 2, row 2 to (String(month))
        Multiboard - Set the text for TimeOfYear item in column 3, row 2 to (String(year))
Where you write the name and such in the loading screen you also write info :P
? :? how do i make "Spell Info" :oops: well... this is my first uploaded... so i guess i can do it wrong the first time :roll:

well... i just made this cause i was bored... it's a easy system that keeps track of the date in game :)

it isn't really usefull in any way... maybe long games... really really long games... i don't know...

Known Bugs:
V1.0
- the Mulitboard's word "month" is too long... but i don't know how to fix it... -_-
- all months are 30 days long... i am lazy... and need a easy way to fix it ^^;