Help with one skill

dls

New Member
Reaction score
0
Hi I am new in world edit and helper. Need help with one skill for my star ships. If I want to click on the skill to fly ship one way, others players can´t see ship, so that consume lumber and very fast speed. This is that hyperspace for ship. Hehe :cool:
 

Ayanami

칼리
Reaction score
288
Welcome to The Helper Forums!

Let me get it right. You're trying to make the ship invisible but consumes gold and lumber over time?
 

dls

New Member
Reaction score
0
If ship reaches level for example 6 player learn skill and skill is hyperspace. If click on the skill player click anywhere on the map and ship fast move in this place with invisible and consume lumber. Sorry for my English
 

crazyfanatic

New Member
Reaction score
20
you need a trigger for taking gold and lumber, but the invisible thing can be done by using wind walk.
 

crazyfanatic

New Member
Reaction score
20
or make it with shockwave with unlimited range, then add with trigger the invisibility skill and create a dummy casting bloodlust to the unit, increasing speed. Then issue mive and make a trigger that removes the buffs when another issue is given.
 

Joccaren

You can change this now in User CP.
Reaction score
54
Base it off wind walk (This won't give you the move to point, the unit will have to be ordered by the player to move to that point) and use this trigger:

Event: Every 1 seconds of game time
Conditions:
Actions: Pick every Unit in Playable map area matching: '(Matching Unit) has (Your Buff) equal to true' and do actions:
Loop:
Set (Owner of (Picked Unit))'s current lumber to (Owner of (Picked Unit))'s current lumber - (Your Value)
 

crazyfanatic

New Member
Reaction score
20
he wants to set target with his ability, ww just uses a target dependant by the position and facing angle.
 

crazyfanatic

New Member
Reaction score
20
then the casual shockwavw works, maybe you can make it like dota's faceless void time walk skill without the colours fading
 

Joccaren

You can change this now in User CP.
Reaction score
54
1. Not everyone plays DotA, explain what the spell does.
2. Use this Trigger as-well then:

Event: Unit begins the effects of an ability
Conditions: ability being cast equal to (Your Ability)
Actions: Order (Triggering unit) to move to (Target Point of ability being cast)
 

crazyfanatic

New Member
Reaction score
20
time walk is an ability, that makes you black and invulnerable, dashing to a point with very high movespeed /about 1500-2000 without seeing lag/ then returns your colours and makes you vulnerable.
 

Joccaren

You can change this now in User CP.
Reaction score
54
A problem with using shockwave is the moving of the unit to the location. If it can move to anywhere on the map, this will be near impossible to time correctly. You could say 'Wait 5 seconds' but then, if they almost next to them, they will cast it and then wiat 5 seconds before appearing there. If you say 'wait 1 second', they could target the other end of the map move there before the shockwave reaches them. Any of these would really screw up the animations.
 

crazyfanatic

New Member
Reaction score
20
the trick is that the unit is paused during the move, you just move it every .01 seconds 15 units fwd, then check if the unit is at the target location, if so, unpause and other stuff, turn off periodic trigger, etc, else just continue moving.
 

Ayanami

칼리
Reaction score
288
Perhaps this is what you're looking for. Posted the map too.

Trigger:
  • Hyperspeed
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Hyperspeed
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • CustomValue Less than 100
        • Then - Actions
          • Set CustomValue = (CustomValue + 1)
        • Else - Actions
          • Set CustomValue = 1
      • Set Caster[CustomValue] = (Triggering unit)
      • Set CasterLoc[CustomValue] = (Position of Caster[CustomValue])
      • Set TargetPoint[CustomValue] = (Target point of ability being cast)
      • Set ResourceCountReal[CustomValue] = 0.00
      • Animation - Change Caster[CustomValue]'s vertex coloring to (20.00%, 20.00%, 20.00%) with 0.00% transparency
      • Unit - Make Caster[CustomValue] Invulnerable
      • Set TempPoint = (Center of (Playable map area))
      • Unit - Create 1 Hidden Dummy for (Owner of Caster[CustomValue]) at TempPoint facing Default building facing degrees
      • Unit - Set the custom value of (Last created unit) to CustomValue
      • Unit Group - Add (Last created unit) to DummyGroup
      • Custom script: call RemoveLocation(udg_TempPoint)


Trigger:
  • Hyperspeed Periodic
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
      • (DummyGroup is empty) Equal to False
    • Actions
      • Unit Group - Pick every unit in DummyGroup and do (Actions)
        • Loop - Actions
          • Set TempInt = (Custom value of (Picked unit))
          • Set TempPoint = (Position of Caster[TempInt])
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Distance between TempPoint and TargetPoint[TempInt]) Less than or equal to 80.00
            • Then - Actions
              • Animation - Change Caster[TempInt]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
              • Animation - Change Caster[CustomValue]'s animation speed to 100.00% of its original speed
              • Animation - Play Caster[CustomValue]'s slam animation
              • Unit - Make Caster[TempInt] Vulnerable
              • Custom script: call RemoveLocation(udg_TempPoint)
              • Custom script: call RemoveLocation(udg_CasterLoc[udg_TempInt])
              • Custom script: call RemoveLocation(udg_TargetPoint[udg_TempInt])
              • Unit - Remove (Picked unit) from the game
            • Else - Actions
              • Set Offset[TempInt] = (TempPoint offset by 60.00 towards (Angle from TempPoint to TargetPoint[TempInt]) degrees)
              • Unit - Move Caster[TempInt] instantly to Offset[TempInt]
              • Unit - Create 1 Fade Dummy for (Owner of Caster[TempInt]) at TempPoint facing TargetPoint[TempInt]
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Animation - Change (Last created unit)'s vertex coloring to (20.00%, 20.00%, 20.00%) with 0.00% transparency
              • Animation - Play (Last created unit)'s slam animation
              • Unit Group - Add (Last created unit) to FadeGroup
              • Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
              • Special Effect - Destroy (Last created special effect)
              • Unit - Turn collision for Caster[TempInt] Off
              • Custom script: call RemoveLocation(udg_TempPoint)
              • Custom script: call RemoveLocation(udg_Offset[udg_TempInt])
          • Set GoldCheck = 5
          • Set ResourceCountReal[TempInt] = (ResourceCountReal[TempInt] + 0.03)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourceCountReal[TempInt] Greater than or equal to 1.00
              • ((Owner of Caster[TempInt]) Current gold) Greater than or equal to GoldCheck
            • Then - Actions
              • Player - Set (Owner of Caster[TempInt]) Current gold to (((Owner of Caster[TempInt]) Current gold) - GoldCheck)
            • Else - Actions
              • Animation - Change Caster[TempInt]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
              • Animation - Change Caster[CustomValue]'s animation speed to 100.00% of its original speed
              • Animation - Play Caster[CustomValue]'s slam animation
              • Unit - Make Caster[TempInt] Vulnerable
              • Custom script: call RemoveLocation(udg_TempPoint)
              • Custom script: call RemoveLocation(udg_CasterLoc[udg_TempInt])
              • Custom script: call RemoveLocation(udg_TargetPoint[udg_TempInt])
              • Unit - Remove (Picked unit) from the game


