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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,886

Administrators:
DeeZire, Redemption

There are currently 22 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 01-03-2005, 03:51 AM   #1 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default Sneak Tunnel from Sneak Tunnel

Okay... what I want is once I get Sneak Attack Tunnel on the field, I want to select it, and then spawn another sneak attack tunnel from it's commandset. Sounds simple, right? For some reason I can't get this to work. What am I missing

Object GLASneakAttackTunnelNetwork
Code:
Behavior           = OCLSpecialPower ModuleTag_29
    SpecialPowerTemplate = SuperweaponSneakAttack2
    OCL                  = OCL_CreateSneakAttackTunnelStart
    ReferenceObject      = GLASneakAttackTunnelNetwork
    CreateLocation       = CREATE_AT_LOCATION
  End
SpecialPower
Code:
SpecialPower SuperweaponSneakAttack2
  Enum                          = SPECIAL_SCUD_STORM
  ReloadTime                    = 150000   ; in milliseconds
 ; RequiredScience               = SCIENCE_SneakAttack
  PublicTimer                   = No
  InitiateAtLocationSound       = SneakAttackActivated
  SharedSyncedTimer             = Yes
  RadiusCursorRadius            = 50
  ShortcutPower                 = Yes     ;Capable of being fired by the side-bar shortcut.
  AcademyClassify     = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
OCL
Didn't touch anything here. I used what the original sneak attack tunnel uses...:
Code:
ObjectCreationList OCL_CreateSneakAttackTunnelStart
  CreateObject
    ObjectNames = GLASneakAttackTunnelNetworkStart
    Disposition = LIKE_EXISTING
  End
End

ObjectCreationList OCL_CreateSneakAttackTunnel
  CreateObject
    ObjectNames = GLASneakAttackTunnelNetwork
    Disposition = LIKE_EXISTING
  End
End
CommandButton
Code:
CommandButton Command_SneakAttack2
  Command           = SPECIAL_POWER_CONSTRUCT
  SpecialPower      = SuperweaponSneakAttack2
  Options           = NEED_SPECIAL_POWER_SCIENCE
  Object            = GLASneakAttackTunnelNetwork
  TextLabel         = CONTROLBAR:SneakAttack
  ButtonImage       = SUSneakAttack
  ButtonBorderType  = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel     = CONTROLBAR:ToolTipGLASneakAttack
End
Obviously, I put the spawn second sneak attack button it in the commandset of the original sneak attack tunnel...

Here is what I get in-game.
I create the first Sneak Tunnel. I click on it, then click on create sneak tunnel in it's commandset. I hover the mouse on the battlefield. I see the transparent sneak tunnel structure. Once I click it, an d let go of the button, nothing happens though. The tunnel is not created. why?
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-05-2005, 11:46 AM   #2 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default

Can anybody help me here? Why doesn't it work... then?
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2005, 03:21 AM   #3 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 384
Default

Have you tried making the Sneak Attack tunnel fire another OCL-based power?
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2005, 06:41 PM   #4 (permalink)
Member
 
Join Date: Dec 2004
Location: SWEDEN
Posts: 48
Default

Well from playing around with superweapons in Generals before, i've found that some of them just simply doesn't launch from anything but a commandcenter and in such most often the commandcenter normal for that specific superweapon. You get the marker and everything but the weapon itself just doesn't fire. This was the exact lapse of the GLA Antraxbomb (the one dropped from a plane) in the original Generals i believe, it just wouldn't fire from anything but the GLA-commandcenter. It seemed like it was hardcoded into the game for just that perticular weapon. :/

I do know that they probably did take a few shortcuts in the original Generals, my guess is that they didn't have the time to get it right all the way considdering of among things some comments in the .ini-files and also what they apparently left out. Anyway, i don't know if they have fixed this in the Zero Hour expansion or if you just happened to stumble upon yet another hardcoded shortcut. :|

..but what do i know?
copperhead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2005, 06:51 PM   #5 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default

No, that's not the case here. I am able to fire it from a totally different structure (Not commandcenter), but when I try to fire another one closely based on the first one (modified time an enum so they dont conflict), it just doesnt fire... I don't know what the hell is going on.

I tried it with other OCL's, but same thing.
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-09-2005, 07:42 AM   #6 (permalink)
Member
 
Join Date: Dec 2004
Location: SWEDEN
Posts: 48
Default

How do you intend this to work anyway? Why create a second one instead of using the first one as it is?
copperhead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-09-2005, 09:11 AM   #7 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

He wants to create the second one from the first, as to create some kind of "portal" between two locations.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-09-2005, 11:32 AM   #8 (permalink)
Member
 
Join Date: Dec 2004
Location: SWEDEN
Posts: 48
Default

That makes no sense Immoman. You already get the "portal" function through the sneakattack and other tunnels.

What i mean is why use another sneakattack superweapon instead of just putting the original one inside the sneakattacknetworktunnel as a button? :|
copperhead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-09-2005, 01:39 PM   #9 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

It does make sense, he's doing it for our mod so I'd know what he's on about...

Our mod is a RA TC and this is for the Chronosphere. So there are no tunnels, besides the two he's trying to create. He can create one, but then he wants that first tunnel to create the second. Then you have a portal you can send units through, until the portals vanish.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-10-2005, 06:53 AM   #10 (permalink)
Member
 
Join Date: Dec 2004
Location: SWEDEN
Posts: 48
Default

Ahh.. i seeeeee.. How neat!

So the second sneakattacktunnel is to be launched without timer then i guess and that's why he's put it into a second sneakattacktunnelweapon?
copperhead 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
Tunnel Dream.. Plasma Generals & Zero Hour Editing 1 01-08-2005 01:56 AM
[SOLVED]Sneak Attack RedLeader Generals & Zero Hour Editing 2 11-30-2004 06:14 PM
Force units to go into sneak attack that is deployed on them Vger Generals & Zero Hour Editing 7 02-26-2004 01:19 AM
Tunnel fix FinalMoon Red Alert 2 & Yuri's Revenge Editing 1 06-06-2003 01:54 PM
Tunnel use MasterMind2k Generals & Zero Hour Editing 2 04-01-2003 11:37 AM


All times are GMT -4. The time now is 06:57 AM.


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