Home » MODDING HQ 1.13 » v1.13 Coding Talk » Real Time Mode Mod
Re: Real Time Mode Mod[message #219167] Fri, 05 June 2009 00:55 Go to previous messageGo to next message
Thor

 
Messages:430
Registered:February 2007
Location: Belgium
It's a really handy feature, also for the landing in insane... turn-based helps Wink
Re: Real Time Mode Mod[message #219194] Fri, 05 June 2009 07:09 Go to previous messageGo to next message
usrbid

 
Messages:1535
Registered:December 2008
Thor
thrown out of a game


It happens to me at least once a gaming session, but mostly when I burst, something seems to upset the game... Smile Since I play so much, I noticed it is more likely to happpen when I "push" the game by entering commands too fast.

For example it seems to happen more frequently when I look at the enemy inventory using Alt, the tooltip is still up or fading, and I shoot the enemy before the tooltip is completely gone.

But it happened to me once with the last enemy in I14 (Alma mine I think), came through the fence, cleaned out all the enemies slowly and painfully, last two running around like headless chicken in front of the mine building, one gets shot and flees the sector, the other gets a head shot with the SVD with the x10 scope, playing on Insane Iron Man, had 20+ enemies in the sector, CTD (crash to desktop), I sit there staring at the blue Windows background for a while... Had to do someting else for a bit before I wanted to try again.


Re: Real Time Mode Mod[message #219945] Mon, 08 June 2009 15:51 Go to previous messageGo to next message
Thor

 
Messages:430
Registered:February 2007
Location: Belgium
Some issues...

Kingpin always starts shooting when the bell tolls. Very frustrating if you have put your guns away for a boxing match...

Furthermore there should be an option to have a forced turn as soon as you spot an enemy (as it used to be). An enemy now can get very close to your mercs (when he is not aware of them) and when he then spots them he will hit them easily, although your mercs did not get an interrupt... I guess that's not the intention... Definitely not when you are moving your other mercs.
Re: Real Time Mode Mod[message #219951] Mon, 08 June 2009 16:04 Go to previous messageGo to next message
The_Bob

 
Messages:414
Registered:May 2009
Location: Behind you.
You can toggle the real time sneak with ctrl-shift-x, which is what I do when not aiming for a stealthy approach. Also having to enter turn-based first is a sort of counterbalance for the pros of this mod.

I'll add the feature to enter turn-based upon next contact and to automatically enter turn-based when an off-screen merc spots an enemy.

I'll probably refine that later to check if the off-screen mercs are at the border of enemies' FOV (based on cover calculations) and then make them go into turn-based - no need to be alarmed if they can't spot you anyway.

Also I'll have to scrap the auto-selecting of the merc that saw an enemy, it tends to be more annoying then not.

I'm still not sure hot to properly implement the silent kill feature. Even in it's current form it's quite cool.

edit:
Thor
Kingpin always starts shooting when the bell tolls. Very frustrating if you have put your guns away for a boxing match...

how is that related to my mod ?

[Updated on: Mon, 08 June 2009 16:06] by Moderator


Re: Real Time Mode Mod[message #219953] Mon, 08 June 2009 16:17 Go to previous messageGo to next message
Thor

 
Messages:430
Registered:February 2007
Location: Belgium
Quote:
enter turn-based when an off-screen merc spots an enemy.


Just an idea, but wouldn't it be better to have it that stationary mercs who see an enemy trigger the turn-based mode or get an interrupt?

about Kingpin, just thought it was related... Tony also starts to kill mercs as soon as he hears a shot... but real time mode is kept, it doesn't become turn-based.

[Updated on: Mon, 08 June 2009 16:21] by Moderator

Re: Real Time Mode Mod[message #219954] Mon, 08 June 2009 16:27 Go to previous messageGo to next message
Wil473

 
Messages:2841
Registered:September 2004
Location: Canada
Civilians shooting up the player, but not actually going hostile seems to be an intermittent bug that was introduced to the main source code some time ago. I've seen it in HAM's Beta 3's as well as normal JA2.exe, so it is something that should be reported in the main bug thread. Armed civilians who are normally supposed to be non-hostile, seem to have a random chance of starting to shoot the player during combat. I tried replicating it during my quest to finish a stock game of 1.13 (and see how stable it was last month) but the general in Alma decided to play nice till scripted to go hostile, and not before (as he did in my last game).

[Updated on: Mon, 08 June 2009 16:29] by Moderator



Re: Real Time Mode Mod[message #219961] Mon, 08 June 2009 17:01 Go to previous messageGo to next message
The_Bob

 
Messages:414
Registered:May 2009
Location: Behind you.
Thor
Just an idea, but wouldn't it be better to have it that stationary mercs who see an enemy trigger the turn-based mode or get an interrupt?


Giving them interrupts would be unfair, currently it's up to the player's reflexes to press ctrl-x in the right moment - not very appropriate for a turn-based game, but then again it's the player's decision to play in real time.

I'll have to see what will happen if stationary mercs can trigger turn-based, but I fear this may cause unwanted behaviour, effectively making it impossible to stay in real time for too long.

Re: Real Time Mode Mod[message #219964] Mon, 08 June 2009 17:25 Go to previous messageGo to next message
Thor

 
Messages:430
Registered:February 2007
Location: Belgium
How about aiming mercs then? Would make it some kind of a guard mode... (negative aspect would be their vision being limited) But I think especially the aiming mercs should have turn-based mode enabled...

ctrl-shift-x is a bit complex... Should be simpler... (at least, that's my opinion) like mouse-click-simple... Maybe clicking or double clicking the enemy would restore turn-based mode...

@ Wil: thx, really annoying bug Sad

[Updated on: Mon, 08 June 2009 17:34] by Moderator

Re: Real Time Mode Mod[message #221254] Mon, 15 June 2009 19:41 Go to previous messageGo to next message
IBNobody

 
Messages:5
Registered:June 2009
Real-Time Sneaking, I love you. It made the game for me.

There have been times, though, when TB mode kicks in when spotting an enemy, but the enemy appears to be unaware.

Would it be possible to add a debug message that would say...

"SoAndSo was spotted by the enemy..."

... when spotted?
Re: Real Time Mode Mod[message #221256] Mon, 15 June 2009 19:48 Go to previous messageGo to next message
The_Bob

 
Messages:414
Registered:May 2009
Location: Behind you.
It's not that simple. I mean, it isn't all that complicated either, but generally this mod only checks if any enemy has been alerted. And enemies can be alerted without spotting anybody, just hearing a loud noise or seeing someone die (not finding a dead body though) is enough.

Usually you'd have to look for the guy somewhere near the one you killed, or wherever the stray bullet hit, if you missed. Often, if you didn't make too much noise, killing the one alerted soldier will be enough to make the sector completely oblivious to your presence.

BTW, I really recommend giving knifing another go, with the real time mod on.

Re: Real Time Mode Mod[message #221257] Mon, 15 June 2009 19:48 Go to previous messageGo to next message
Logisteric

 
Messages:3274
Registered:December 2008
Location: B
Nobody
Would it be possible to add a debug message that would say...

"SoAndSo was spotted by the enemy..."

... when spotted?


is it debug or cheat?
Re: Real Time Mode Mod[message #221277] Mon, 15 June 2009 21:38 Go to previous messageGo to next message
IBNobody

 
Messages:5
Registered:June 2009
The_Bob
It's not that simple. I mean, it isn't all that complicated either, but generally this mod only checks if any enemy has been alerted. And enemies can be alerted without spotting anybody, just hearing a loud noise or seeing someone die (not finding a dead body though) is enough.

Usually you'd have to look for the guy somewhere near the one you killed, or wherever the stray bullet hit, if you missed. Often, if you didn't make too much noise, killing the one alerted soldier will be enough to make the sector completely oblivious to your presence.

BTW, I really recommend giving knifing another go, with the real time mod on.


My mercs were hiddin in shadows on a roof. The enemy walked past them, and TB was activated. The enemy did nothing. I kept ending my turn, and finally, he walked off. When he came back into my line of sight, TB was reactivated.

Using the key combo, I confirmed that RT sneaking was turned on.

(And Log, it would be a debug message. You currently know if the enemy is alerted because TB combat gets activated. If they know where you are, they will shoot at you.)

EDIT:

It must have been that other enemies were aware of my presence, and that disables RT sneaking.

I was invading a sector, and had a few RT sneaking events. I then shot off a few unsilenced rounds, which probably alerted the two remaining enemies. This disables real-time sneak.

I found an enemy, in broad daylight, with his back turned. Even though he was alerted, he didn't have his gun drawn or move around at all. As soon as my merc would see him, I'd enter TB mode.

I got around the "enemy alert" problem by telling my merc to face away. I then alt-strafed up to the enemy. When I got close enough, I turned around (causing TB to start) and shot him.

I disagree with enemy alertness disabling RT sneaking. I should have been able to sneak up on that enemy normally in RT without having to resort to strafing tactics.

[Updated on: Tue, 16 June 2009 08:00] by Moderator

Re: Real Time Mode Mod[message #253837] Sun, 13 June 2010 15:22 Go to previous message
Torres

 
Messages:176
Registered:June 2010
Location: Canary Islands
". 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 just LMAO with this, ok ok I'll give it a try xDDDDDDDDD
Next Topic: What would I need to start coding?
Goto Forum:
  


Current Time: Tue Jul 14 09:28:41 EEST 2020

Total time taken to generate the page: 0.04003 seconds