Trigger:
  • Hyperspeed Fade
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
      • (FadeGroup is empty) Equal to False
    • Actions
      • Unit Group - Pick every unit in FadeGroup and do (Actions)
        • Loop - Actions
          • Animation - Change (Picked unit)'s vertex coloring to (20.00%, 20.00%, 20.00%) with (Real((Custom value of (Picked unit))))% transparency
          • Unit - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) + 10)


The fade dummy and group is basically an extra eye candy I made for the spell. Leaves behind a trail of yourself. Hope this helps.

Glenphir
 

Joccaren

You can change this now in User CP.
Reaction score
54
Yeah, but then how do you check how much lumber to remove each second and actually remove it each second?

Using Wind walk with my two triggers + one more to check when it reaches its target location then remove the buffs is an easy way of doing this.

Edit: Not refering to your method Glenphir, haven't checked yours yet but prob works
 

crazyfanatic

New Member
Reaction score
20
just remove lumber periodically, set the casting position and current position and remove lumber for distance travelled.
 

Ayanami

칼리
Reaction score
288
Yeah, but then how do you check how much lumber to remove each second and actually remove it each second?

Using Wind walk with my two triggers + one more to check when it reaches its target location then remove the buffs is an easy way of doing this.

Edited my codes and map. Now it does check for gold and removes gold.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top