Notices

Go Back   FileFront Forums > The Games! > Command and Conquer Series > CnC Modding, Mapping and Editing

Remember Me?

CnC Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
3138457
Re: Can't I change the CommandSet ini freely?
taclled
August 19th, 2006 01:39 PM
Thanks and id do a similar thing for trying to allow other vehicles build a building (ex. Supply truck - Speaker toweres)
3139626
Re: Can't I change the CommandSet ini freely?
Mere_Mortal
August 20th, 2006 12:26 AM
No, take a look at the Worker. Since he is a Harvester and Dozer, his WorkerAI module would suit the SupplyTruck well in this scenario because it would simply replace SupplyTruckAI. You also need KindOf = DOZER and a ProductionUpdate module.
3139741
Re: Can't I change the CommandSet ini freely?
taclled
August 20th, 2006 02:51 AM
so id copy and edit the Workers code to suit the supply truck
3140708
Re: Can't I change the CommandSet ini freely?
Mere_Mortal
August 20th, 2006 01:11 PM
Pretty much. You should check the current data for the SupplyTruck and use those settings for the WorkerAI module (such as max boxes, scan range, etc). You won't be needing SupplyTruckAI after (only one AI module can be used per object).
3142113
Re: Can't I change the CommandSet ini freely?
taclled
August 20th, 2006 11:21 PM
so anything that doesnt look like it has to do with building things leave alone
3142241
Re: Can't I change the CommandSet ini freely?
Mere_Mortal
August 21st, 2006 01:54 AM
This should suffice...
Code:
  Behavior = WorkerAIUpdate AI
;   RepairHealthPercentPerSecond  = 2%
;   AutoAcquireEnemiesWhenIdle    = Yes
    BoredTime                     = 5000
    BoredRange                    = 150
    MaxBoxes                      = 4
    SupplyCenterActionDelay       = 1000 
    SupplyWarehouseActionDelay    = 150
    SupplyWarehouseScanDistance   = 700
    SuppliesDepletedVoice = SupplyTruckVoiceSuppliesDepleted
  End
By the way, I omitted the repair ability because I think it makes sense that it can't do so.
If you want it to be able to repair all structures, simply uncomment the first two lines.
3143766
Re: Can't I change the CommandSet ini freely?
taclled
August 21st, 2006 02:27 PM
so just add this were the worker has it or does it matter if it is in beginning or end
and i can add this to any thing to make it be abler to build things like say red guard- bunker
3145213
Re: Can't I change the CommandSet ini freely?
Mere_Mortal
August 22nd, 2006 01:51 AM
Just remove the SupplyTruckAIUpdate module and replace it with the above. The WorkerAIUpdate is intended for a unit that can harvest and construct. I assume your RedGuard will only be able to construct, so in that case, use the DozerAIUpdate...
Code:
  Behavior = DozerAIUpdate AI
    RepairHealthPercentPerSecond = 2%
    BoredTime                    = 5000
    BoredRange                   = 150
    AutoAcquireEnemiesWhenIdle   = Yes
  End
Again, if you don't want the RedGuard to be able to repair structures, use this...
Code:
  Behavior = DozerAIUpdate AI
    AutoAcquireEnemiesWhenIdle   = Yes
  End
Also note that you need KindOf = DOZER for both the RedGuard and SupplyTruck. Furthermore, you can only have one AI module for an object, so you must also remove the AIUpdateInterface module from the RedGuard.
3146363
Re: Can't I change the CommandSet ini freely?
taclled
August 22nd, 2006 12:14 PM
i didnt quite understand what you said lol
3146473
Re: Can't I change the CommandSet ini freely?
Mere_Mortal
August 22nd, 2006 12:46 PM
What bit exactly don't you understand? I really don't think there's any Layman's Terms I could use.
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind