The Jim Raynor Sniper unit has a light infront of it and I was wondering what that was. At first I thought it might be a model or an actor but I can't see anything on his unit that makes me think it's that. I'm trying to add it to another unit, but don't know how. Anyone know how?
Also I asked this earlier but I was wondering if anyone knew how to make an ability that would function similarly to the general attack ability in that you could click a and then right click somewhere and the unit would autocast it.
It's part of a model. There's a "Flashlight" model in the data files that you should be able to attach to an arbitrary unit to add a flashlight capability, but short of editing the model file you will not be able to remove it from a model where it's built in.
As for your second question I have absolutely no idea what you're asking.
It's part of a model. There's a "Flashlight" model in the data files that you should be able to attach to an arbitrary unit to add a flashlight capability, but short of editing the model file you will not be able to remove it from a model where it's built in.
As for your second question I have absolutely no idea what you're asking.
Thanks for the reply. I'll take a look for that model.
Also let me try to explain my question a little better. I have a marine with an ability that works exactly like the attack ability but costs energy. Unfortunately it also works like a regular ability in that I can't hit the hotkey, click somewhere on the map, and expect the unit to cast that ability on any unit it sees.
The attack ability that most units have lets you hit A, the hotkey for it, click somewhere, and the unit will attack any enemy units they run into. I'm trying to make this ability work that way too, but can't really find out how. The closest I've gotten to it is autocasting. Does that help?
Thanks for the reply. I'll take a look for that model.
Also let me try to explain my question a little better. I have a marine with an ability that works exactly like the attack ability but costs energy. Unfortunately it also works like a regular ability in that I can't hit the hotkey, click somewhere on the map, and expect the unit to cast that ability on any unit it sees.
The attack ability that most units have lets you hit A, the hotkey for it, click somewhere, and the unit will attack any enemy units they run into. I'm trying to make this ability work that way too, but can't really find out how. The closest I've gotten to it is autocasting. Does that help?
Could you just turn the ability into a weapon? The behavior you're talking about is unfortunately hardcoded into the attack/weapon system, so you will probably have to find some complicated workaround otherwise.
I'm not entirely sure how to change an ability into a weapon. Do you think you could tell me how to do that? If that doesn't work, I'm thinking of just giving up on the whole ammunition thing. I don't know why the editor won't let you just add an energy requirement to the attack ability.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey guys.
The Jim Raynor Sniper unit has a light infront of it and I was wondering what that was. At first I thought it might be a model or an actor but I can't see anything on his unit that makes me think it's that. I'm trying to add it to another unit, but don't know how. Anyone know how?
Also I asked this earlier but I was wondering if anyone knew how to make an ability that would function similarly to the general attack ability in that you could click a and then right click somewhere and the unit would autocast it.
Thanks for your time guys.
It's part of a model. There's a "Flashlight" model in the data files that you should be able to attach to an arbitrary unit to add a flashlight capability, but short of editing the model file you will not be able to remove it from a model where it's built in.
As for your second question I have absolutely no idea what you're asking.
Thanks for the reply. I'll take a look for that model.
Also let me try to explain my question a little better. I have a marine with an ability that works exactly like the attack ability but costs energy. Unfortunately it also works like a regular ability in that I can't hit the hotkey, click somewhere on the map, and expect the unit to cast that ability on any unit it sees.
The attack ability that most units have lets you hit A, the hotkey for it, click somewhere, and the unit will attack any enemy units they run into. I'm trying to make this ability work that way too, but can't really find out how. The closest I've gotten to it is autocasting. Does that help?
Could you just turn the ability into a weapon? The behavior you're talking about is unfortunately hardcoded into the attack/weapon system, so you will probably have to find some complicated workaround otherwise.
@RileyStarcraft: Go
I'm not entirely sure how to change an ability into a weapon. Do you think you could tell me how to do that? If that doesn't work, I'm thinking of just giving up on the whole ammunition thing. I don't know why the editor won't let you just add an energy requirement to the attack ability.