• 0

    posted a message on Help:Map Disappeared....

    So yeah creating abilities and when to remove some validators in the data for my effects and my whole computer freezes up for thirty minutes. Yes I waited thirty minutes because I was hoping it would unfreeze, I still ended up losing the abilities I've been working on for the past three days...

    Yes I did save my work in those three days, and I save it like every 10 minutes or less while working, but my map disappeared, only leaving a file that when I click on it shuts down my editor! I have a back-up map, which is what I haven't saved in three days...stupid me but I only save my back up if I have some sort of epiphany and create a bunch of triggers or I download some assets and/or risk my map into losing it completely.

    This time I was just creating abilities the old classic way by rummaging through the data editor and duplicating some effects and altering them to make things go well.

    So first off: - How do I recover it, I'm able to open other maps, but not that one, and I didn't even change the validators I just click on em. Second: - Has this ever happened to anyone?

    Posted in: General Chat
  • 0

    posted a message on Integer Variable question (probably trivial)

    Well I came across a function called "Clamp: Integer" which seems to make my mechanic work with the following action.

    Set VariableX = (Clamp VariableX between 0 and 200)

    Tested and approved, I have it to the same trigger that allows the "Tug of War" to function so it updates every two seconds, but it might be ok to put in Initialization.

    EDIT: Does not work on Map Initialization, must be refreshed at the same time the variable is modified.

    Example: Every two seconds of game time Modify VariableX +2 Clamp VariableX between 0 and 200

    Posted in: Triggers
  • 0

    posted a message on Integer Variable question (probably trivial)

    @StragusMapster: Go

    I'll definitely try it and get back to you, just got to create some triggers in order to see which way the meter is going and to see if it stops.

    Posted in: Triggers
  • 0

    posted a message on Integer Variable question (probably trivial)
    Quote from o3210: Go

    Maybe he was telling about defining the limits for integers? In Pascal it's like this: Var x: 1..100000000;

    Sort of, my project consist of two teams of five trying to take one of three Refineries. The way they're taken are like a king of the hill feature, which ever team has the most surviving player in a region will slowly gain control of the refinery and gain points for the team and I have a variable in control of that.

    Map Init: Set "Refinery Variable" = 100 (my variable in question"

    Condition to where the variable =>50 the refinery owner changes to the red team Condition to where the variable is =<150 the refinery owner changes to the blue team If the variable is 51-149 it is neutral

    for every player of red team in the specified region the variable is modified by -2 per 2 seconds for every player of the blue team in the specified region the variable is modified by +2 per 2 seconds

    The reason I'm asking is because I want it my variable to be a minimum of 0 and a maximum of 200, that way when red team gets ran over by blue team, they can still control it for some time but it will then become neutral and then become blue teams. With out it my integer will be -2 for every 2 seconds, and it will be harder for blue team to take if the variable is -398429384792384 (over exaggerating).

    I want the difficulty of the game to be determined by how well players are at offense and defense. Not how long it takes players to take an objective for so many minutes then move on to another one because it'll take the other team 6 hours to take the one you just left.

    Posted in: Triggers
  • 0

    posted a message on Integer Variable question (probably trivial)

    Question: Can you set a minimum and maximum integer to a integer variable.

    Posted in: Triggers
  • To post a comment, please or register a new account.