Posted: Sun Jan 24, 2010 3:53 am Post subject:
A Few Questions
Subject description: About the 'Finer Points'
I've been searching the Gens/ZH inis, PPM, and the community in general, but there are some questions which none have answered particularly. Mostly my problems at the moment are modelling and texturing related, but there are some things which I don't know work in Generals in terms of code.
1: First problem is that I'm unsure as to how to texture models using RenX/Gmax. I think that there must be someone who knows, but I sure don't.
2: In C&C3 housecolor seems to act differently to Generals - with decals applied to the housecolor (numbers, logos, scratches, gradients, animated textures, etc.) Can such be done in Zero Hour, or am I stuck with coloured shapes?
3: Is it possible for a weapon to only be able to fire in a certain direction (say, at anything on the left side of a unit)? In other words, can I have a unit with a weapon which only fires at objects within a specific arc? I can't think of one off the top of my head in vanilla ZH, so it might be impossible, am I correct?
4: Can units act as aircraft carriers in a normal skirmish? The carrier I'm working with sort of... flies. I haven't got as far as getting it ingame, so I haven't wasted too much time if it doesn't work...
Thanks guys, I know there aren't many of you around PPM who will be able to answer these questions, but I'm sure you'll help QUICK_EDIT
1. I sorta know. but.. complicated to explain
2 I Have no idea.
3. I belive so.. I can think o fsome units.. that must move the whole vehicle to aim.. other than that.. i have no idea.
4. Yes and no..
Orac.. if you were able to get on msn..
i could explain a bit better on..question 4 QUICK_EDIT
Housecolor is applied to a mesh instead of only a texture. But you can at least give it some brighter/darker parts with a b/w texture. See the Particle Cannon, Patriots and other stuff for example. I don't know if you can animate it too (via uv move like tank tracks), you have to test that. _________________ QUICK_EDIT
1. To texture in Renx/gmax/3ds max you must UV uwnrap the model
2. Actuallly is possible to have the house collor shows in normal textures, like in CnC3... You must have the texture name starthing with zhca_texturename.dds (look into infantry units for a more precise name (they were did this way)) And in the place you want the texture, leave it transparent. the game will read as HouseCollor Enjoy!
3. Possible. You just need to edit the "turretrotationpitch' or something like that and specify the number of degress that you want it to rotate: 45°, 15°, 90°...ect.
4. Aircraft carriers, like in RA3 or like in Generals? Please explain more.
Hope that helps...keep them comming! I love to answer questions _________________ QUICK_EDIT
Aircraft carriers as in big ships which have aircraft docked on them, with the aircraft able to fly off, attack targets, then return to the carrier.
Thanks for the answers, Gen. Kenobi! I'm beginning to get a bigger picture of the possibilities.
I have some aircraft which I want to be able to change heights of flight ingame (lower for stealthier flight, higher for more armour, etc) I know I can switch between two locomotors, or whatever they are called in Gens, but is it possible to switch between more than just two? QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Thu Jan 28, 2010 8:47 pm Post subject:
Working ACC (AirCraftCarriers) are impossible. At least, they can't move.
As for your locomotor question: you can only have LOCOMOTOR_NORMAL and LOCOMOTOR_SLUGGISH. Short said, you can't have more then 2
Also, about the housecolor-texture question: ain't it just as simple as naming the section HOUSECOLORxx, and giving it a texture? I remember that I did it this way for IC by accident QUICK_EDIT
Just checking on the ACC answers, because I'm noticing a trend towards the 'no', but is Frontlines' answer as to Aircraft carriers plausible?
Frontlines wrote:
For Units acting like an Aircraft carrier.. i have a few things you could do..
Have the carrier.. garrisonalbe.. and like on some buildings where you can see the unit that is Garrisoned... its some bone that lets you view the garrisoned units.. Have that fory our Aircraft carrier.. let only Aircraft inside of it.. and put those bones whereever you want. -i have not tested this theory, but it is how im gonna make my Air.. Aircraft carrier #Tongue-
Another is copy the bones from an Actual Aircraft carrier, and add them to your model. also.. rumage around the code for the carrier, because i remember reading somewhere that there is a code that lets a unit be an aircraft carrier.
Which is all good, but I'm having trouble testing it atm, because my skill at coding is shaky. QUICK_EDIT
yes.. i would like to know if my way is possible.. becuase.. i dont want to have to do a lot of testing.. to find out its not working.. becuase it can't work.. If it can work like that.. Then.. Good.. QUICK_EDIT
Those are all the one's I've seen in the GLA infantry ini. Wander and Panic were found in the angry mob code.
As for your carrier, exactly what do you want it do? You could probably do something like the drones from the USA vehicles as something relativly close. Or take the american air craft carrier and mod it slightly.
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Fri Jan 29, 2010 11:55 am Post subject:
Call me blunt, but a working moving ACC can't be done. It has been tried&tested many times, but it can't be done. The ACC in the second USA ZH Mission is possible because it can't move. QUICK_EDIT
One thing you can try is to have the planes contained in it through a transport module, give it a weapon with DEPLOY damage type, and your little planes will fly out to attack stuff when you order your carrier to. It's important to make the planes unselectable.
Potential problems:
1. I have no idea if it even works.
2. Planes can not be made to reload in airfields, ie you can only give them weapons with unlimited ammo.
3. Planes might not always return to the carrier.
4. I do not know how to replace destroyed planes properly, so you might need to make planes indestructible.
5. You can't display the planes on a deck reliably, so it needs to be VTOL and come out from some sort of hole for it to look good.
6. You can't make the planes be destroyed when the carrier gets killed without using some sort of death weapon on the carrier. 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