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 29 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > LOTR: Battle For Middle Earth I & II Editing » killing your own unit with button LOOK AGAIN!

LOTR: Battle For Middle Earth I & II Editing Discuss any modding related issues to do with the Lord Of The Rings: Battle For Middle Earth I and II RTS games here.

Reply
 
LinkBack Thread Tools
Old 03-13-2005, 08:18 PM   #11 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

You need to use SUICIDE.
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2005, 12:44 AM   #12 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Quote:
Originally Posted by DeeZire";p=&quot View Post
You need to use SUICIDE.
Sorry it didn't work. here is the weapon I used.

Code:
Weapon MordorPlotWorker   ; BALANCE Mine Weapon
	NoVictimNeeded		= Yes ; Need no target
	AttackRange           = 1.0
	DelayBetweenShots     = 2000            ; time between shots, msec
	RadiusDamageAffects = SELF SUICIDE
        DamageDealtAtSelfPosition = Yes
	FireFX                = FX_ExplosiveMine;FX_BuildingContructDustCastles
	DamageNugget                        ; A basic Nugget that just does damage
		Damage        = 20
		Radius        = 5.0
		DelayTime     = 0
		DamageType    = SIEGE
		DamageFXType  = FLAME
		DeathType     = BURNED
		DamageScalar  = 500000% NONE +HelmsDeepCulvert +HelmsDeepGate 

+HelmsDeepSectionAi +HelmsDeepSectionC ;Make sure we one shot kill Culvert but Ballista have to 

shoot alot
	End

	DamageNugget                        ; A basic Nugget that just does damage
		Damage        = 1000
		Radius        = 5.0
		DelayTime     = 0
		DamageType    = FORCE
		DeathType     = NORMAL
	End
End
I even added this and it still didn't work.

Code:
RadiusDamageAffects = SELF SUICIDE ALLIES ENEMIES NEUTRALS NOT_SIMILAR
I'm still going to keep an open mind while you throw out ideas. I don't think RadiusDamageAffects is going to make it work. I'm all ears though.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2005, 05:23 AM   #13 (permalink)
Member
 
Join Date: May 2004
Posts: 42
Default

Have you tried using the DamageType = SUICIDE. I think that's what Dee means when he says use suicide.
AdmiralGT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2005, 07:01 PM   #14 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Now for another dumb moment in modding history. Put your seatbelt on for this one. I'm trying to kill a worker. Sounds easy enuff unless you overlook one minor detail.

Body = ActiveBody ModuleTag_02
MaxHealth = 999999 ;BALANCE Townsman Health huge so they can't be killed.
MaxHealthDamaged = 999999
;RecoveryTime = GONDOR_PEASANT_HEALTH_RECOVERY_TIME
End

I spent 8 hours working this out only to fail to notice the extremely high MaxHealth.
That concludes another dumb moment in modding history. :P
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2005, 07:14 PM   #15 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

Happened to me, sometimes I forget to notice some objects with Highlander or Immortal body
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-15-2005, 12:46 AM   #16 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 462
Send a message via AIM to Kelso Send a message via MSN to Kelso
Default

So I guess we could use this to solve the issue people were having with trying to get hordes of units to mount and dismount horses. Only problem is they would lose upgrades and veterancy.
Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-15-2005, 04:05 AM   #17 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Actually, this did not work, as the unit I was using was not the health I quoted. I quoted Worker nonselect by accident. So no it does not work.

What else does not work is the create OCL based on upgrade (drone code) This resulted in no errors but also no OCL created.

This cannot be an error cause there is only one way to recreate the drone upgrade.

Code:
  Behavior = ObjectCreationUpgrade ModuleTag_plot
    UpgradeObject = OCL_MordorPlotSuicide
    TriggeredBy   = Upgrade_MordorPlot
    ConflictsWith = Upgrade_MordorPlotEC Upgrade_MordorPlotDF
  End
  Behavior = ObjectCreationUpgrade ModuleTag_plotec
    UpgradeObject = OCL_MordorPlotSuicideEC
    TriggeredBy   = Upgrade_MordorPlotEC
    ConflictsWith = Upgrade_MordorPlot Upgrade_MordorPlotDF
  End
  Behavior = ObjectCreationUpgrade ModuleTag_plotdf
    UpgradeObject = OCL_MordorPlotSuicideDF
    TriggeredBy   = Upgrade_MordorPlotDF
    ConflictsWith = Upgrade_MordorPlot Upgrade_MordorPlotEC
  End
I created an OCL that spawned a unit that had a lifetime update modeule and dies in one second. It never showed up. I than changed the model from invisibile to some unit. Never showed up. So the OCL is not building from the drone logic (upgrade OCL) as does in ZH.

All upgrades are present, all OCL's are present. If I'm wrong, please show me how. You cannot kill a unit from your own unit by FIRE_WEAPON commandbutton. You also cannot create an OCL using drone logic.

If this can be verifed? Than this should be added to the "EA Modders Wish List" thread.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-16-2005, 11:16 AM   #18 (permalink)
Member
 
Join Date: Jan 2005
Posts: 31
Default

I was looking through the code for the mine, in the weaponset.ini it's the only thing that has SUICIDE in it. It's also the only object with MINE in it's KindOf.

But....I tried just adding MINE to the workers KindOf, and the game drops out with a game.dat error.
pabtyf3 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
button images ???? zogle Generals & Zero Hour Editing 3 10-22-2006 01:26 PM
Faction Unit, Building, Commandset and Button ?? Tesla-Chrono Generals & Zero Hour Editing 2 03-01-2004 09:40 AM
button images NewGhost Generals & Zero Hour Editing 36 10-06-2003 12:14 PM
Fire_Weapon button OminousSilence Generals & Zero Hour Editing 3 07-01-2003 05:16 AM
Button textures? Drogan Generals & Zero Hour Editing 4 03-15-2003 01:28 PM


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


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