 |
Forum Info
|
 |
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,205
Administrators:
DeeZire, Redemption
There are currently 104 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
02-25-2004, 02:53 AM
|
#1 (permalink)
|
|
Guest
|
Attack loco command
Heres an easy one. How do you tell a unit to guard and have it use its attack locomotor when you do the command. Unless you tell a unit to attack a specific object, it will not use its attack locomotor.
|
|
|
|
02-25-2004, 04:54 AM
|
#2 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Location: the Netherlands
Posts: 228
|
well if you were to replace the GUARD by ATTACK in the commandbutton it might just use that locomotor, however, it wont guard that area, but make an attackmove
|
|
|
02-25-2004, 08:28 AM
|
#3 (permalink)
|
|
Guest
|
Tried it. For a unit or object to use an attack locomotor it has to be told to attack a specific unit. Even the attackmove command does not initiate the attacklocomotor of the unit if the attackmove command is not on an enemy unit.
|
|
|
|
02-25-2004, 05:29 PM
|
#4 (permalink)
|
|
Guest
|
Must be hard coded, any ideas as to trick a unit to use its attack locomotor?
|
|
|
|
02-25-2004, 06:25 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Location: the Netherlands
Posts: 228
|
you could try and make a bogus weapon, that is fired with an ability button, and you can set the ground to be a valid target.
|
|
|
02-25-2004, 07:25 PM
|
#6 (permalink)
|
|
Guest
|
That does work. If I set a commandbutton that has the command like the command rocketpod weapon for the commanche which is FIRE_WEAPON instead of GUARD, the unit goes into attackmode. Then I set in the commandbutton weaponslot = primary and maxshotstofire = 0. This is kind of tricky. It is for a vertical takeoff JSF but with an attack locomotor with the appearance as WINGS so it can circle while in guard (attacklocomotorpersisttime = 1000 or so). During takeoff the JSF jumps into its attack locomotor pretty quickly. This command makes it so the two locomotors kind of collide and it just does small circles over the airfield only until I tell it to do something else.
What is the INSTANT_TARGET settings in the options of the command button? Remote Charges for burton have this command (or some input from the producer just reference to it). Might be an idea.
|
|
|
|
02-25-2004, 11:05 PM
|
#7 (permalink)
|
|
Guest
|
One more question. What specifies how the aircraft lands. Basicjettaxiing seems to be only for takeoff, what about landing?
|
|
|
|
02-26-2004, 02:40 AM
|
#8 (permalink)
|
|
Guest
|
Well I got one reply so far, I hoped I could of done this cleaner. Take away the aircraft kindof, needsrunway=no, set_normal loco to your normal than on the same line put your hover loco. Returnforammolocotype is your hover. JSF takes off and lands vertically, guards with a WINGS appearance, and without the aircraft kindof and stop command, it will only return to your airfield to rearm, and won't make the locos conflict. I got an F-35B
|
|
|
|
02-26-2004, 05:09 AM
|
#9 (permalink)
|
|
Senior Member
Join Date: Dec 2002
Posts: 1,031
|
Very nice coding.
You working on a mod?
|
|
|
02-26-2004, 05:31 AM
|
#10 (permalink)
|
|
Guest
|
No way, it still did not turn out, glitches here and there, sometimes the locos collide and the jet makes me dizzy circling. I keep climbing up dead trees. It works but its not clean and I scrapped it. Just a realism fan that sees the possible potential the game could have in many ways. A lot of it seems out of my reach, I keep posting things that people have probably tried a hundred times, it never worked out, and their tired of hearing about it. Maybe their just smart enough to see it can't be done in the first place. Although working with units already in the game comes simple.
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 11:40 AM.
|