Code: Select all
[Base]
|
|---[Gun]
| |
| [Barrel]
|
|---[Tred]
Moderator: Moderators
Code: Select all
[Base]
|
|---[Gun]
| |
| [Barrel]
|
|---[Tred]
Code: Select all
TransportCapacity=15;
TransportMass=2500;
TransportSize=2;
I think you're over the max transport size, 2x2 is small, all of my turrets in BloX are 4x4. And they are small.transportcapacity - Max units
TransportMass - Max weight the transport holds.
transportsize - that is the Max X, and Max Z of units it picks up.
Code: Select all
#define UNIT_BUILD_PERCENT_LEFT 73
static-var unitCompleteness;
...
unitCompleteness=get UNIT_BUILD_PERCENT_LEFT(unitID);
So, that would get the unit currently being builts health?yuritch wrote:Is that what you were looking for?Code: Select all
#define UNIT_BUILD_PERCENT_LEFT 73 static-var unitCompleteness; ... unitCompleteness=get UNIT_BUILD_PERCENT_LEFT(unitID);
There's some truth in it but I want to make a game, not a graphics demo. Especially as I tend to remodel some new things I don't really like the texture mapping also would have been a waste of time - so maybe I'll think about that when the mod is finished (and Mr. D did a big part of my job alreadyKDR_11k wrote:Best way to make sure you'll never have all units done in s3o.