General Attributes

From Awesomenauts Wiki
Jump to: navigation, search

Click here to return to the map editor's object list

For general attributes click here

Many objects share the same attributes. The attributes in the list below have the same function for every object that uses these.

Field Description Possible values Type
startPosition Determines the default location of the object Position ([ x ] [ y ])
endPosition The object will move between “startPosition” and “endPosition” in case “endPosition” is not equal to “startPosition”. If the object is affected by a button it will move to “endPosition” while the button is pressed Position ([ x ] [ y ])
position Determines the location of the object. Position ([ x ] [ y ])
animationDuration Determines the time an object needs to travel from “startPosition” to “endPosition” (only works if the object is not affected by a button) Number
size Determines the size of an object Size ([ width ] [ height ])
angle Determines the angle of the object. Can be changed using the "rotate" tool. Number
mirrorX Determines if the object is mirrored horizontally. This box is automatically ticked when you mirror your map with CTRL - ALT - M Yes / No
name The name of the object. Used to make the object react to buttons, turrets death, etc. Text
parallax Will make the object move slower and follow the camera -1 till 1 Number
depth With this you can put an object in the foreground or in the background. The higher the number the more in the foreground the texture is and vice versa Number
existIfArenaWallsEnabled Determines if the object will appear when arena walls are enabled (deathmatch mode) Yes / No
existIfArenaWallsDisabled Determines if the object will appear when arena walls are disabled (deathmatch mode) Yes / No
frozen Prevent an object to be selected in the editor. You can use the "Unfreeze" icon to make it selectable again. Yes / No
hidden Hide an element (the object will only be hidden in the editor). Will only make namedArea and textures invisible. Yes / No

animationCurveEditor[edit | edit source]

Animation.png

When you click an option like "Position" the little box above may appear. This is the animationCurveEditor and it allows you to animate the selected value. This can be used for example to make an object move, change it's color over time, etc.

Defining how the animation change[edit | edit source]

There's 4 boxes on the top that will define how the value will change

No animation[edit | edit source]

The first box is the default option. The value will not be animated.

Saw.jpg Saw animation[edit | edit source]

Move from the two values at the same speed

Curve.jpg Sine wave[edit | edit source]

Starts up slow an speeds up to your set speed then ends slowly before restarting

Pulse.jpg Pulse Animation[edit | edit source]

The animation will jump between two values.

Strength[edit | edit source]

Determines how much the value will be changed. For instance if you set it to "0.5" the value will move from "value - 0.5" to "value + 0.5"

PeriodMin and PeriodMax[edit | edit source]

Affects the speed. (How much time it takes for it to move from point A to point B). The biggest the 2 values, the slower the animation will be.

PeriodMin is the minimum amount of time it will take for the object to sway back and forth once.

PeriodMax is the maximum amount of time it will take for the object to sway back and forth once.

CentreOffset[edit | edit source]

Can only be set between 0-1 and controls which way the the object will move.

-0-0.4: Starts on left side, moves right till max distance is reached and moves back to the starting position at a varying speed.

-0 is Instant while 0.1-4 are faster speeds than the set speed.

-0.6-1: Are the opposite of the above.

-0.5: Just makes it move back and forth at the same speed.

StartTime[edit | edit source]

The time at which the animation will start.

WaitTime[edit | edit source]

Sets the time to start again once the animation is completed.