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

Forum Info
Forum Members: 18,642
Total Threads: 8,744
Posts: 95,513

Administrators:
DeeZire, Redemption

There are currently 36 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 12-18-2003, 12:52 PM   #1 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default OverlordContain Logic / Multiple Addons

Hi!

As you might guess I am messing around with the Overlord's INI entries because I am trying to create a new unit that will be able to "transport" two upgrades. Sounds easy in theory but seems to be very tricky.

My problems are:

1. I am only able to make one of the two upgrades show up in game. That means that only one of the 2 turret "addons" is actually drawn. The other one isn't there, but the unit fires the weapon associated with this "invisible" upgrade. I think this might be a hard-coded limitation of the OverlordContain Logic, but I am not quite sure.

2. One of the Upgrade is a second turret that is mounted on the unit's original turret. The problem is that the added turret turns around completely senseless and often in the opposite direction of the target when the unit engages an enemy. The unit itself is "aligned to world", the bones are, the addon turret itself is aligned correctly and the bones are linked to the chassis. IMO this should be correct. Nevertheless the second addon turret isn't working properly.

These are the INI entries for my new "overlord-like" tank.

Code:
  Behavior = TransportAIUpdate ModuleTag_04
    Turret
      TurretTurnRate = 180   ; turn rate, in degrees per sec
      ControlledWeaponSlots = PRIMARY
    End
    AutoAcquireEnemiesWhenIdle = Yes
  End
Code:
 Behavior = OverlordContain ModuleTag_06 ; Like Transport, but when full, passes transport queries along to first passenger (redirects like tunnel)
    Slots                 = 2
    DamagePercentToUnits        = 100%
    AllowInsideKindOf     = PORTABLE_STRUCTURE
    PassengersAllowedToFire = Yes
    PassengersInTurret = No ;
  End

  Behavior = ObjectCreationUpgrade ModuleTag_07
    UpgradeObject = OCL_T90MG
    TriggeredBy   = Upgrade_RussiaT90MG
    ;ConflictsWith = nothing!
  End
  Behavior = ObjectCreationUpgrade ModuleTag_08
    UpgradeObject = OCL_T90MD
    TriggeredBy   = Upgrade_RussiaT90MD
    ;ConflictsWith = nothing!
  End
  Behavior = ProductionUpdate ModuleTag_10
    MaxQueueEntries = 2; So you can't build multiple upgrades in the same frame
  End
  Behavior = CommandSetUpgrade ModuleTag_11
    CommandSet = RussiaTankT90MGCommandSet
    TriggeredBy   = Upgrade_RussiaT90MG
    ;ConflictsWith = nothing!
  End
  Behavior = CommandSetUpgrade ModuleTag_12
    CommandSet = RussiaTankT90MDCommandSet
    TriggeredBy   = Upgrade_RussiaT90MD
    ;ConflictsWith = nothing!
  End
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2003, 03:17 PM   #2 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default

For the second upgrade, make it PassengersInTurret = Yes (See the Overlord Gattling Gun).

As far as I know, you can only have a single upgrade (altough its strange that both weapons are present!) on one unit.

Anyone knows any more? (I'm also pretty interested, because with it, you can do almost anything everybody said was impossible in ZH or Gen)
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2003, 08:55 PM   #3 (permalink)
Senior Member
 
sage_inferno's Avatar
 
Join Date: Feb 2003
Posts: 426
Default

an overlord with more upgrades will need not only coding but a edited model to do so.

heres a quick editing to make it easyer to explane
http://www.sleipnirstuff.com/forum/files/uberlord.jpg
sage_inferno is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2003, 09:39 PM   #4 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

Vanguard loooooooooooooooooooooooooooooooooooooooooove :shifty: :shifty: :color2: :color2: :rofl:
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2003, 09:43 PM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Location: USA
Posts: 231
Send a message via ICQ to SilverMobius Send a message via AIM to SilverMobius
Default

Quote:
Originally Posted by Vanguard
Vanguard loooooooooooooooooooooooooooooooooooooooooove :shifty: :shifty: :color2: :color2: :rofl:
Please use proper sentence structure and/or make sense. Thank you.
SilverMobius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2003, 07:53 AM   #6 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

@sage_inferno, what do you mean with "edited model"? IMO, the only way the overlord could have more upgrades like the emperor tank in ZH is that simply one upgrade is always installed and ready when the unit is built. I know that this would be a possibility but creating a unit with more than one "real" upgrade isn't possible in any other way?

And why would my turret still turn so goddamn crazy? :tard:
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2003, 02:06 PM   #7 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

Shut up silver I was drooling at the moment, and he means that you would have to make it so it has three different bones in different areas on the tank so the upgrades will appear there.
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2003, 05:12 PM   #8 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default

As you cans ee if you actually eread his post hes not making more upgrades for the Overlord. Hes trying to successfully use the overlord contain ->"(LOGIC)"<- on his new unit. This is a coding question.
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2003, 05:34 PM   #9 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

IMO it really is a coding question, Eradicator is correct. Has anyone ever got this to work properly or is it just impossible?
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2003, 05:57 PM   #10 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

I know, but if you only code it, then you can have all the upgrades, but it will show that things are occupying the battle bunk and it wont display the other two models, and therefor you must edit the model too. Believe me I've tried with the Helix and Overlord, so don't tell me I'm wrong here guys. I know what I'm talking about when I say it can't be done without editing the model. You need three bones one for the Bunker, one for the Gattling Cannon, and the other for the Propaganda Tower. Each being set in a different location on the tank, like the Gattling cannon on top of the Bunker, the Bunker on the turret like usual, and the Propaganda Tower farther ahead on the turret.
Vanguard 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
Prism Logic CobraG0318 Red Alert 2 & Yuri's Revenge Editing 17 05-19-2006 06:38 AM
AI Garrison Logic AntiSocialKindaGuy Generals & Zero Hour Editing 4 11-26-2005 07:50 AM
Some questions about overlordcontain and firing weapons. Thinimus Generals & Zero Hour Editing 7 10-29-2005 08:27 PM
[SOLVED]Logic RedLeader Generals & Zero Hour Editing 2 01-24-2005 07:34 AM
Parachute logic EvilViking Generals & Zero Hour Editing 7 05-20-2004 06:47 AM


All times are GMT -4. The time now is 10:30 AM.


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