SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Phobos on April 13, 2013, 05:40:14 AM

Title: [HELP] Force Difficulty Level via Mission LUA
Post by: Phobos on April 13, 2013, 05:40:14 AM
Is there any way to force the game difficulty level (easy medium hard) in a mission LUA, that overrides the default setting the player chooses from the game options menu?

It might have to require modding the common LUA to disable the game options menu in game, and that's fine as long as a difficulty level could be defined for each map in the mission LUA itself.

I have a temporary workaround sort of but the game crashes when the map starts on the wrong difficulty level.
Title: Re: [HELP] Force Difficulty Level via Mission LUA
Post by: Led on April 13, 2013, 09:36:12 AM
There is a LUA command to set AI difficulty level, but it is for SP.
EhPortal 1.34 © 2025, WebDev