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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,887

Administrators:
DeeZire, Redemption

There are currently 23 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 05-30-2005, 08:58 PM   #1 (permalink)
Member
 
Join Date: May 2004
Posts: 40
Default Automatic Drone Replacement

Is it possible to have combat drones set so that when they are destroyed their dying triggers a replacement to be built? I want it so that the replacement still costs the player money, but the process is automated.
At this stage it doesn't matter if its all a bit messy, it can force a global attempt to buy drones if that is neccessary, as all units that can have them will get them at the start, but it would be better if you can link it directly to the 'host' (and only the host) because that is neater.

Regards, Korona
Korona is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2005, 09:39 PM   #2 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

Behavior = CreateObjectDie ModuleTag_FlehDeathOrSomething
DeathTypes = All of them, presumably
CreationList = OCL_AnotherDronePlease
End

That should replace it, although you might want to fill in my random variables with your own valid ones.

Not sure off hand how to make it cost money, and I'm too tired to look atm :P
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2005, 09:59 PM   #3 (permalink)
Member
 
Join Date: May 2004
Posts: 40
Default

Ah, I don't want to spawn a new one, I want it to trigger the build command.

The problem with just spawning is the way the game sees integers. Basically Generals can't differentiate between -ve and +ve values so just subtracting cash out of the players account can potentially cause problems if it goes past zero.
Sadly it definatly must cost money.
Korona 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
Object replacement Aut665 Generals & Zero Hour Editing 6 04-26-2005 05:39 AM
Generals points/exp replacement system Sleipnir Generals & Zero Hour Editing 18 08-10-2003 07:47 PM
Drone Help Ozzy Generals & Zero Hour Editing 32 05-11-2003 08:54 AM
The Ore Drone... How would it be done? kanejordison Red Alert 2 & Yuri's Revenge Editing 20 05-05-2003 05:50 AM
Model Replacement Problem Starwars Generals & Zero Hour Editing 8 04-27-2003 06:55 AM


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


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