Posted: Sun Jul 12, 2009 4:57 pm Post subject:
The Tank Bunker -COMPLETED
I have made the tank bunker model and got it ingame, and it is working, to a point....
Basically I cloned the firebase and removed the weapon from it along with the 3 garrision points, so now it only can hold 1 unit. Sadly, all I can get into it is infantry, as demostrated from this pic. What I need to find out is; is there anyway to make it so that in a certain vehicle only vehicles can garrison. Once I do that, it's golden. Everything else works perfectly, except its infantry instead of tanks. So, any advice?
tank bunker.jpg
Description:
Filesize:
12.74 KB
Viewed:
5920 Time(s)
_________________ Please, read the signature rules of the forum. Last edited by DaFool on Sun Jul 12, 2009 8:54 pm; edited 1 time in total QUICK_EDIT
Well coding-wise I don't know how to do it, as vehicles can enter Tunnels, use that...I dunno, then give it a fireport or something...=/ _________________ Please, read the signature rules of the forum. QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Sun Jul 12, 2009 5:41 pm Post subject:
It's not the problem that DaFool doesn't get them working, it's the problem of only letting specific vehicles enter it, like in YR. At least, that is what I suspect DaFool means... QUICK_EDIT
Ok, I have got it to work exactly as it should. Credits go to the SWR team. I d/led thier mod and I took a look at their coding, and they had a couple tags I didn't know about. These tags went into the same module that goes with the firebase that allows it to have infantry garrisoned. Namely;
Code:
AllowInsideKindOf =
ForbidInsideKindOf =
Using those two tags can allow the modder to control what types of units enter the bunker. Case Closed.
tbnk working.jpg
Description:
Filesize:
31.46 KB
Viewed:
5859 Time(s)
_________________ Please, read the signature rules of the forum. QUICK_EDIT
in YR, I believe every vehicle that has a turret with the exception of the Magnetron can enter a tank bunker _________________ Please, read the signature rules of the forum. QUICK_EDIT
I think it's a much better idea to use RiderContain (bike logic) since there isn't any neutron weapons in your mod anyway.
It's better because:
- You can control exactly what vehicles you want in (up to 9).
- Your vehicles won't be facing some random direction (will follow how you allign the model).
- You can control the weapon more directly (no need to meddle with weapon bonuses).
However, one key flaw is the maximum of 9, and with Yuri being the mind control faction, it might become a severe limitation, or you can just make it into a feature or something. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum