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

Forum Info
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,213

Administrators:
DeeZire, Redemption

There are currently 34 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 08-25-2006, 09:42 AM   #1 (permalink)
Member
 
Join Date: May 2004
Location: UK
Posts: 98
Default Make units unselectable (map.ini)

Hi i'd liek to make some units unselectable so i need to add this code safly/correctly into map.ini my attepts make it crash :P
Also i need the requierments removed to build stuff, liek the rocket buggy requiers the palace, how do i do that please?

Code:
--Object unitname--
KindOf = PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT
TerroR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 11:47 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Rep. of Ireland
Posts: 373
Default

Try

Kindof = -SELECTABLE
Waraddict is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 11:57 AM   #3 (permalink)
Member
 
Join Date: May 2004
Location: UK
Posts: 98
Default

So would that be:

Code:
Object AmericaVehicleDozer
Kindof = -SELECTABLE
End
?? If so it doesnt work.
TerroR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 12:28 PM   #4 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Rep. of Ireland
Posts: 373
Default

Try

KindOf = ALL -SELECTABLE

then, I think what that might do is take all the kindofs its already set to and take away selectable.
Waraddict is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 01:40 PM   #5 (permalink)
Member
 
Join Date: May 2004
Location: UK
Posts: 98
Default

That doesn't work.
TerroR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 02:16 PM   #6 (permalink)
Member
 
Join Date: May 2004
Location: UK
Posts: 98
Default

Ok it does work now, wierd because i didnt change a thing i just kept testing.
Could you help me wit hthe prerequisites thing now please?
thanks
TerroR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 02:35 PM   #7 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

I think the unselectable is NO_SELECT, and then CLICK_THROUGH can compliment it. At least, that's with regular objects, but presuambly its applicable in map.ini.
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-26-2006, 08:15 AM   #8 (permalink)
Member
 
Join Date: May 2004
Location: UK
Posts: 98
Default

I can't get the perequisites to change, i tried this but crashes...

Code:
Object AmericaSupplyDropZone
  DisplayName         = OBJECT:AmericaSupplyDropZone
  Side                = America
  EditorSorting       = STRUCTURE
  BuildCost           = 2500
  BuildTime           = 45.0           ; in seconds
  Prerequisites
    Object            = AmericaPowerPlant
End
EDIT:
Ok i manage to get it to laod with this code but when i put my cursor over it to build my game freezs :/

Code:
Object AmericaSupplyDropZone
  BuildTime           = 25.0           ; in seconds
  Prerequisites
    Object = AmericaPowerPlant
  End
End
EDIT#2:
Ok i'm geting closer lol, i'v now got it so u dont need any periquest to build it, but thats not the way i want it. i want it so it requierst the power palnt. well i'll use this untill someone can help me.

Code:
Object AmericaSupplyDropZone
  BuildTime           = 25.0           ; in seconds
  Prerequisites
;    Object = AmericaPowerPlant
  End
End
TerroR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-26-2006, 06:51 PM   #9 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 374
Default

...Why do you have the semicolon in front of the prerequisite line?
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-26-2006, 07:32 PM   #10 (permalink)
Member
 
Join Date: May 2004
Location: UK
Posts: 98
Default

I did it to test what would hapen with that code removed and it allowed me to build it without any requierments. I guess i could compleately remove that line now.
TerroR 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
How to make verry stong units? TerroR Generals & Zero Hour Editing 19 04-11-2006 10:29 AM
How do you make the AI build units you added [if possible] SmokeyDaBear Generals & Zero Hour Editing 4 06-26-2005 12:26 AM
how do i make new units in yuri's revenge? cabbageking Red Alert 2 & Yuri's Revenge Editing 32 05-01-2005 06:25 AM
make air units do not swoop? ravage LOTR: Battle For Middle Earth I & II Editing 5 12-22-2004 02:13 AM
Is it possible to get the ai to use units you make yourself KG115 Generals & Zero Hour Editing 1 03-09-2004 03:22 PM


All times are GMT -4. The time now is 08:45 AM.


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