| 09-22-2002, 09:27 PM | #1 |
In my map I'm using custom units to trigger various abilities on buildings (I remove the unit and make a special effect instead). But it looks unproffesional for those buildings to have rally points when they really don't make any units. Things I've figured out: -Selecting the building, and then using the Add Unit to Selection action on a unit outside your vision makes the rally point flag disappear -I can detect when a rally point order is given and simply set it to be back on the building again, effectively stopping the player from setting rally points Problem: -Can't get the damn button to go away. I've tried pushing it off with a bunch of blank units (They just wrap around), setting it's button position in Units/CommandFunc.txt to be 5,5 which is outside the box (crashes game), leaving it blank (assumes 0,0), commenting it out entirely (assumes 0,0 and uses sammy cube gfx). I would edit the blp to just be a black box, but then players could still accidentally click on it >_< Anyone have any ideas? |
| 09-22-2002, 09:56 PM | #2 |
Guest | You could make the building sell the units instead of training them. When a building is in sell mode (it is actually possible for it to do both, in a way) it doesn't have a rally point at all. It looks like every building has a units sold field. |
| 09-22-2002, 09:59 PM | #3 |
I've had a similar problem too, but your post made me think of something... My version of this problem is a unit that trains buildings (which obviously don't move), but the unit has a rally point. Right clicking normally makes that unit move, not sets its rally points, but if you right click while it's building (or techincally, training), it sets the rally point. So... in theory if we set all of these units rally points to places where no one will see/notice (corner of the map, etc), the rally points won't be seen, instead of being an archer model with a stick on its head. Now removing the rally point command is another story... |
| 09-23-2002, 08:39 PM | #4 |
Guest | Why do you want to get rid of the rally point ? Is it just the button that bothers you, or the ´send unit to command´??? .... |
