Home » MODDING HQ 1.13 » v1.13 Coding Talk » Real Time Mode Mod
Real Time Mode Mod[message #211168] Thu, 26 March 2009 12:43 Go to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA

Originally post by Borys762

Hello everyone.
I got a little tired of all this mumbojumbo about game exploits. To me being able to remain in realtime while sneaking around improves gameplay and adds to immersion and is a lot more fun. Since no one wanted to implement it, I did it myself. If you don't like it and think the feature ruins this wonderful game, is the root of all evil, rapes the churches and burns the women, then don't bother downloading it. I haven't got time to test it thoroughly, but it seems to work.

Download link:
https://storage.rcs-rds.ro/links/4729f8d6-f44b-42b7-aa3e-e0ddc6deead6?path=%2FJA_2%2FMods_v1.13%2FReal_Time_Mod

YouTube preview:

(sorry for the quality, just watch it fullscreen and you'll see everything)

Installation:
Just copy to JA2 main directory and use it to launch the game.

Important - with this mod, if your merc is sneaking he won't initiate combat on sighting an enemy, that means if you leave him in some place and an enemy comes near him and eventually sees him he (the enemy) will always have the first turn (unless some interrupt occurs i think, not sure). So if you want to ambush someone then sneak in and once in position turn sneaking off.

Notes:
I'm new to JA2 source and haven't figured out (didn't even bother to Razz) how to turn off the debug
mode yet. Tell me if you know how to do it. And also in the future I'm thinking of using the D-key to enter combat on will since it's easier then initiating it with the mouse cursor.

Awaiting some feedback or whatever.



[Updated on: Fri, 04 June 2021 05:28] by Moderator

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211258] Fri, 27 March 2009 12:45 Go to previous messageGo to next message
zwwooooo is currently offline zwwooooo

 
Messages:73
Registered:February 2009
great! but it is work at 25ap, will add it to new svn?

Report message to a moderator

Corporal
Re: Real Time Mode Mod[message #211265] Fri, 27 March 2009 17:31 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2022
Registered:January 2003
Location: Australia :D
It is set to work with the latest SVN exe, not the pre-100ap exe's.

Report message to a moderator

Lieutenant

Re: Real Time Mode Mod[message #211268] Fri, 27 March 2009 18:24 Go to previous messageGo to next message
Headrock

 
Messages:1760
Registered:March 2006
Location: Jerusalem
Whoa, that was wicked - for a second there I thought Marlboro Man had coded something. Phew, I was THIS close to losing my grip on reality.

Interesting mod. I was actually hoping for something else though - instead of disabling turn-based when sneaking, have the player's team interrupt the enemy if one of his men spots you.

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211275] Fri, 27 March 2009 19:17 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
Quote:
Whoa, that was wicked - for a second there I thought Marlboro Man had coded something. Phew, I was THIS close to losing my grip on reality.


:biglaugh:



Someone who thinks logically provides a nice contrast to the real world. Very Happy

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211294] Sat, 28 March 2009 04:04 Go to previous messageGo to next message
usrbid is currently offline usrbid

 
Messages:1506
Registered:December 2008
Hi borys762, Does this allow forcing of turn based, I believe it was something like Ctrl+Alt+Shift+T? If not, can it be added pleeeeeease? Very Happy

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211295] Sat, 28 March 2009 05:00 Go to previous messageGo to next message
Borys762 is currently offline Borys762

 
Messages:7
Registered:March 2009
Location: Poland
Press Ctrl+X to enter TB - this is what I made possible. I don't know if/how it's been before.

The features in this mode aren't part of 1.13, this is an external modification. I'll update the exe and recompile it to suit the lastest release once I download the newest source code.

Report message to a moderator

Private
Re: Real Time Mode Mod[message #211296] Sat, 28 March 2009 05:02 Go to previous messageGo to next message
usrbid is currently offline usrbid

 
Messages:1506
Registered:December 2008
Yes borys762, if you have time, it would be best to make it part of the latest 1.13 code. Good job, thank you so much!!

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211302] Sat, 28 March 2009 09:50 Go to previous messageGo to next message
CptMoore

 
Messages:224
Registered:March 2009
Cool! This feature will allow you to sneak around trees while the enemy patrols near the tree! One of the things really needed for stealthy character. Goes well with my cover display system I guess.

Report message to a moderator

Sergeant 1st Class
Re: Real Time Mode Mod[message #211307] Sat, 28 March 2009 12:05 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
borys762
Press Ctrl+X to enter TB - this is what I made possible. I don't know if/how it's been before.

The features in this mode aren't part of 1.13, this is an external modification. I'll update the exe and recompile it to suit the lastest release once I download the newest source code.


If it is based on the latest source code you can press CTRL+ALT+SHIFT+T to go from Realtime in turn based mode as long as there are enemies in the sector. Pressing the combination again you deactivate it again. You should also see a status message in tactical screen.
If is also possible to turn it on/off in the option screen.

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211310] Sat, 28 March 2009 12:48 Go to previous messageGo to next message
Majek is currently offline Majek

 
Messages:437
Registered:January 2003
Location: Slovenia
usrbid
Yes borys762, if you have time, it would be best to make it part of the latest 1.13 code. Good job, thank you so much!!

You mean he should use the latest code to build his build NOT make it part of the 1.13 mod.
Because it is still a cheating advantage especially in current state.

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #211314] Sat, 28 March 2009 13:09 Go to previous messageGo to next message
Gorro der Grüne is currently offline Gorro der Grüne

 
Messages:1448
Registered:March 2009
Location: Broadwurschd-City
@ Majek

He wrote would, this is a suggestion not an order. :nono:

Even bloody bear's pit noobs like me are allowed to make suggestions.

The system is called democracy. :cheers:



Edith: "since Majek edited, Gorro's post looks a little bit funny - but it worked well"

[Updated on: Sat, 28 March 2009 13:30] by Moderator

Report message to a moderator

Sergeant Major
Re: Real Time Mode Mod[message #211317] Sat, 28 March 2009 14:01 Go to previous messageGo to next message
Majek is currently offline Majek

 
Messages:437
Registered:January 2003
Location: Slovenia
He wrote "it would be best to make it part of the latest 1.13 code" He didn't think about what it would ruin. For Example it's build on ancient source code and it would fuck up multiplayer. And these aren't opinions they're FACTS! And there's more and more.
So it doesn't matter if you've been here for ages or 10 minutes, if you make a bad suggestion there's will be critic, all kinds of it.

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #211318] Sat, 28 March 2009 14:13 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
Ok, we get it, we all understand that borys needs to make a build of his mod using the latest SVN source code. Give him a chance to do so please.

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211322] Sat, 28 March 2009 14:35 Go to previous messageGo to next message
Borys762 is currently offline Borys762

 
Messages:7
Registered:March 2009
Location: Poland
Here is what I am going to do on Sunday:

1. DL latest source code.
2. Use it to build the newest version of this mod and make it available as a seperate download.
3. Post my change to the code as a suggestion to the real 1.13 coders and it will be their decision either to put it in 1.13 or not. Cause people seem to forget that they, not me nor Majek are in charge of it's development. Maybe they'll use it as an ini option, maybe not - either way - deal with it.
4. Work on my simple IMP appearance editor that is my current project.

As to entering TB mode - Ctrl+Alt+Shift+T = enter TB if enemies > 0
- Ctrl+X = enter TB (no conditions)

Ctrl+X might be available in the mod or not, I'll think about it. It's meant to be a quick option to enter combat if you're about to get spotted - a chance to react before the enemy does. Pressing 2 keys is simply quicker than pressing 4 keys.

I am not intending to fuck up anything especially not multiplayer. The antiquated code I've worked on is the only available at 1.13 wiki and I didn't bother to use SVN just to try out my idea and see if it works (cause it is still just an idea that some like, some don't).

PS: Ignore the landmine part in the readme, cause I see now that the issue was already fixed. Someone should update the Outstanding Bugs section at the wiki if it is supposed to serve any purpose in the future.

[Updated on: Sat, 28 March 2009 17:17] by Moderator

Report message to a moderator

Private
Re: Real Time Mode Mod[message #211323] Sat, 28 March 2009 14:35 Go to previous messageGo to next message
lockie is currently offline lockie

 
Messages:3721
Registered:February 2006
Location: Scotland
Quote:
Edith: "since Majek edited, Gorro's post looks a little bit funny - but it worked well"


Who's Edith ? Smile

Report message to a moderator

Captain

Re: Real Time Mode Mod[message #211325] Sat, 28 March 2009 14:41 Go to previous messageGo to next message
Gorro der Grüne is currently offline Gorro der Grüne

 
Messages:1448
Registered:March 2009
Location: Broadwurschd-City
lockie

Who's Edith ? Smile


One of theses girls in my flat who sneek to my computer and edit my postings. :yikes:

Report message to a moderator

Sergeant Major
Re: Real Time Mode Mod[message #211329] Sat, 28 March 2009 14:48 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
Quote:
PS: Ignore the landmine part in the readme, cause I see now that the issue was already fixed. Someone should update the Outstanding Bugs section at the wiki if it is supposed to serve any purpose in the future.



Your whole post sounds just fine. Smile


As to the landmine "bug" what exactly did you try to fix? Because I believe there is still some problems with the landmines not working correctly. I think.


Edit: Yes, the Wiki site is need of major updating. Hopefully some one can do that sometime in the near future.

As for lookimg for bugs that need fixing, look at the Bugzilla site here.
http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=166487&page=1#Post166487

[Updated on: Sat, 28 March 2009 14:52] by Moderator

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211330] Sat, 28 March 2009 14:56 Go to previous messageGo to next message
Borys762 is currently offline Borys762

 
Messages:7
Registered:March 2009
Location: Poland
In earlier 1.13 versions whenever someone stepped on a mine and died the game would freeze and the stopwatch cursor wouldn't go away leaving me with the only option to turn off the game (or sometimes it would just crash to desktop). But that was a long time ago. I did some testing now and it didn't happen anymore so I guess someone fixed this.

Report message to a moderator

Private
Re: Real Time Mode Mod[message #211340] Sat, 28 March 2009 16:04 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2022
Registered:January 2003
Location: Australia :D
Marlboro Man
Edit: Yes, the Wiki site is need of major updating. Hopefully some one can do that sometime in the near future.

Shhhhhaaaaaannnnnggggggggaaaaaaaa

Report message to a moderator

Lieutenant

Re: Real Time Mode Mod[message #211361] Sat, 28 March 2009 18:44 Go to previous messageGo to next message
Marlboro Man

 
Messages:1159
Registered:October 2005
Location: USA
RoWa21 kept it up some, but he has enough on his plate as it is. And I guess Mugsy won't be back anytime soon. I doubt Shanga would want to be bothered with it. And unfortunately I don't have much time right now to put into it either. Some one may step up to the challenge eventually. Smile

Report message to a moderator

Sergeant Major

Re: Real Time Mode Mod[message #211416] Sun, 29 March 2009 06:42 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2022
Registered:January 2003
Location: Australia :D
I was only taking the mick, kinda like SPPPPPAAAAARRRRRTTTTAAAAA.

Maybe Off_Topic could have a quick look at it Very Happy

Report message to a moderator

Lieutenant

Re: Real Time Mode Mod[message #211641] Tue, 31 March 2009 02:12 Go to previous messageGo to next message
Borys762 is currently offline Borys762

 
Messages:7
Registered:March 2009
Location: Poland
Ok, I've finally found time to do what I said I would. Took me a little longer.

So here's the new build:
http://student.agh.edu.pl/~borysp/JA2/RT.rar

Try it out if you wish.

I had experienced this:
http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&topic=14644
So at first I thought I caused a bug but it seems that it was there before. Report anything other happening.

Report message to a moderator

Private
Re: Real Time Mode Mod[message #212092] Sat, 04 April 2009 04:52 Go to previous messageGo to next message
howareyou32 is currently offline howareyou32

 
Messages:424
Registered:March 2009
Location: New York, New York
Hi, borys762.

Can you also add the "Enhanced Description Box Mod" function in to this great "Real Time Mode Mod"?

This will sure make the ja2 gaming experience a lot of fun and exciting.

thanks.

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #212214] Mon, 06 April 2009 08:00 Go to previous messageGo to next message
Borys762 is currently offline Borys762

 
Messages:7
Registered:March 2009
Location: Poland
The EDB wasn't touched by me and is available through the options menu as normal.

Report message to a moderator

Private
Re: Real Time Mode Mod[message #213463] Sat, 18 April 2009 04:29 Go to previous messageGo to next message
felixk4 is currently offline felixk4

 
Messages:14
Registered:April 2009
Very Happy is there still ap requirement for firing weapons? and how do I install this to v1.13...?

Report message to a moderator

Private
Re: Real Time Mode Mod[message #217044] Sun, 17 May 2009 18:53 Go to previous messageGo to next message
lockie is currently offline lockie

 
Messages:3721
Registered:February 2006
Location: Scotland
Any more feedback on this ? Seems pretty quiet and the idea sounds good ( I've got waaayyy too much going on to even have a quick look , sorry Embarrassed )

Report message to a moderator

Captain

Re: Real Time Mode Mod[message #217094] Mon, 18 May 2009 13:27 Go to previous messageGo to next message
Maalstroom is currently offline Maalstroom

 
Messages:340
Registered:December 2008
Location: en route to San Hermanos
if it was up to me this mod should have been included in the main thread already!

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #217148] Mon, 18 May 2009 22:03 Go to previous messageGo to next message
blaa is currently offline blaa

 
Messages:26
Registered:May 2009
Location: -
I NEVER want to play without this again.
I read the discussion thread concerning this, too, and saying that this is a game breaking feature that makes the game easier is complete bs. Wink

It eliminates those _incredibly_ boring turns when you sneak near a victim, but instead you can do it in real time. Before this sneaking sucked, if alone because you had to wait 5 seconds after moving 3 tiles, that was just horrible!

It should almost never make the game easier:
When an enemy notices you and you

[Updated on: Mon, 18 May 2009 22:09] by Moderator

Report message to a moderator

Private 1st Class
Re: Real Time Mode Mod[message #217179] Tue, 19 May 2009 04:19 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2022
Registered:January 2003
Location: Australia :D
Sounds like I should try this as I love playing a Sneaky Night Ops character Smile

Looks like time for Sam Fisher to come out of the woodwork again Very Happy

Report message to a moderator

Lieutenant

Re: Real Time Mode Mod[message #217322] Wed, 20 May 2009 11:58 Go to previous messageGo to next message
Randok is currently offline Randok

 
Messages:321
Registered:March 2004
@ Team v1.13
I agree. Turn about 30 enemys + turn about 20 militia + turn some civilians = boring.
I would like to see Real Time Mod in v1.13. Please Smile

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #217324] Wed, 20 May 2009 12:34 Go to previous messageGo to next message
Majek is currently offline Majek

 
Messages:437
Registered:January 2003
Location: Slovenia
Never.

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #217325] Wed, 20 May 2009 13:28 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2022
Registered:January 2003
Location: Australia :D
Agreed. JA2's engine can't support a full real time version. You would need unit control like in SupCom but there is too much to micro in JA2.

Report message to a moderator

Lieutenant

Re: Real Time Mode Mod[message #217582] Fri, 22 May 2009 22:48 Go to previous messageGo to next message
Maalstroom is currently offline Maalstroom

 
Messages:340
Registered:December 2008
Location: en route to San Hermanos
no one wants a real time ja2! this should never happen! but this doesn't mean that this mod shouldn't be included in the main thread! can be turned on in the option screen just like force turn mode!

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #217584] Fri, 22 May 2009 22:52 Go to previous messageGo to next message
Gorro der Grüne is currently offline Gorro der Grüne

 
Messages:1448
Registered:March 2009
Location: Broadwurschd-City
Maalstroom
no one wants a real time ja2!


I would like a turn based JA3 in [color:#CC0000]real time[/color] to come :scary:

Report message to a moderator

Sergeant Major
Re: Real Time Mode Mod[message #217598] Sat, 23 May 2009 01:51 Go to previous messageGo to next message
Maalstroom is currently offline Maalstroom

 
Messages:340
Registered:December 2008
Location: en route to San Hermanos
me too!

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #218139] Wed, 27 May 2009 23:10 Go to previous messageGo to next message
The_Bob is currently offline The_Bob

 
Messages:415
Registered:May 2009
Location: Behind you.
So is this in SVN trunk already ? I've occasionally entered real time despite seeing enemy soldiers (I think it only happened with the weakest type of soldiers you encounter on the path to Drassen), was this a bug or did I accidentally turn this on ?

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #218598] Mon, 01 June 2009 11:33 Go to previous messageGo to next message
The_Bob is currently offline The_Bob

 
Messages:415
Registered:May 2009
Location: Behind you.
Ok, I've built something like this along with the latest HAM3.4

https://storage.rcs-rds.ro/links/4729f8d6-f44b-42b7-aa3e-e0ddc6deead6?path=%2FJA_2%2FMods_v1.13%2FReal_Time_Mod%2FThe_Bo b

I'm not sure if that's what borys762 did but since it's such a trivial hack I don't think it would matter much. Still, the idea was his so thank him - I've just put the pieces together.

Also, there's like a million things that could go wrong with this, so don't say I didn't warn you - bug reports are welcome.

Source included with the exe, basically changed:
	if (gubBestToMakeSighting[ 1 ] == NOBODY)
	{
		EnterCombatMode( MercPtrs[gubBestToMakeSighting[ 0 ]]->bTeam );
	}
to
	if (gubBestToMakeSighting[ 1 ] == NOBODY)
	{
		// if a player's merc spots the enemy, don't start combat yet
		if (MercPtrs[gubBestToMakeSighting[ 0 ]]->bTeam == OUR_TEAM)
		{	// select the soldier that saw the enemy - may end up weird upon multiple sightings !
			if (gusSelectedSoldier != (UINT16)MercPtrs[gubBestToMakeSighting[ 0 ]]->ubID)
				SelectSoldier (MercPtrs[gubBestToMakeSighting[ 0 ]]->ubID, false, true);
			return;
		}
		else
			EnterCombatMode( MercPtrs[gubBestToMakeSighting[ 0 ]]->bTeam );
	}

And added the key binding for ctrl-x to do EnterCombatMode(OUR_TEAM);

Considering that the game wasn't designed for this, it's a small miracle that RT sneaking actually works (even though I'm not really checking for sneaking Razz ).

[Updated on: Fri, 04 June 2021 05:32] by Moderator

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #218612] Mon, 01 June 2009 13:53 Go to previous messageGo to next message
Shadow21 is currently offline Shadow21

 
Messages:328
Registered:November 2001
Location: on route to San Hermanos
Nice one was just about to post a request for this in the HAM thread. will give it a try now :cheers:

Report message to a moderator

Master Sergeant
Re: Real Time Mode Mod[message #218613] Mon, 01 June 2009 14:17 Go to previous messageGo to previous message
zwwooooo is currently offline zwwooooo

 
Messages:73
Registered:February 2009
Good job. I like this mod. I hope this mod should be included in the main thread, and turned on in the option screen just like force turn mode!

Report message to a moderator

Corporal
Next Topic: What would I need to start coding?
Goto Forum:
  


Current Time: Fri Apr 19 22:30:11 GMT+3 2024

Total time taken to generate the page: 0.03557 seconds