 |
Forum Info
|
 |
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520
Administrators:
DeeZire, Redemption
There are currently 31 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
02-13-2004, 07:14 PM
|
#1 (permalink)
|
|
Junior Member
Join Date: Aug 2003
Location: Lil Kingston KWA Lauderhill Broward County
Posts: 12
|
Drones For Infantry?
I trying to make a mod that feature Infantry
with the abilities to have drones but every time i try it crash.
Can i get a little help please
|
|
|
02-14-2004, 12:37 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
|
Well, post the parts of the ini files that you have edited, and we may be able to help you out.
Alternatively, you can take a look at your ReleaseCrashInfo.txt (in your Generals Data folder) and it will give you an error message - post that here and it may give you / us more of an idea to the error.
Personally, I think you just missed a section of the ini necessities out like an OCL identifier or what-not.
|
|
|
02-14-2004, 03:58 PM
|
#3 (permalink)
|
|
Junior Member
Join Date: Aug 2003
Location: Lil Kingston KWA Lauderhill Broward County
Posts: 12
|
Behavior = ObjectCreationUpgrade ModuleTag_14
UpgradeObject = OCL_AmericanScoutDrone
TriggeredBy = Upgrade_AmericaScoutDrone
End
That's all the code i added to the Infantry what's wrong with it?
Also i copied this from the hummer and added to the american infantry units
|
|
|
02-14-2004, 04:58 PM
|
#4 (permalink)
|
|
Senior Member
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
|
Well, there's nothing wrong with that - possible solutions;
a) have you created any ini code in the CommandSet to allow the drones to be built?
b) Have you tried changing the offset in the OCL?
c) Have you made an addition to Upgrade.ini, if so, are you sure it's sound. This is the likely cause of the error.
d) The error may simply be you giving the module tag a different number - you don't do this in Generals, keep the original module tag number. It should be 06 for a battle drone and 07 for a scout drone.
e) Battle / Scout Drones have a prequisite of the War Factory - but that won't change their upgrade prequisite. This could be clashing. Change that in the Drone entry in the FactionUnit
That's all I can think of right now. One of those could likely be the problem, probably c,d or e. Most likely d.
|
|
|
02-15-2004, 12:10 PM
|
#5 (permalink)
|
|
Junior Member
Join Date: Feb 2004
Posts: 1
|
look in the releasecrashinfo text in your Generals Zero Hour Data folder in your My Documents... whats it say the problem is?
|
|
|
03-01-2004, 08:37 PM
|
#6 (permalink)
|
|
Junior Member
Join Date: Aug 2003
Location: Lil Kingston KWA Lauderhill Broward County
Posts: 12
|
no what I think the code I using is what the problem
anyone got any other code I could use or
borrow for my personal review please 
|
|
|
03-01-2004, 09:08 PM
|
#7 (permalink)
|
|
Senior Member
Join Date: Aug 2003
Posts: 1,087
|
Well I just added the code to a ranger with no errors.
Quote:
|
Originally Posted by Ambershee
d) The error may simply be you giving the module tag a different number - you don't do this in Generals, keep the original module tag number. It should be 06 for a battle drone and 07 for a scout drone.
|
Youre on the right track, however, drones(in fact anything) can have a different module tag from unit to unit.What you cant have is two modules with the same tag in the same unit.
This is easy though becasue you can give module tags any name.I called mine "ModuleTag_XXX" to ensure there were no clashes.If you are going to apply a quick hack and slash across many units, then give it a unique tag.THis is more than likely the error if you used ModuleTag_14 across everything, becasue most units have more than 14 modules so u can expect quite a few clashes.
Quote:
|
e) Battle / Scout Drones have a prequisite of the War Factory - but that won't change their upgrade prequisite. This could be clashing. Change that in the Drone entry in the FactionUnit
|
It didnt require the war factory when I built one just then 
|
|
|
03-01-2004, 10:11 PM
|
#8 (permalink)
|
|
Senior Member
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
|
Ok, I know for a fact that it is possible to enable drones for structures, and that is harder than infantry, since structures never move.
But infantry do, just like vehicles, so it should be fairly easy. I never tried this, but just a guess, add the exact same lines to the infantry as any USA vehicle concerning the drone. Changinf ModuleTag# ofcourse.
|
|
|
03-01-2004, 10:44 PM
|
#9 (permalink)
|
|
Senior Member
Join Date: Mar 2003
Location: CANADA
Posts: 275
|
um.. put the drone build buttons in the infantry units command set?
|
|
|
03-02-2004, 04:01 AM
|
#10 (permalink)
|
|
Senior Member
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
|
Quote:
|
Originally Posted by key0p
This is easy though becasue you can give module tags any name.I called mine "ModuleTag_XXX" to ensure there were no clashes.
|
In fact, you can give them any name, not just ModuleTag_nn. You could make code like Behavior = ObjectCreationUpgrade MyFriendIsGreen and it would still work!
|
|
|
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 06:26 PM.
|