Clan TMMM
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The official site of Clan TMMM
 
HomeHomeSearchLatest imagesRegisterLog in


Latest topics
» Kevkevqaz is back
curiosity I_icon_minitimeby Eat_bacon_daily Wed Feb 22, 2023 7:22 pm

» Hey whats up
curiosity I_icon_minitimeby seankly Tue Feb 04, 2020 10:32 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
curiosity I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
curiosity I_icon_minitimeby Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
curiosity I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
curiosity I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
curiosity I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
curiosity I_vote_lcap26%curiosity I_vote_rcap
 26% [ 8 ]
Warcraft 3
curiosity I_vote_lcap35%curiosity I_vote_rcap
 35% [ 11 ]
League of Legends
curiosity I_vote_lcap19%curiosity I_vote_rcap
 19% [ 6 ]
World of Warcraft
curiosity I_vote_lcap0%curiosity I_vote_rcap
 0% [ 0 ]
Diablo 2
curiosity I_vote_lcap0%curiosity I_vote_rcap
 0% [ 0 ]
No games at all
curiosity I_vote_lcap10%curiosity I_vote_rcap
 10% [ 3 ]
Other game not listed
curiosity I_vote_lcap10%curiosity I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

 

 curiosity

Go down 
2 posters
AuthorMessage
Serenity09
Moderator
Moderator
Serenity09



curiosity Empty
PostSubject: curiosity   curiosity I_icon_minitimeSun Jun 09, 2013 2:10 pm

so i was playing a game (Fortress Survival) and at the end of it i typed -save and it put the code up on the screen as normal and then said something about saving the code directly into the warcraft directory. and sure enough when i looked

Code:
function PreloadFiles takes nothing returns nothing

   call Preload( "
            -load KWKO-AIGW

          " )
   call PreloadEnd( 0.0 )

endfunction

it had created its own directory titled "Fortress Codes" and then created a new .txt doc in that directory. does anyone know how this is possible? apparently in past versions it could also read text documents (thus the point of the function above)
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



curiosity Empty
PostSubject: Re: curiosity   curiosity I_icon_minitimeSun Jun 09, 2013 4:43 pm

http://www.hiveworkshop.com/forums/world-editor-help-zone-98/help-file-writing-using-warcraft-iii-230866/

The code in the 2nd post there is a basic demonstration of how to do it

Also im fairly certain that wasnt intended to be read automatically as you wouldnt need the -load part if you were using that file to read it from within the map
Seems more like something that is made so that you dont have to write down the code manually or take a screenshot and can just look in that folder for your codes to manually copy and paste them later
Back to top Go down
Serenity09
Moderator
Moderator
Serenity09



curiosity Empty
PostSubject: Re: curiosity   curiosity I_icon_minitimeThu Jun 13, 2013 11:12 am

thanks pat! this is cool. ill try playing around with it a bit today or tomorrow and see if i can figure out reading text files / scanning files in general

i think the inclusion of the -load was to make it work very easily with the current loading system without any additional work. of course you could just add the -load when reading it, but then its just a matter of where you add it
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



curiosity Empty
PostSubject: Re: curiosity   curiosity I_icon_minitimeThu Jun 13, 2013 1:12 pm

The system that loads it with -load would be triggered by the player typing a chat message where -load is what its looking for then it strips that off for the code, so having the automatic system use the same thing like that doesnt really make sense to me since you would have to strip it off there too
Back to top Go down
Serenity09
Moderator
Moderator
Serenity09



curiosity Empty
PostSubject: Re: curiosity   curiosity I_icon_minitimeThu Jun 13, 2013 1:17 pm

i could see this really easily actually. there were two creators for the game, 1 very good at coding 1 good at design. the coder left halfway through this project and im guessing the other one had to scrape something together
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



curiosity Empty
PostSubject: Re: curiosity   curiosity I_icon_minitimeThu Jun 13, 2013 7:11 pm

Yeah thats possible
Even then though i dont see a designer scraping something like that together, but maybe
Back to top Go down
Serenity09
Moderator
Moderator
Serenity09



curiosity Empty
PostSubject: Re: curiosity   curiosity I_icon_minitimeFri Jun 14, 2013 1:05 am

well, that was my last shot at an explanation
Back to top Go down
Sponsored content





curiosity Empty
PostSubject: Re: curiosity   curiosity I_icon_minitime

Back to top Go down
 
curiosity
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Warcraft 3 :: WC3 Tutorials and Help-
Jump to: