make an unit completely invisible

D

dunpealx4

Guest
i have been trying to make camouflage ability. nobody can see the caster once he cast it, not even the owner. but they all can see its shadow and the unit is selectable. this is what i have tried.

i made a hero, Sniper. the camouflage ability is based on Crow Form. the alternate unit is the same as the original sniper except its height is set to 1000. and its shadow set to flyer. but the problem is, i thought with the height 1000, it should be able to hide the unit. but somehow i can still see some part of the unit very big in the air. how can you completely hide the model? but you can still see the shadow? can you remove the unit model?
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Try

Code:
Animation - Change [B]Your Unit[/B]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
 
D

dunpealx4

Guest
how du you do that? windwalk? then people need to detect it 1st in order to see it.

OHhh you mean with the triggers. i see, i am gonna try now.
 
D

dunpealx4

Guest
what is the command for no model? i tried none.mdl, then all i see is a green checkerbox.
 
T

The Mapmaker

Guest
I'd say that the transparency works best because you can't change the model through triggers and it's more complicated adding a hide ability than changing the transparency.

Edit: put "_" (without the "'s) in the model to change it to no model (but look above a little)
 

The Arcot

New Member
Reaction score
7
the green checkerbox is the right thing. It only shows up in the editor so you can remember it's there. In game theres nothing.

And as for changing it via triggers, if youre basing the ability off crow form, the idea is that you shouldn't have to use triggers at all. That's why I suggested it.
 
T

The Mapmaker

Guest
I suggested changing transparency through triggers, not Crow Form. Transparency makes the unit transparent.....invisible, unable to be seen.
 

The Arcot

New Member
Reaction score
7
I know. But in the first post he said
the camouflage ability is based on Crow Form

Anyway, I was just posting an alternate suggestion. I thought it would be easier, but the results might not be as good (or maybe they would, I haven't tried)
 

waaaks!

Zinctified
Reaction score
256
give the unit permanent invisiblity with a duration of 0

because the duration refers on how long will the unit fades if it is revealed, when attacking or doing some spells

and trigger it...

E: unit learns a skill
C: hero ability being learned equal to ur spell
A: animation - change unit vertex coloring to 100%, 100%, 100%, and 100% transparency
 
T

The Mapmaker

Guest
Your welcome.

But:
>give the unit permanent invisiblity with a duration of 0

because the duration refers on how long will the unit fades if it is revealed, when attacking or doing some spells

and trigger it...

E: unit learns a skill
C: hero ability being learned equal to ur spell
A: animation - change unit vertex coloring to 100%, 100%, 100%, and 100% transparency

I think he wanted everyone to be able to see the caster before the spell and no one to see the caster after the spell. Perm. invis. only lets the caster see before the spell.
 

Father_Yetti

New Member
Reaction score
46
I think that I may have a few ways of getting around this for you, and that don't involve anything too difficult. Here are a couple of things to try out:

take the tiniest of models that you can find and set the model scaling value as low as it will go. I don't have the editor installed at the moment so I don't know that this will work but it is worth a shot. The spell steal ability missile is extremely small.

I think that you can select to use no model which would work just fine too.

There are some models that you could select, usually under spawned effects, that will disappear after a few seconds of playing the animation file for that effect. If you found one that matched the look of the ability that you are going for then this could work for you. *For example, the impale spawned effect, when used as an art model file for a unit, will display two puffs of dust and then disappear completely. The dust would look like a magicians trick, using the cloud for cover.

*I haven't tried this using all the morphing abilities; when it is being used to switch to an alternate unit, however I believe it should work for you. If you can't get this to work then base your morph off of burrow, changing appropriate fields to suite the unit, because I know that this will work. I have done this myself and it is fairly easy.

-hope that helps?
 
H

HamsterBoo

Guest
does transparency remove shadow? if so, you may want to just remove the shadow from the unit altogether (no one would notice), or somehow remove it with triggers
 
D

dunpealx4

Guest
alright, i changed the idea a bit. but it didnt work. i use immolation as the based-spell because now i want sniper's mana decrease every second as long as it stays in cloak form just like Ghost in starcraft. and when it doesnt have enough mana, the unit will become normal. but even i remove the buff, i still see the green fire around my units and the unit doesnt turn invisible at all. what is wrong?
PHP:
invisible
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Camouflage (sniper)
    Actions
        Animation - Change (Casting unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 90.00% transparency
PHP:
invisible Copy
    Events
        Unit - A unit Stops casting an ability
    Conditions
        (Ability being cast) Equal to Camouflage (sniper)
    Actions
        Animation - Change (Casting unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
 

Romek

Super Moderator
Reaction score
964
use 100% transparency.
Use triggering unit, its faster and more responsive.
And sue
Code:
 tags instead of PHP tags :)
 
D

dunpealx4

Guest
i change to invisible Copy
Animation - Change (triggering unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100% transparency

nothing happens
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • 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

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top