Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » JA2:UB Source
JA2:UB Source[message #209134] Sat, 21 February 2009 11:46 Go to next message
Kermi

 
Messages:92
Registered:October 2002
Hallo!

Took me a while, but if this is the improper forum move it elsewhere, couldn't figure out a better one Smile..

Anyhow, the UB source is also available for download from: http://kermi.kapsi.fi/ja2/ubsource/
I think there are other sources as well, post them.

[Updated on: Sat, 07 November 2015 02:50] by Moderator

Re: JA2:UB Source[message #210818] Sun, 22 March 2009 17:14 Go to previous messageGo to next message
BirdFlu

 
Messages:451
Registered:September 2007
Location: Lampukistan
Has anyone tried to compile it (and succeeded)?

Re: JA2:UB Source[message #224467] Tue, 30 June 2009 22:30 Go to previous messageGo to next message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
Someone should pluck the character import feature (and externalize it) for use in the SMP. This would be very cool for multi mods.
Re: JA2:UB Source[message #224483] Wed, 01 July 2009 00:36 Go to previous messageGo to next message
Shanga

 
Messages:3536
Registered:January 2000
Location: Danubia
Don't we already have multi IMPs?!

PS: I see an empty /ja2 directory! Where's your stuff, Kermi?

[Updated on: Wed, 01 July 2009 00:36] by Moderator



Re: JA2:UB Source[message #224485] Wed, 01 July 2009 01:04 Go to previous messageGo to next message
Scheinworld

 
Messages:907
Registered:December 2007
Location: Baltic Sea, Germany
Hello Shanga,

Kermi's server address has been changed:

Kermi
i'm going to start moving my ja2 hosted files to new address. In sometime soon future, they'll be moving to http://kermi.kapsi.fi/ja2/ with the current directory structure staying identical otherwise.


UB Source:
http://kermi.kapsi.fi/ja2/ubsource/


Best regards; Schein...

[Updated on: Sat, 07 November 2015 02:49]



Re: JA2:UB Source[message #224488] Wed, 01 July 2009 01:27 Go to previous messageGo to next message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
@Shanga

Are you being funny? Character import is not multiple IMPs.
Re: JA2:UB Source[message #224499] Wed, 01 July 2009 02:27 Go to previous messageGo to next message
Shanga

 
Messages:3536
Registered:January 2000
Location: Danubia
Not being funny, just been 9 years since I last used that feature.

But thinking about your idea... indeed... would make a nice feature to use an old save (?) and import you "veteran" IMP in a new mod or something.

Heck with externalised mercs you could even take Ira for a ride in the new adventure... Maybe we can get "evolutionary mercs" as an option when starting a new mod based on SMP. Sir-teach always "pimped" the bios of the mercs from one game version to another, would be cool to have such feature automatically.

/EDIT: I took a peak at the code and it seems like the bulk of the job is done by launching the external utility

... bad new is that I don't think they released the source code for that one. Might be hard to replicate the process. But again, with all mercs externalised, we might get something even better...

/EVEN LATER EDIT: WRONG!! All the code is in Ja25Update.c and it doesn't only import your IMP, it updates ALL AIM and MERC mercenaries! Heck this is one that's going directly into SMP, I wonder how we missed it all these years (well the fact that we didn't know about UB source is a factor lol):

Here's a sample of the code, totally random:
//loop through and adjust their inventorires
	for( uiCnt=0; uiCntusOptionalGearCost = 0;
		/*
		Ja25:  No optional gear cost in the exp		
				//Calculate the mercs optional gear cost
				CalculateMercsOptionalGearCost( pProfile );
		*/

		//reassign the total kills & assists from ja2 to to a new variable
		pProfile->usTotalKills = pProfile->usKills;
		pProfile->usTotalAssists = pProfile->usAssists;

		//Reset specific variables
		pProfile->usKills = 0;
		pProfile->usAssists = 0;
		pProfile->usTimesWounded = 0;
		pProfile->usBattlesFought = 0;
		pProfile->usShotsHit = 0;
		pProfile->usShotsFired = 0;

		//Reset the exp level gains ( so players wont immediatgely level when importing )
		//might want to scale stats as a percentage of jha2 values ( so player is always 80%  close to leveling )
		pProfile->sLifeGain = 0;
		pProfile->sLeadershipGain = 0;
		pProfile->sStrengthGain = 0;
		pProfile->sExpLevelGain = 0;
		pProfile->sLifeGain = 0;
		pProfile->sAgilityGain = 0;
		pProfile->sDexterityGain = 0;
		pProfile->sWisdomGain = 0;
		pProfile->sMarksmanshipGain = 0;
		pProfile->sMedicalGain = 0;
		pProfile->sMechanicGain = 0;
		pProfile->sExplosivesGain = 0;

		if ( pProfile->bLife > 0 )
		{
			pProfile->bLife = pProfile->bLifeMax;
		}

		//if the merc is an AIM merc or MERC merc

[Updated on: Wed, 01 July 2009 02:46] by Moderator



Re: JA2:UB Source[message #224500] Wed, 01 July 2009 02:35 Go to previous messageGo to next message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
I was also thinking that if it could be fully externalized perhaps several files could progress with an ongoing mod series. At the very least it could be used to tie a series of mini mods into a truly epic mod. This could allow modders to create a huge mod that is ready to play in a few months or maybe a year then add to it ala game import.
Re: JA2:UB Source[message #224534] Wed, 01 July 2009 09:42 Go to previous messageGo to next message
Logisteric

 
Messages:3474
Registered:December 2008
Location: B
there was some kind of a bug - ionce endet up with all m*e*r*c-mercs gone to the fishes and about 8 a.i.m.-mercs still allive, but a crack imp. when i imported that game to ub i got a lot of zombies at both agencies Very Happy
Re: JA2:UB Source[message #224537] Wed, 01 July 2009 10:10 Go to previous messageGo to next message
Kaerar

 
Messages:2089
Registered:January 2003
Location: Australia :D
It doesn't transfer merc deaths to UB so you end up with the ability to select previously dead mercs!


Re: JA2:UB Source[message #224539] Wed, 01 July 2009 10:21 Go to previous messageGo to next message
Logisteric

 
Messages:3474
Registered:December 2008
Location: B
not all of them - 50% of them remained dead
Re: JA2:UB Source[message #224540] Wed, 01 July 2009 10:25 Go to previous messageGo to next message
Lexx

 
Messages:62
Registered:June 2009
Location: Germany
Maybe it's a save feature so that you don't start a game with a lot dead guys on the list? Never saw this anyway... I hate it when my guys die and always reload when something like this happens.

[Updated on: Wed, 01 July 2009 10:25] by Moderator

Re: JA2:UB Source[message #224574] Wed, 01 July 2009 14:30 Go to previous messageGo to next message
Shanga

 
Messages:3536
Registered:January 2000
Location: Danubia
I am sure the code was written with the left foot, but at least it's a good example how's done. Two things can be learned:

1. Data portability/import
Basically proves that merc data can be externalised (they did it thru a savegame, we can do it thru external files).

2. Savegame format
The code also gives a snippet of the savegame format, lacking of course map info, campaign progress and so on, but at least a partial view is there.


Re: JA2:UB Source[message #224599] Wed, 01 July 2009 15:29 Go to previous messageGo to next message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
Right. And some wise coder once told me the only limit to what you can do is how much work you are willing to put into it. Even nothing better than the standard UB import would open doors to modders especially if this import could carry on mod after mod. We could have episodic mods or even (shudder to think) mission based mods.

Externalize just a few aspects and you could have seamless import capability no matter how radically different one mod was to another. Imagine taking your Urban Chaos team from Danubia to the Caucasus or anywhere else a mod was set in.

Again, the primary focus should be on which version is best suited to build the SMP from. Then we should endeavor to add at least as many externalizations as are present in the standard 1.13. But along the way, if a coder decides to start tinkering with the import aspect it would be fairly easy to create a mini mod to test his work. We could some day realize some of the mod ideas that cannot work in a single setting and better yet provide players with their favorite mercs in an ongoing adventure.
Re: JA2:UB Source[message #224620] Wed, 01 July 2009 16:54 Go to previous messageGo to next message
Shanga

 
Messages:3536
Registered:January 2000
Location: Danubia
Yes, basically, beside any gfx updates you might or might not incorporate in your mod (a story can very well be told using a generic tileset made from all the mods ever published), the single most dynamic object in the game is the human factor. Since the days of JA1 we had followed basically the life and death of AIM mercs.

The import feature should, imho, work like this:

1. Import stats & merc deaths from old game
2. Allow the modder to set up a "replacement pool" of new mercs
3. Allow the modder to set "merc aging" factors that alter (++/--) final stats and give some fresh flavour and randomness
4. allow the modder to write new bios reflecting the "aging" factor, maybe even attach "alternate" bios to possible dice rolls (normal roll, critical improvement, critical downgrade).
5. Define "career traits" based on the known bios for mercs and allow "aging" to follow those paths on normal dice rolls.
6. Setup new fees accordingly (define a formula that takes into account increasing/decreasing of stats)
...

Episodic/mission mods would be epic, indeed.

[DREAMING ON]

I am seeing JA2UC 2 on a Mission Repository. Team writes each month a new episode, uploads it. People fire up the game, a blinking light says "New Mission Available!". You press "Download", the game gets the files and your laptop is updated with the new goals, maps, etc. Your old mission isn't deleted either, it stays in its own folder (here it's upon the modder to set dependencies that can force or not the player to complete the current mission).

[/DREAMING OFF]

Would be damn nice wouldn't it?

[Updated on: Wed, 01 July 2009 17:01] by Moderator



Re: JA2:UB Source[message #224624] Wed, 01 July 2009 17:11 Go to previous messageGo to next message
Shanga

 
Messages:3536
Registered:January 2000
Location: Danubia
[NEW DREAM INCOMING]

JA2UC 3 Mission Server. AIM now has a new agency, called "The Pit", made up of hardened veterans, all ready for some MMORPG action.
- You log in, check "Available Mercs", make up a team of Khor, Mauser, Shanga, Headrock (we need someone to carry the canteens) and Majek (and we need one to swear every step of the way). You also add Scope from AIM cause all the aforementioned ones cannot hit a barn on the broadside.
- You check "Missions" from all over the world. Some pay better but are high risk, some are easier but barely cover YOUR expenses. You accept one mission and start killing.
- After succesfully completing the mission, each participant is automatically rated, gets improvements in the skills, gets even a new Experience level (or Rank). The ones who took part as mercenaries get payed from YOUR account, you who led the team get your money from AIM/whatever.
- You thank everyone and log off, hoping tomorrow you'll find a much better team available than those losers, lol.

[/END DREAM]

[Updated on: Wed, 01 July 2009 17:12] by Moderator



Re: JA2:UB Source[message #224626] Wed, 01 July 2009 17:25 Go to previous message
Khor1255

 
Messages:1834
Registered:August 2003
Location: Pleasantville, NJ
You know, with multiplayer mode and this aspect we could have all kinds of cool mission based shenanigans. And folks could finally vent their frustration in (virtual) reality.

Yeah, I can still dream too.

I like those ideas. I already have my voice files done. What are you guys waiting for?

Record some dialog, make some faces and we could have a really scary new crew to work with.
Previous Topic: Licence/Legal Issues
Next Topic: Original and untouched JA2 Gold Source Code
Goto Forum:
  


Current Time: Thu Nov 23 00:10:34 EET 2017

Total time taken to generate the page: 0.01039 seconds