Prevent vehicle showing in buy menu?
Posted: 11 Nov 2008 21:41
So, I'm coding articulated road vehicles. These have a tractor and one or more trailers.
I'd like to prevent the trailers appearing in the buy menu. I know it's possible because Zephyris coded the original grf for me and the trailers he provided don't appear in the buy menu. The ones I have added *do* appear.
I have been over the action 0, action and action 3 code for both vehicles several times, and I can't see what's different, apart from capacity and refittable classes. I've also read the TTDPatch wiki documentation for those actions several times tonight to see if I've missed a property, or a value of a property that should be set.
I am off to look over my code yet again, but can anyone hit me with a clue stick as to where I should be looking?
cheers,
Andy
I'd like to prevent the trailers appearing in the buy menu. I know it's possible because Zephyris coded the original grf for me and the trailers he provided don't appear in the buy menu. The ones I have added *do* appear.
I have been over the action 0, action and action 3 code for both vehicles several times, and I can't see what's different, apart from capacity and refittable classes. I've also read the TTDPatch wiki documentation for those actions several times tonight to see if I've missed a property, or a value of a property that should be set.
I am off to look over my code yet again, but can anyone hit me with a clue stick as to where I should be looking?
cheers,
Andy