TASClient Single Player mode, Missions and Campaigns WIP - Page 2

TASClient Single Player mode, Missions and Campaigns WIP

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by LordMatt »

But Satirik didn't actually write that. Does aegis have a window into the mind of AF? :shock:
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by aegis »

Image
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by AF »

uberbot has become so advanced it is predicting satiriks responses before he makes them
User avatar
Iz3
Posts: 37
Joined: 12 Jan 2007, 01:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Iz3 »

Hmm, my TASClient auto update done. Single Player button !?
Whaaa, it looks nice. :mrgreen:

Is it possible to port GullyOnslaught mission for NOTA with the mutator ?
It would be a good start for mission makers using missionhelper.lua.
Btw, we need a good mission builder. >.>
Attachments
GullyOnslaught.lua
Thor rocks.
(139.78 KiB) Downloaded 8 times
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Hoi »

it works good for me, but why am i called 'drantana'?
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Satirik »

because it's the name's hero of that mission !!! ;) the mission include the script.Txt as braindamage suggested so modders control everythings
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Satirik »

LordMatt wrote:But Satirik didn't actually write that. Does aegis have a window into the mind of AF? :shock:
i did say that ... if he can give one single good argument on why zip should be still used then i'll say yes ... but the "you can't extract or compress 7zip without third party tools" is not an argument, only modders would have to use 7zip and users don't have to worry so ...

edit: threats like "i will only tell other lobbies' dev the new features i'll add to uberserver" are not good argument either

edit 2:
Roflcopter wrote:
Satirik wrote:If some of you are interested in making different skin or updating the current one, just tell me and i'll add further information on available [data] and lobby commands.
I'm so interested. :P
for now it's not a good idea except if you want to touch the crappy html i did :) i'll try to add the maximum css stuff into css files so you can touch the main menu, change the colors in the main css and you won't have to change the html (because it has to work on both IE7 AND IE6 ... and ie6 is a really bad browser)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by AF »

Java has no native support for 7zip and I do not feel like having to mess with the lzma SDK when there's a widespread easy to use format supported already that's used pretty much everywhere and natively supported in almost all Operating systems released in the last 10 years.

I dont see why I should have to add libraries and learn APIs for a format when there's another format that's far more widespread, supported by all 3 lobby projects, and that can be used immediately with no additional dependencies.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Satirik »

DLL_EXPORT int __stdcall OpenArchive(const char* name);
DLL_EXPORT void __stdcall CloseArchive(int archive);
DLL_EXPORT int __stdcall FindFilesArchive(int archive, int cur, char* nameBuf, int* size);
DLL_EXPORT int __stdcall OpenArchiveFile(int archive, const char* name);
DLL_EXPORT int __stdcall ReadArchiveFile(int archive, int handle, void* buffer, int numBytes);
DLL_EXPORT void __stdcall CloseArchiveFile(int archive, int handle);
DLL_EXPORT int __stdcall SizeArchiveFile(int archive, int handle);
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by AF »

unitsync will actually load ssk files as archives and not ordinary files in the VFS?!? That I did not know...
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Satirik »

ssk files are tasclient's files why do you want to open them ?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by AF »

So you're saying that the ssk files are not needed to implement this functionality?
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Satirik »

ssk files are tasclient SP mode skins (they are actually more than skins since the html and javascript do the whole interface work)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by AF »

So if people are to support all 3 implementations they're going to have to support 3 different standards? Aka a front end for tasclient, a front end for battlehub, and a front end for spring lobby?

Wouldn't it be much better if they all worked off of a standardized format rather than 3 competing formats? Which was sort of my point before, only now it seems you have no intention of allowing your system to be used in other clients.

I see now when you meant discussion on improving it, you meant just content developers, you never had any intention of cooperating with other lobby developers.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Satirik »

you can use it if you want but don't ask me to change the webbrowser to something else than IE because i can't ... it's like asking me to make the delphi files crossplatform .... the ssk file is part of tasclient as the integrated tasclient skins ...

edit: discussion is about the MISSIONS and the CAMPAIGNS files and how to improve THEM ...

edit2: if you want the whole implementation of the tasclient skin system i can provide it, i tried to make it as opened as possible so skinner can do whatever they want, but it's IE only for tasclient
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by AF »

Any implementation I would do would involve either webkit or firefox gecko. I'm sure your html and css markup and javascript is portable enough to work under other browsers.

Either way by pushing ahead on your own without consulting anybody you've elected yourself as the sole maintainer of the front end format. It's our job to either implement it or devise a competing standard.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by AF »

Adding spring and unitsync as a dependency for front end and single player support would not exactly be an option for battlehub as battlehub is not intended to be dedicated for spring, and to assume that spring is always installed would be a spanner in the works for other game communities that may also wish to make use of this.

Thus relying on unitsync is not an option outside of spring specific code.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Masure »

In the other hand, by making your lobby "not Spring dedicated" YOU are making things harder. I think Spring is complex enough to avoid taking other game engines into account and forbid unitsync usage.

This is not the point here and shouldn't be considered to criticize tasclient SP mode. A lot of things have to be improved but not in this way.
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by quantum »

Iz3 wrote: Is it possible to port GullyOnslaught mission for NOTA with the mutator ?
Satirik's system doesn't use the old Lua startscript system. That is obsolete and, as far as I know, it may be removed. It uses LuaRules/LuaUI/LuaAI, etc. See the example mission for details.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: TASClient Single Player mode, Missions and Campaigns WIP

Post by Forboding Angel »

Masure wrote:In the other hand, by making your lobby "not Spring dedicated" YOU are making things harder. I think Spring is complex enough to avoid taking other game engines into account and forbid unitsync usage.

This is not the point here and shouldn't be considered to criticize tasclient SP mode. A lot of things have to be improved but not in this way.
It still fucks over springlobby, so I fail to see how your argument has any relevance.

Edit: I mean the way it was done without any other lobby collaboration.
Last edited by Forboding Angel on 26 Jun 2008, 20:59, edited 1 time in total.
Locked

Return to “Engine”