Jump to content
Sign in to follow this  
legio4777

Mission Parameters

Recommended Posts

Hey guys,

I want to define dthe difficulty from the begginig.

Does anyone some code to show me?

Do you know the values an texts¿????

BR

Share this post


Link to post
Share on other sites

Difficulty is server-side, be it hosted or dedicated. Before you even begin the mission there are already options on the left to select between 4 difficulties.

Now, if you wanted to get technical, yes you can set the skill of AI in various particular ways to really dumb them down (honestly making them more realistic), but I don't suggest making params out of something like that. No point in reinventing the wheel, right?

Share this post


Link to post
Share on other sites

The main thing is... for some reason by editing the difficulty is always set as recruit. And I wanna play it like veteran or elite, obviously setting the AI skill.

This is the problem I have.

Yes I know the options are on the left, but really I change it with no result.

I dont know why that happens. And I dont know how to solve it.

Other thing I wanna know is how to take out the possibility to use the shift click on the map... Do you know how?

BR

Share this post


Link to post
Share on other sites

Check out the setSkill command on the BIKI. I'd link it, but currently they are "upgrading" (wonder what'll be new). However, here is a post from Loki a while back that may interest you.

personally.. i hard set the ai skills in the mission i build, as the default AI.. is a little rough.

this is just a quick and dirty way.. could be smoothed out for dynamics...

someScript.sqf

//setSkill for ai on map from editor
//AI Skill  
{
_x setUnitAbility 0.1;
_x setskill ["aimingAccuracy",0.05];
_x setskill ["aimingShake",0.9];
_x setskill ["aimingSpeed",0.1];
_x setskill ["Endurance",0.1];
_x setskill ["spotDistance",0.5];
_x setskill ["spotTime",0.5];
_x setskill ["courage",0.1];
_x setskill ["reloadSpeed",0.1];

_aA = _x skill "aimingAccuracy";
_aS = _x skill "aimingShake";
_aSp = _x skill "aimingSpeed";
_e = _x skill "Endurance";
_sD = _x skill "spotDistance";
_sT = _x skill "spotTime";
_c = _x skill "courage";
_rS =_x skill "reloadSpeed";

if (DebugDeep) then {
hint format [
			"unit: %1\naimingAccuracy: %2\naimingShake: %3
			\naimingSpeed: %4\nEndurance: %5\nspotDistance: %6
			\nspotTime: %7\ncourage: %8\nreloadSpeed: %9"

			,_x,_aA,_aS,_aSp,_e,_sD,_sT,_c,_rS];
//sleep 0.1;
};
} forEach allUnits;  

hope it helps.. its just another way to do the same thing.

Share this post


Link to post
Share on other sites

Ok thanks a lot.

I wanna know is how to take out the possibility to use the shift click on the map... Do you know how I can do that?

Share this post


Link to post
Share on other sites

Yes I know the options are on the left, but really I change it with no result.

I dont know why that happens. And I dont know how to solve it.

BR

These settings are in the .profile file for your server. Use this link to add the difficulty settings:

https://community.bistudio.com/wiki/server.armaprofile

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×