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

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 107 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 04-04-2008, 12:43 PM   #41 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 188
Default

I think a simpler solution to the problem of replacing only 1 broken part is to not have multiple object OCLs. Just have each wall object OCL only 1 other wall object or a hub. In this system hubs become functionally redundant and are just there for looks.

Another useful thing to OCL is the gate object, AmericaCheckpoint, which only lets your own team through.

Last edited by beng; 04-04-2008 at 12:46 PM.
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2008, 02:55 AM   #42 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 188
Default

The anti stacking weapon works fine, but i have found you cannot OCL multiple wall segments because then the enemy will drive through your wall as if it does not exist. You can only OCL one wall segment at a time so that the bounding box is recognised.

The anti-stacking weapon is:
Code:
Weapon WallCoreWeapon
  PrimaryDamage = 2000.0
  PrimaryDamageRadius = 1.0
  AttackRange = 1.0
  DamageType = LAND_MINE ;does not affect other structures
  RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
  DelayBetweenShots = 5
  ClipSize = 1
  ClipReloadTime = 100000
  AutoReloadsClip = No
End
And the way to use it is to have each wall object fire it (make sure all wall objects use WallArmor and not StructureArmor so that LAND_MINE damage can kill them):
Code:
  Behavior = FireWeaponUpdate ModuleTag_NoStack
    Weapon = WallCoreWeapon ;Prevents stacking of wall objects
  End
That way when it is OCLed it will fire the weapon and destroy any previous walls which occupy the same place.

Because of the problem of bounding boxes not working if you OCL more than one object at a time, i suggest you just have 2 OCL upgrades, one that makes 1 wall segment forwards, and one which makes a wall segment backwards, so you can build in a straight line forwards or backwards, one piece at a time.
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2008, 02:58 AM   #43 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 188
Default

If you are doing one piece at a time then the anti stacking weapon is not needed.

On second thoughts, if you are doing forwards and backwards OCLs then it is needed because the wall object will have to have UpgradeDie modules removing both upgrades, which makes it possible to stack walls (if you make a piece and build both upgrades to make a new wall in front and a new one behind the piece, and if 1 of those is destroyed, then both upgrades become available again).

Now i am trying to fix problems with my GLA wall, which is supposed to spawn a barrage balloon to blow up any aircraft that try to fly past it. The balloon is not working yet (i think i cannot use SpawnBehavior to spawn it, it will have to be an ObjectCreationUpgrade).

I am also going to have angry mob people manning the barracades. The GLA wall can also be stealthed.

As for the China wall, i am going to make it mined and also use a different w3d model which works better.

And the American wall has a radiation emitter weapon, and the hubs respawn the wall bits in between.

As for the gate object, it cannot be OCLed because the model is facing the wrong way. You could get a dozer to build it separately if you want to use it.

Last edited by beng; 04-16-2008 at 03:05 AM.
beng 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
New mod for C&C3 that enables buildable walls jonwil Tiberium Wars Editing 3 05-19-2007 08:10 PM
Making buildable veteran/elite pilots? Truechaos Generals & Zero Hour Editing 5 11-28-2005 12:05 AM
Help making the A-10 buildable(cus i suck at modding) Private Pennywinkel Generals & Zero Hour Editing 1 10-15-2005 01:13 AM
making sauron buildable yuri5282 LOTR: Battle For Middle Earth I & II Editing 0 12-23-2004 07:46 AM
Making things Not Buildable? adamstrange Generals & Zero Hour Editing 2 06-12-2004 04:05 AM


All times are GMT -4. The time now is 09:28 PM.


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