LucasForums (
-   JA Coding (
-   -   code/scripting question (

jedispy 11-13-2006 09:12 PM

code/scripting question
Hey guys, this is more of a scripting question rather than a programming question (I say that because I know the difference between the two). If this is not the correct forum, please redirect me.

Is there a difference between writing scripts for the JA single player engine vs. multiplayer engine? I ask because I have some scripting that I'm writing, and I want it to be in the MP engine, but make sure it works.

Any help is greatly appreciated.

Tinny 11-14-2006 01:43 AM

Not sure, best thing is to experiment and do trial and error runs on both :(.

razorace 11-14-2006 02:53 AM

The short answer is that it's basically the same except for large portions of it that hasn't been implimented work in MP. OJP has done a lot of work to make more of the scripting work but it's not perfect yet.

jedispy 11-14-2006 11:54 PM

How well do cinematics work in MP?

Tinny 11-15-2006 12:58 AM

With ojp it works pretty well (especially the camera angles, fades and such) but the only problem that has to be overcome is that custom map specific glas don't work. So all the spiffy cinematic animations don't play :(.

ensiform 11-15-2006 02:09 PM

There may still be a way to make it work.

razorace 11-15-2006 03:54 PM

It would have to be a pretty fancy hack since the needed syscall to the game engine is missing in the MP engine.

Tinny 11-15-2006 05:07 PM

If all else fails, there's always merging all the gla files and releasing a huge mod. But every time someone made custom animations for their level, to support it'd it'd have to remerge with the main gla.

razorace 11-15-2006 07:07 PM

I was attempting that for a while, but I quit when I realized that the number of custom animations we're talking about outnumber the amount of number animations in the main.gla file. It kind of feels like a waste to force players to use that much memory overhead for animations that only function on individual maps.

jedispy 11-16-2006 12:40 AM

By custom animations, do you just mean user defined animations that are not originally included in JO/JA?

Tinny 11-16-2006 12:42 PM

No, the single player specific maps. Like there will be a humanoids_taspir1 glas I think.

razorace 11-16-2006 06:46 PM

Yeah, basically, JKA stores the cutscene animations as seperate files associated with the maps on which they're used. The extra files are only loaded if the particular map is run. However, this functionality is only in SP and doesn't appear to be replicatible in the MP engine.

All times are GMT -4. The time now is 05:06 PM.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.