Request: text object addon (load from url)

Post your work in progress addons and get feedback

Post » Thu Jan 15, 2015 3:52 am

@rexrainbow

If u have the time, would u please build a addon for the text object, making it able to load text from url.
That way it is possible to do all kinds of simple server stuff in games by altering the .txt file retreived from the url thus altering the game.
Like:
Changing game variables when compare text = "anything".
Ingame news: set textobjectaddon to load from url (http://www.yoursite.com/txt/latestnews.txt)
etc

It basically gives the possibility to change game state relations for each player the same on different pc's
(This is not an attempt on multiplayer stuff)
But when .txt changed on url from server/webhost (which does not have to be checked by C2), all games automaticly change with it: on textobjectaddon-->load from url
It would be a matter of loading from url each x second or on game start or on action etc
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Thu Jan 15, 2015 5:18 am

You might get text by AJAX plugin, IMO.
B
110
S
28
G
279
Posts: 4,487
Reputation: 156,066

Post » Thu Jan 15, 2015 10:28 am

Thanx for the pointer.
Time to learn how to use the Ajax object.
B
59
S
21
G
14
Posts: 779
Reputation: 13,927


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests