It is currently Thu May 23, 2013 5:55 pm




Post new topic Reply to topic  [ 5 posts ] 
Default Difficulty of Test Map 
Author Message
X-51
User avatar

Joined: Wed Mar 03, 2010 1:29 am
Posts: 834
Post Default Difficulty of Test Map
Is there a way to edit the default difficulty level such that when you test play the map in the editor, it will be at that difficulty? It seems to be at easy by default, but I'd rather it be at realistic. Maybe in the User.ini or something?

_________________
http://www.youtube.com/watch?v=e3FfPUKuGsQ&t=8m0s


Tue Apr 12, 2011 4:11 pm
Profile
Traditional Evil Scientist
Traditional Evil Scientist

Joined: Mon Oct 17, 2005 10:03 am
Posts: 3641
Post Re: Default Difficulty of Test Map
Hack it?

Set jcdentonmale combatdifficulty 4.0?

Might work. Failing that,

Code:
class DifficultyFixTrigger extends moretriggers;

var() float difficultyMod; //1.0=easy, 1.5=normal, 2.0=hard, 4.0=realistic

function beentriggered(actor instigator)
{
    local deusexplayer P;

    super.beentriggered(instigator);

    P = deusexplayer(getplayerpawn());
    if(P != none)
         P.combatdifficulty = difficultymod;
}


Then just trigger this as soon as you start up the level. Doesn't need an event. Just remember to remove it before release! :P


Fri Apr 15, 2011 9:02 am
Profile
X-51
User avatar

Joined: Wed Mar 03, 2010 1:29 am
Posts: 834
Post Re: Default Difficulty of Test Map
Very cool, I'll check that out. I do have a video I just uploaded for your entertainment which is conspiracy theory related, and as the indian giver that I am, I would like to ask for a trigger which toggles the triggerability of a trigger. Maybe it is the "binitiallyactive" property, I'm not sure. But, I need a shake trigger which doesn't shake the player until after a certain point. I just don't know how to make it not shake the player in the beginning.

_________________
http://www.youtube.com/watch?v=e3FfPUKuGsQ&t=8m0s


Fri Apr 15, 2011 10:09 pm
Profile
Traditional Evil Scientist
Traditional Evil Scientist

Joined: Mon Oct 17, 2005 10:03 am
Posts: 3641
Post Re: Default Difficulty of Test Map
bInitiallyActive=false,
InitialState>>othertriggerturnson (or othertriggertoggles), then trigger it with another trigger.#
:)


Fri Apr 15, 2011 10:17 pm
Profile
X-51
User avatar

Joined: Wed Mar 03, 2010 1:29 am
Posts: 834
Post Re: Default Difficulty of Test Map
ahhh. I knew that had to already be in there somewhere. Thank you.

_________________
http://www.youtube.com/watch?v=e3FfPUKuGsQ&t=8m0s


Sat Apr 16, 2011 5:35 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forum/DivisionCore.