Question to modders - LAN

5 years 8 months ago #1 by NL
Question to modders - LAN was created by NL
I was playing Libye2 Tiger Tomb local on my PC, so by creating a LAN game.
Why is the AI behavior so much different when you play local compared to playing through the internet?

-much higher rate of fire on MG's (this is probably due to lag)
-much bigger detection range off the enemy, both armed vehicles and soldiers + -->
-much bigger range of engagement, almost twice the range as when playing through the internet
-slightly different behavior of moving vehicles (other positions than they take up in internet game)
-enemy shoot with more accuracy, even on normal difficulty.

I don't really understand why the maps behave so different when playing them locally. The scripts are the same as on the server right?
Does any one of you have an explanation for this?

Trust is hard to gain but easy to lose.

Please Log in or Create an account to join the conversation.

5 years 8 months ago #2 by Sqdn. Ldr. Ted Striker
Replied by Sqdn. Ldr. Ted Striker on topic Question to modders - LAN
Most problems seem to be caused by lags or poor computer performance.
Vehicles might move strangely on dedicated servers, e.g. a bit below the ground. Tank turrets movement might not be seen. Vehicles don’t move (“be pushed up”) when being destroyed.

There are some differences when playing as client on dedicated servers:

Enemy is not alarmed by hearing foot steps.
Worse detection of players in vehicles. The British Sherman has other SEAT types to improve this.

Scripts:
There is some random in the movement of enemy vehicles, so this should make no difference
The following user(s) said Thank You: NL

Please Log in or Create an account to join the conversation.

5 years 8 months ago #3 by NL
Replied by NL on topic Question to modders - LAN
Ok, so even if I play alone on an internet server and have a ping of 15 ms this creates enough lag to completely change detection range apparently.

Anyway, I can recommend everyone to update your mpmaplist and play some of the modded maps on your LAN, it's a different experience and AI seems much more intelligent. If you are too lazy to create your own mpmaplist YOU CAN DOWNLOAD MINE HERE

Trust is hard to gain but easy to lose.

Please Log in or Create an account to join the conversation.

5 years 8 months ago #4 by Stern
Replied by Stern on topic Question to modders - LAN
You mean you created nondedicated server "ingame".

Scripts are the same but if i understant it correctly 4 of 10 AI alarm types dont work for clients and that's the reason
why mission feels different for host.

SetAlarmType(1,1); //Shooting
SetAlarmType(2,1); //Enemy shots
SetAlarmType(4,1); //Hear steps (not working for clients)
SetAlarmType(8,1); //Action sound (not working for clients)
SetAlarmType(16,1); //Explosions (not working for clients)
SetAlarmType(32,1); //Sighted
SetAlarmType(64,1); //Injured
SetAlarmType(128,0); //From script
SetAlarmType(256,1); //Friendly shots
SetAlarmType(512,1); //Sights corpse (not working for clients)

They can be turned off (1 is on, 0 is off) but it could be a massive work to mod all favorite missions to client standard.
"Notepad++" has good replace function.

The one who hesitates is lost !
The following user(s) said Thank You: NL

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Next birthdays

  • iBeLKa birthday is in 1 day (28)
  • 43 birthday is in 4 days (54)
  • Soukyan birthday is in 8 days (21)
 
 
 

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.