Hi there, Im using the tips I got for a neutral bunker to create a vehicle a marine can enter and exit
I added a transport ability "CombatVehicle_transport" based on the bunker (which had boxes to check allies and neutral, but which I could not find in medvac for example), so that combat vehicle could take a pilot(if empty) or a passenger(until I make it only applicable to neutral units thus empty), I added this ability to the Hellion, and added the sharing ability made for the bunker;
type:interact, flagged for shareed-control, auto-cast, share-vision, i set the rage to 1, but could not find auto-cast range.
To simulate an empty vehicle I use a neutral hellion
I can enter and exit a hellion of mine to travel about faster, I can enter and exit a neutral Hellion (as if it was empty) and almost do the same;
while in the neutral hellion
a) I can move with right-click, but I can only attack by clicking the attack button and cannot attack with right-clicking an enemy unit
b) enemies dont fight back (probably due to neutral, ill try to make neutral enemy with enemy AI but then i fear the enemy AI will attack neutral structures)
c) for some reason, once I exit, I can still command the neutral hellion and make it move half an inch before it stops and a message mentions I cant control that unit(after its normal and I can not control it until I get in)
Ill try making the neutral player enemy vs computer to see what happens but any ideas or comment would be welcomed
edit
Ok I tried with making empty vehicles player 7 (unused) instead of player 0, and making player 7 neutral with player 1 (main player), and its much better, I can control the Hellion normally(right-click to attack works), enemies attack it
theres only two minor issues;
a) enemies now attack it (and the bunker) even if its posing as being empty which is a bit odd
b) I can control for a wee bit of time (or get it moving half an inch) the Hellion after exiting it (when its supposed to be empty)
Instead of using share you could try setting up a trigger that just gives you the unit completely when a marine enters it, and gives it to neutral when one leaves.
"Instead of using share you could try setting up a trigger that just gives you the unit completely when a marine enters it, and gives it to neutral when one leaves."
good idea, though I dont know how to setup a trigger like that. I will look around the editor and poke around in case I get lucky and find it by accident.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi there, Im using the tips I got for a neutral bunker to create a vehicle a marine can enter and exit
I added a transport ability "CombatVehicle_transport" based on the bunker (which had boxes to check allies and neutral, but which I could not find in medvac for example), so that combat vehicle could take a pilot(if empty) or a passenger(until I make it only applicable to neutral units thus empty), I added this ability to the Hellion, and added the sharing ability made for the bunker; type:interact, flagged for shareed-control, auto-cast, share-vision, i set the rage to 1, but could not find auto-cast range.
To simulate an empty vehicle I use a neutral hellion
I can enter and exit a hellion of mine to travel about faster, I can enter and exit a neutral Hellion (as if it was empty) and almost do the same;
while in the neutral hellion a) I can move with right-click, but I can only attack by clicking the attack button and cannot attack with right-clicking an enemy unit b) enemies dont fight back (probably due to neutral, ill try to make neutral enemy with enemy AI but then i fear the enemy AI will attack neutral structures) c) for some reason, once I exit, I can still command the neutral hellion and make it move half an inch before it stops and a message mentions I cant control that unit(after its normal and I can not control it until I get in)
Ill try making the neutral player enemy vs computer to see what happens but any ideas or comment would be welcomed
edit
Ok I tried with making empty vehicles player 7 (unused) instead of player 0, and making player 7 neutral with player 1 (main player), and its much better, I can control the Hellion normally(right-click to attack works), enemies attack it
theres only two minor issues; a) enemies now attack it (and the bunker) even if its posing as being empty which is a bit odd b) I can control for a wee bit of time (or get it moving half an inch) the Hellion after exiting it (when its supposed to be empty)
@IceWendigo: Go
Instead of using share you could try setting up a trigger that just gives you the unit completely when a marine enters it, and gives it to neutral when one leaves.
"Instead of using share you could try setting up a trigger that just gives you the unit completely when a marine enters it, and gives it to neutral when one leaves." good idea, though I dont know how to setup a trigger like that. I will look around the editor and poke around in case I get lucky and find it by accident.