Renegade Projects Network Forums
Action=TogglePower - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: Modding (https://forums.renegadeprojects.com/forumdisplay.php?fid=3)
+--- Forum: Red Alert 2 & Yuri's Revenge Editing (https://forums.renegadeprojects.com/forumdisplay.php?fid=8)
+--- Thread: Action=TogglePower (/showthread.php?tid=117)

Pages: 1 2


- DCoder - 02.11.2005

PD said he could fix the TogglePower IE if somebody provided him with a generated except.txt . So I am.

Associated rulesmd.ini modifications (the cursor is "No Can Do", but you actually can click with it, click outside a building and WHAM) :
Code:
[LightningStormSpecial]
RechargeTime=1
;Type=LightningStorm
Action=TogglePower;LightningStorm
DisableableFromShell=no
AIDefendAgainst=no;yes



- pd - 02.11.2005

OK thanks alot Smile

Fixing it seems really easy Wink Should be doable for 107b.
Plus, it also seems that I can figure how Actions are linked to stuff.


- Bobingabout - 02.11.2005

[Image: yahoo.gif][Image: yahoo.gif][Image: yahoo.gif][Image: yahoo.gif][Image: yahoo.gif] [Image: notworthy.gif][Image: notworthy.gif][Image: notworthy.gif][Image: notworthy.gif][Image: notworthy.gif] :clap: :clap: :clap: :clap: :clap: :bleh:


EDIT: :blink: :bye2: :angry: :shutup:


- pd - 02.11.2005

Hm well doesn't cause IEs anymore.

But it sucks:
You can turn off enemy structures??!


- DCoder - 02.11.2005

Yes... In TS this worked as a toolbar button, like the Repair / Sell stuff. It was not a SW, it clearly used a different method of allowing/disallowing targeting over certain objects. Now Action=ForceShield works only on your own structures, maybe you could fuse something together?

Oh, btw, :clap: for no more IEs!


- Bobingabout - 02.11.2005

maybe you can hack in a new GUI button? or like DC said, fix it to only work on you?


- Awrethien - 03.11.2005

DCoder;date=Nov 2 2005, 09:19 AM;post=1903 Wrote:Now Action=ForceShield works only on your own structures, maybe you could fuse something together?

I would guess that a clone of the force shield would do...


- DCoder - 03.11.2005

Actions can't be cloned, you know...


- Bobingabout - 03.11.2005

its PD remember. he can clone it.


- Guest - 03.11.2005

Isn't it Type=ForceShield, anyway? (Considering toggle power relies on Action=TogglePower...)


- DCoder - 03.11.2005

Err, no. Actions define targeting conditionals (can target x, can't target Y), Types define the function the SW should execute (do damage, fire weapon, play anim).


- Guest - 04.11.2005

If you give a superweapon Type=ForceShield and Action=TogglePower it cannot be targetted on anything other than your own structures. Try it yourself.


- Bobingabout - 04.11.2005

i think PD should consider adding a button somewhere, maybe a tag to add it you the bottom bar, that uses Action=TogglePower, where it has been fixed to only target friendly structures.

Imo, its actually a good idea Tongue


- CNCM_BLITZ - 24.11.2005

Actions are ONLY mouse pointers. Type=ForceShield will work with Action=Nuke, TogglePower, ChronoWarp, or any action that you could POSSIBLY use. The real effects are cause be the Type=.

@ Bobing ZombyDragon told me the button logic is in there, but it isn't that easy to find, or attach to the command bar. Still, it is a pretty good idea, and would be worth the effort. Also it would need its own UIMD.INI tag as well.


- Bobingabout - 25.11.2005

CNCM_BLITZ;date=Nov 24 2005, 08:26 PM;post=2054 Wrote:Also it would need its own UIMD.INI tag as well.
thats where PD comes into it.