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

Forum Info
Forum Members: 18,639
Total Threads: 8,742
Posts: 95,498

Administrators:
DeeZire, Redemption

There are currently 54 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 » How to use the "switch battle plans" special_power

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

Reply
 
LinkBack Thread Tools
Old 08-08-2004, 10:01 AM   #1 (permalink)
Senior Member
 
Join Date: Jul 2004
Posts: 605
Default How to use the "switch battle plans" special_power

Hey

I'm just enquiring how to use the "switch battle plans" special power to make a structure change appearance and weapon?

In my case, I've got a defense structure, when it's built, it lacks any weapon/turret, but you click a button that allows you to select either an AA weapon, an anti-tank weapon, or well, you get the idea

But all I've seen a direct ENUM call, without anything mentioned how you can change what gets modified

Thanks
-W3bbo



Okay, so I've just learned that ENUM calls are actually Module Calls

So how do I edit Modules?

The stuff in Deezire's module *.doc is exactly what I'm after, so how do I use it?

-W3bbo

DarkSideDave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2004, 12:52 PM   #2 (permalink)
Senior Member
 
Join Date: Jul 2004
Posts: 605
Default

*bump* (it was at the bottom of the page, so this is justified)

Anyone?
DarkSideDave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2004, 02:34 PM   #3 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Earth-ish
Posts: 197
Default

The StrategyCenter Battle plans are actually upgrades (look in GameData.ini file for battleplan), unless I am incorrect I think they are (kind of like heroic upgrade or whatever you know?) so anyway you also have to set up a W3D form change upgrade (like the strategycenter or a USA power plant).
As for ENUM they have special meanings in the actual coding... so if you use 1 make sure it is the closest to what you are trying to accomplish... for instance use remote charge enum for a OCLSpecialPower as appose to black lotus' cash hack ENUM... hope this helps
Cedar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2004, 04:43 PM   #4 (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

AFAIK the battle plan changing is done by passing a special parameter from the CommandButton to the battleplan enumerator. That then changes the status of the "battleplan" depending on the parameter. It's not an upgrade so.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2004, 05:50 PM   #5 (permalink)
Senior Member
 
Join Date: Jul 2004
Posts: 605
Default

So how would I use this to make a defense structure that can change weapons?
DarkSideDave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2004, 01:13 PM   #6 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: Earth-ish
Posts: 197
Default

simple lood at the W3D module part of the strategycenter... it's controled by what you pick for the strategycenter... next week I will post the complete coding for this okay?
Cedar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-16-2004, 09:36 PM   #7 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 306
Send a message via AIM to Vger Send a message via MSN to Vger Send a message via Yahoo to Vger
Default

Why don't you make the weapon an upgrade to the building and have to where the object, with the wepon, that gets placed on building is sellable so you can place another object on the building.
If you weren't looking to change the model you could use the ranger switch weapon code.
If you use the stratergy center code you will trigger the effects of the strategy center, the bonuses to range, defense, and fire power. the only way to stop that is to remove the code that specifies what the bonuses are and that will make the stratergy center usless. Although I am not sure on this one.
Vger 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
Orginal C&C Generals "Alpha" Build98 Released Chrizz Generals & Zero Hour Editing 3 04-10-2005 09:27 AM
"gameblender3d freeware" .blend file convert ?&quo emmanuel Generals & Zero Hour Editing 6 04-07-2005 06:25 AM
Mu;tiple "types" of Rebel Ambush units Hostile Generals & Zero Hour Editing 2 09-03-2004 12:57 PM
"Buibable" Carpbet Bombing Airplane Tutorial The_Hunter Generals & Zero Hour Editing 15 06-12-2004 06:25 PM
"The Project" promo pic: Yuri's Mole machine. Blade Red Alert 2 & Yuri's Revenge Editing 15 01-20-2003 06:20 AM


All times are GMT -4. The time now is 11:24 AM.


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