logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,575
Total Threads: 8,656
Posts: 94,426

Administrators:
DeeZire, Redemption

There are currently 54 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 09-06-2004, 01:59 PM   #1 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default Rebel ambush coding error

Well I coded in the rebel ambush for Iran. Copy and paste of course, than changed the Spawn to a variety of units as per Sleipnir. Well all the icon appear correctly and they select correctly and earned correctly but when I go to place the ambush at any tier there is the circle with a line through it. Same cursor like when you try to move something where it can't go.

Anyone seen this. Here is the spawned units cause that will be the next question. Assume all prerequisites are met so that is not the issue. As are all units referenced too also present and verified.

;==============================Terror Cell====================
ObjectCreationList SUPERWEAPON_TerrorIranAmbush1
CreateObject
ObjectNames = Iran_Stl_InfantryRebel
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = Iran_Stl_InfantryTerrorist
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End

End

; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_TerrorIranAmbush2
CreateObject
ObjectNames = Iran_Stl_InfantryRebel
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = Iran_Stl_InfantryTerrorist
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantrySaboteur
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantryHijacker
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
End

; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_TerrorIRanAmbush3
CreateObject
ObjectNames = Iran_Stl_InfantryRebel
Count = 6
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = Iran_Stl_InfantryTerrorist
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantrySaboteur
Count = 2
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
CreateObject
ObjectNames = IranInfantryHijacker
Count = 4
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
End
; CreateObject
; ObjectNames = IranInfantryJarmenKell
; Count = 1
; SpreadFormation = Yes
; MinDistanceAFormation = 20.0
; MinDistanceBFormation = 30.0
; MaxDistanceFormation = 400.0
; FadeIn = Yes
; FadeTime = 3000
; DiesOnBadLand = Yes
; FadeSound = RebelAmbushActivated
; End
End
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2004, 05:25 PM   #2 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Bumpety bump, someone must have came across this at some time. Anyone?
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2004, 06:14 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2003
Posts: 217
Default

Do you have the OCLSpecialPower listed in the command center (or whatever building you are firing the special power from)?
sc4freak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2004, 06:52 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

yes, it fires correctly. Just dorn't let me place the troops.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2004, 07:32 AM   #5 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 794
Send a message via MSN to The_Hunter
Default

did you make a new special power for it and did you put that special power in the command button that is supposed too use it ??
The_Hunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2004, 08:19 AM   #6 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Yes, the buttons are all there and work including changing the icons in sequence and also the sidebar works. Only thing is not being able to place. It has to the OCL cause everything else works. I have 4 seperate units in the OCL. Is there a limit perhaps to 2 or something? I wasn't aware of any limit in the OCL for the # of objects it can create.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2004, 08:27 AM   #7 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Augsburg, Bavaria, Germany
Posts: 127
Send a message via MSN to theliberator2005 Send a message via Yahoo to theliberator2005
Default

If this OCL works similar to the deliverpayload thing, then I think u should try to delete "Count:" everywhere it appears in the code and just paste the amount of units spawned behind the name of the object(s) that should be spawned (with a space character between the name and the amount).

If that won't change anything, I don't know either!
theliberator2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2004, 04:52 PM   #8 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Well if you look at the rebel ambush coding it literally has the count as is. So I just created the next object in the OCL which Sleipnir said is correct. I'll try to comment out everything bu the infantry and see that does it.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
angry mob ambush spawn in commandcenter too loid Generals & Zero Hour Editing 0 12-06-2004 03:58 AM
Mu;tiple "types" of Rebel Ambush units Hostile Generals & Zero Hour Editing 2 09-03-2004 12:57 PM
GLA Rebel Added Ability HateCorp Generals & Zero Hour Editing 3 10-17-2003 10:50 PM
Ambush issues Carbon Generals & Zero Hour Editing 4 07-08-2003 07:17 AM
Old Rebel in the Intro? eric Generals & Zero Hour Editing 4 04-25-2003 03:05 AM


All times are GMT -4. The time now is 10:40 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.