How do I make spraymines destructable?
Moderators: GSH, VSMIT, Red Devil, Commando
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
How do I make spraymines destructable?
I speak of the splinter in particular. I know it can be destroyed via splash damage, but is there any way to make it directly hittable?
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: How do I make spraymines destructable?
In the existing 6.2 code, I think you would need canCollide on, but you would not want to do this as it would then be like a small building had suddenly appeared, vehicles might collide with it too, it probably wouldn't actually work as the mine is animating anyway. Considering recent developments, I would put this idea in the to do later box.
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Re: How do I make spraymines destructable?
Well, this was brought up due to a balance complaint from one of the VSR testers (Mortarion) stated that splinters distract base AI (gun spires) but they cannot hit it (discovered in a live game where I gave my thugs splinter on their tanks, and used them to assault a Scion base). And given the more powerful nature of VSR splinters, the AI should either ignore it, or the splinter attack should be interruptable somehow. I agree with this idea, and lean more towards splinter damage being reducable -- as our previous tests indicated that a mass splinter assault can't really be stopped except by killing the attacking units, and by this time it's usually too late.
Anyways, it looks like canCollide works. That said, it possesses the same 'hard' collision as a building does when it is deployed. This is not a huge deal due to the tiny nature of the model and given that vehicles that collide with the splinter by attempting to pass through it will get bumped a little bit to the side and will still be able to pass. Also I am pleased that ordnance collides with the splinter model accurately, making it hard to hit but still destructable.
Given the fact that splinter has been given H armor and a fair amount of health (360 instead of 100), combined with the fact that it does more damage vs vehicles and its ammo costs have been reduced. I think we can say that Splinter is approaching a good amount of usefulness as well as balance.
Anyways, it looks like canCollide works. That said, it possesses the same 'hard' collision as a building does when it is deployed. This is not a huge deal due to the tiny nature of the model and given that vehicles that collide with the splinter by attempting to pass through it will get bumped a little bit to the side and will still be able to pass. Also I am pleased that ordnance collides with the splinter model accurately, making it hard to hit but still destructable.
Given the fact that splinter has been given H armor and a fair amount of health (360 instead of 100), combined with the fact that it does more damage vs vehicles and its ammo costs have been reduced. I think we can say that Splinter is approaching a good amount of usefulness as well as balance.