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

Forum Info
Forum Members: 18,677
Total Threads: 8,796
Posts: 95,827

Administrators:
DeeZire, Redemption

There are currently 24 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » Getting flags on buildings using upgrades...

Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 10-26-2003, 02:00 PM   #11 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

Quote:
Originally Posted by smurfbizkit
errr, we arn't using radar like that....it doesn't come from cyards

The weapon set one seems to be the best option, but I want it to put up either the us flag or the uk flag. I think I might have to just make the us flag standard, and then if you pick the uk...you get that flag instead.
If you do it that way, make sure to specify 'NONE' in the AutoChooseSources line for the weapon, otherwise players will be able to select the structure and 'fire' with it like you can with base defenses.
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2003, 03:07 PM   #12 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: CANADA
Posts: 275
Default

Did you try the strat center way? or is that a no-no? :S
Kuja is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2003, 07:03 PM   #13 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default

Problem is, the upgrade is a science.

The Strategy Center might work, but I never thought about it before, so I'm in a complete blank for it...
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2003, 09:03 PM   #14 (permalink)
Senior Member
 
Join Date: Sep 2001
Posts: 1,094
Send a message via ICQ to smurfbizkit Send a message via AIM to smurfbizkit Send a message via MSN to smurfbizkit
Default

Quote:
Originally Posted by DeeZire
Yup, make it so that your Radar Upgrade requires the science of the sub-side, then trigger your flag to appear with the radar upgrade.
Either you can't have a science as a trigger, or for some other reason it doesn't EVER work for me.

Quote:
Originally Posted by Kuja
Did you try the strat center way? or is that a no-no? :S
Quote:
Originally Posted by Phoib
Problem is, the upgrade is a science.

The Strategy Center might work, but I never thought about it before, so I'm in a complete blank for it...
From what I've seen of that, its almost all hard coded..plus, you'd have to click a button to do it. I want it to be nearly automatic.

----------------------
I have a version of it working now. I made the USA flag the standard flag on the model, then I made it so that the trigger is a dummy upgrade. The dummy upgrade is triggered by a unit that requires the uk side.

For the unit that triggers it, I just made 2 versions of the combat engineer(like the gla worker...builds stuff, built at the cyard). This makes the person have to select their subside first...and then they can build their engineer(and if they pick the uk, they get their flag then). The thing is, the units are greyed out...and I can't build them normally. That is unless, for some reason I select both subsides (possible right now, since for testing i start out with 100 gen exp points)...then the uk unit is buildable (but the usa one isn't still.

The code for those 2 units is completely identical except for a few things. Their names (of course) and their commandset's(tried it with the same commandset, and it didn't affect it at all)...and different command button entries.
smurfbizkit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2003, 09:40 PM   #15 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

I've had some odd problems like that as well. Could you use the Skirmish Scripts or something to grant an upgrade if the player chooses the right science? That might be a way to do it. It's too bad you aren't doing this for ZH, since then you could use the GrantScience module tag, but that doesn't work in Generals.
IDEA: Perhaps if you made the side selection an upgrade at the command center? And then each structure was just cloned and the side got a different builder depending on which side they pick? You could use the sub objects, plus then you wouldn't have to worry about sciences or Gen Points for the sides, it would just be an upgrade at the CC that decided the structures you could build. Then the problem is in selecting Generals powers, but there's my idea.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2003, 03:27 AM   #16 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: New Zealand
Posts: 148
Send a message via ICQ to Sleipnir
Default

I played around with the exact same thing a while back, the easiest way to do it using upgrades is:
Code:
  Behavior = SubObjectsUpgrade ModuleTag_XX
    TriggeredBy    = 
    ConflictsWith  = 
    ShowSubObjects = 
    HideSubObjects =
  End
for each side upgrade.
If you're using sciences, just use a W3DScienceModelDraw module for each flag - requiring the side's science.

Edit:
The way i did it was that you choose the side you want in the exp menu, then click a button on the command center to 'move in' (the dozer and command center can't build anything until you have done this). This triggers a special power which spawns a dummy unit over the command center (it spawned a different unit depending on the science, the same way having different levels of the same superweapon work). The dummy unit then granted you an upgrade which changed the commandset and dies. Then you've got both the science and the upgrade of your chosen side and can do pretty much anything.
Sleipnir is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-28-2003, 07:45 PM   #17 (permalink)
Senior Member
 
Join Date: Sep 2001
Posts: 1,094
Send a message via ICQ to smurfbizkit Send a message via AIM to smurfbizkit Send a message via MSN to smurfbizkit
Default

the flag isn't part of the main model :/

i ended up doing what I listed at the bottom of page 1...but just making it so when you build a sherman, you get the uk flag (if you picked that subside)
smurfbizkit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-28-2003, 08:32 PM   #18 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 156
Default

If it is anything like the way Im doing the subsides for Fallout, being the subside is selected and actually is a gloabl upgrade, then I believe there is a way to do it. Im at uni at the moment, so I can't check this, but attach the seperate flags to the command center using an overlord contain module, have either the UKFlag or USAFlag OCL triggered by the faction global upgrade.
Henford_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-28-2003, 11:19 PM   #19 (permalink)
Senior Member
 
Join Date: Sep 2001
Posts: 1,094
Send a message via ICQ to smurfbizkit Send a message via AIM to smurfbizkit Send a message via MSN to smurfbizkit
Default

Quote:
Originally Posted by Henford_
If it is anything like the way Im doing the subsides for Fallout, being the subside is selected and actually is a gloabl upgrade, then I believe there is a way to do it. Im at uni at the moment, so I can't check this, but attach the seperate flags to the command center using an overlord contain module, have either the UKFlag or USAFlag OCL triggered by the faction global upgrade.
the subsides arn't global upgrades :/
smurfbizkit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-29-2003, 01:01 AM   #20 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: New Zealand
Posts: 148
Send a message via ICQ to Sleipnir
Default

Quote:
Originally Posted by smurfbizkit
the flag isn't part of the main model :/
If you use a seperate draw module for each flag, but have all of them start off hidden it should still work....
Sleipnir 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
Need Help - Upgrades + Buildings requiring upgrades to build Azad0r LOTR: Battle For Middle Earth I & II Editing 5 01-02-2005 05:37 AM
object upgrades for buildings,needs help SJG Generals & Zero Hour Editing 11 02-14-2004 03:02 AM
Buildings upgrades JhonnyRey Red Alert 2 & Yuri's Revenge Editing 2 04-19-2003 11:26 PM
Flags JhonnyRey Red Alert 2 & Yuri's Revenge Editing 2 03-16-2003 08:38 AM
adding upgrades to buildings using Final alert 2 Ed Red Alert 2 & Yuri's Revenge Editing 10 01-20-2003 03:36 PM


All times are GMT -4. The time now is 09:49 PM.


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