I would like to create an ability similar to the liberator.
Guess I need to create a custom target cursor etc, but I have absolutely no idea where to start.
I dont even know how to call what im looking for :P
Do you have an idea on where to start? or where to find a tutorail? or maybe a name for what im looking at? :P
solved: i just updated the old one and it seems to work fine, although i still think its weird
_
hey guys,
just got a bit confused.
went ahead to play with some data values of the current LOTV melee and was having a look at the Marauder as an example.
Wanted to adjust the weapon damage, but the linked damage effect seems to be the old liberty.sc2mod version, based on values and displayed dependency.
I cant find an alternative version for lotv. Am i missing something?
Does he have to manage them himself or are the units given to players controlling the heroes? Or just shared control?
Giving all units to the hero-players would force them to not use one unit only thoughout the entire game and would increase the difficulty while games go on.
Yes what you ahve done there works =) In your solution you could remove the "if then else" in the actions sections ;)
However, this solution has 3 disadvantages compared to what i passed to you:
only works for this one command center you added there. have to add events for every CC you add to your map
if you have a unit that does more than 100 damage nothing might happen (eg if HP change from 220 to 80 your trigger wont do anything)
All cities will be given to player 1 - change value to (Damaging Player) to give to attacker
Make sure to go to the data editor - units - command center - behaviors and to remove the 'Terran - Structure burnout' behavior if you choose a low amount of HP as you did ;)
Events: Unit-Any Unit Takes Non-Fatal Any Damage{from Any effects]
local variables
conditions
Actions:
Unit-Change ownership of {Triggering unit} to player1 and Change Color
This says:
when any unit is damaged, change ownership of this unit to player1. If a marine was attacked, the marine would be given to player1.
You need to add some conditions as you only want to change the owenership if a specified unit is attacked (condition 1) and when its HP get low (condition 2)
Add these by adding a "if, then, else" action to your trigger.
I dont know how familiar you are with programming logic so ill give you a short explanation: if youre going to the store you check the weather to see if you need a jacket. if its raining or cold (<=15°C), you take a jacket. If not you dont do anything. this would be something like
If
....Or
........Temperature<= 15°C
........raining==true
then
........take jacket
else
........-leave this empty-
in your case, you want the unit to be your city (if i got that correctly - eg a command center as a city -> attack -> take over. I got that right?) Ill do this with a Command Center as your "city"-unit AND on top of that the unit should have <= 200HP. Here we go:
If:
....and
........Unit type of (Triggering Unit) == Command Center
........(Triggering Unit) Life (Current) <= 200
Then
........Unit - Change ownership of {Triggering unit} to player1 and Change Color
........Unit - Set (Triggering unit) Life to ((Triggering unit) Maximum Life (Current)) in case you want to set the life to full
Else
........-Leave Empty-
The units life action and condition can be found by searching for "unit property".
i treid what you said but im getting an error message: "Catalog field 'Pitch' could not be written (Core: access denied ti required object or service)?"
0
thanks, helped me to find a point to start at!
0
heyo!
I would like to create an ability similar to the liberator. Guess I need to create a custom target cursor etc, but I have absolutely no idea where to start. I dont even know how to call what im looking for :P
Do you have an idea on where to start? or where to find a tutorail? or maybe a name for what im looking at? :P
0
_
solved: i just updated the old one and it seems to work fine, although i still think its weird
_
hey guys,
just got a bit confused.
went ahead to play with some data values of the current LOTV melee and was having a look at the Marauder as an example. Wanted to adjust the weapon damage, but the linked damage effect seems to be the old liberty.sc2mod version, based on values and displayed dependency. I cant find an alternative version for lotv. Am i missing something?
Regards, DemoniacMilk
0
Old threat but I have the same problem.
Checked the Tutorial and the XML file of the ChatBar (not even sure if thats the correct one) and it didnt help me at all ...
Is there any Tutorial that deomnstartes how to move the chat bar?
0
you can also create abiities and add and activate auto cast. Make sure to adjust "Auto cast Filters/Range/Aquire Level"
You can add this by creating validators. Simply add them under "Auto cast validators".
Edit: Validator tab in data editor, check some of the sc-validators/abilities to see how this is done ;)
0
What about units built by the commander?
Does he have to manage them himself or are the units given to players controlling the heroes? Or just shared control? Giving all units to the hero-players would force them to not use one unit only thoughout the entire game and would increase the difficulty while games go on.
0
I hope ill be around on EU today and not forget about this again :D
0
nice! what ya gonna do with this?
0
Yo Party People!
I have started working on a new map about a week ago and would appreciate any kind of feedback.
Tha map is called "DMs Racing Game" and can be found on NA, EU and KR. It is a racing game (surprise) for up to 8 players
Features
Current Todo-List
Screenshots
A recent test run in the editor
Multiplayer game, car got hit by a Slowing Missile
I would be happy about your feedback =)
0
Yes what you ahve done there works =) In your solution you could remove the "if then else" in the actions sections ;)
However, this solution has 3 disadvantages compared to what i passed to you:
Make sure to go to the data editor - units - command center - behaviors and to remove the 'Terran - Structure burnout' behavior if you choose a low amount of HP as you did ;)
0
Here you go!
I have set the HP limit to 600 to make sure the building doesnt take damage because of burning down (would lead to new owner = old owner).
You should be able to use this trigger as is in your map =)
0
You can add conditions in the 'conditions' section (then you dont need the if then else) or add a "if then else" in the 'actions' section.
0
Hello bent15,
what you have done will change the ownership of the city as soon as any unit on your map takes damage.
This says: when any unit is damaged, change ownership of this unit to player1. If a marine was attacked, the marine would be given to player1.
You need to add some conditions as you only want to change the owenership if a specified unit is attacked (condition 1) and when its HP get low (condition 2)
Add these by adding a "if, then, else" action to your trigger.
I dont know how familiar you are with programming logic so ill give you a short explanation: if youre going to the store you check the weather to see if you need a jacket. if its raining or cold (<=15°C), you take a jacket. If not you dont do anything. this would be something like
If
....Or
........Temperature<= 15°C
........raining==true
then
........take jacket
else
........-leave this empty-
in your case, you want the unit to be your city (if i got that correctly - eg a command center as a city -> attack -> take over. I got that right?) Ill do this with a Command Center as your "city"-unit AND on top of that the unit should have <= 200HP. Here we go:
If:
....and
........Unit type of (Triggering Unit) == Command Center
........(Triggering Unit) Life (Current) <= 200
Then
........Unit - Change ownership of {Triggering unit} to player1 and Change Color
........Unit - Set (Triggering unit) Life to ((Triggering unit) Maximum Life (Current)) in case you want to set the life to full
Else
........-Leave Empty-
The units life action and condition can be found by searching for "unit property".
0
thank you for your efforts, I really appreciate!
0
i treid what you said but im getting an error message: "Catalog field 'Pitch' could not be written (Core: access denied ti required object or service)?"