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 110 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 03-03-2004, 02:59 AM   #1 (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 Something I've always wondered...

What causes your units to auto-fire on an enemy unit? They automatically attack enemy units and defences, but not buildings. So what decides whether the enemy should auto-fire at an object? (and no I don't mean AutoAcquireEnemiesWhenIdle).
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 03:07 AM   #2 (permalink)
Senior Member
 
Join Date: Jan 2004
Posts: 224
Send a message via AIM to Pestilence Send a message via Yahoo to Pestilence
Default

there is an option in the game menus called retalliation, to cause units to return fire automatically even when not set on patrol/guard. for infantry all units in view will retaliate even when one is fired upon, comanches only the one will turn around and return fire.
I hate that.
but i know that if you set patrol/guard to infantry they will attack everything, but if you send them to a spot near enemy building they only attack nearby enemy units and not the building, I dont know why for sure my guess is that its that way buy default cause maybe you want to take the building over, so reqiure a cammand to destroy building, but you dont want the infantry to be stupid and just stand there while being fired upon.
Pestilence is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 03:19 AM   #3 (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

Yes but why does it attack units but not buildings? What causes that?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 03:56 AM   #4 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: Hell
Posts: 272
Default

hardcoded stuff mybe
4hammer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 04:16 AM   #5 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

They will auto attack a structure if it has KindOf = FS_BASE_DEFENSE.
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 08:39 AM   #6 (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

Could it also have something to do with it having a weapon maybe? That they only attack something that can shoot back? Maybe that's why they gave the sneak attack tunnel a dummy weapon with a tiny damage, so your own units will auto-attack it when it appears...
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 08:41 AM   #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

Maybe, not sure, but they don't attack a Tech Artillary when it has been captured by an enemy.
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 09:01 AM   #8 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

Quote:
Originally Posted by ImmoMan
Maybe that's why they gave the sneak attack tunnel a dummy weapon with a tiny damage, so your own units will auto-attack it when it appears...
That was only given a weapon so that it could obey a 'guard' command for scripting purposes.
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2004, 09:33 AM   #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

Ok, so if you want to prevent your units from attacking a building, you should not give it FS_BASE_DEFENSE. So will that work on an anti-air only defence? I don't want my ground units to auto-attack it, but it should still act as a defence.
CodeCat 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



All times are GMT -4. The time now is 02:11 PM.


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