Jump to content


Photo

i need a hand with


  • Please log in to reply
12 replies to this topic

#1 masterquinn

masterquinn
  • New Members
  • 10 posts

Posted 27 October 2004 - 10:52 PM

here's the idea...

if your opponent has a nuke ready, and hasnt used it for a few seconds or whatever, you can "hack it" and steal it from him and nuke him with his own nuke (aswell as particle & scud). it should be a superpower along the lines of... defector with a 6 minute timer?

your opponent has a scud, you 'defect' the scud to your side, you only have 5 seconds to pick it, and launch it, you do... after 5 seconds its back to his again, but he has to wait another 5 or so minutes to use it, and he is realizing that he;s getting scudded by his own scuds.

is this possible?

if so... how the hell do i do it?

#2 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 27 October 2004 - 11:39 PM

I can't think of any way to do it. I guess someone else might have an idea, but I don't.
:blink:
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#3 AdmiralGT

AdmiralGT

    title available

  • Members
  • 1,702 posts
  • Location:Bristol, UK
  • Projects:Petrolution

Posted 28 October 2004 - 09:12 AM

The only possible way I can think to do this is to create a Superweapon much like the Black Lotus' special ability to capture a building. Im not sure you could flag it to only apply to superweapons though and not all buildings. You'd also have to have it so that you would need to see the building you were targeting although with Zero Hour the superweapon should remove any shrouding over it. I dont actually have any code in front of me so I cant give specifics, I'll look into it when I get home.

Although I would consider increasing the time from 6 minutes, since thats basically every time a nuke goes off or you'll catch every other Superweapon Launch. Ideally your opponent would build any superweapons since you'd hit them as many times as they hit you.

#4 masterquinn

masterquinn
  • New Members
  • 10 posts

Posted 28 October 2004 - 12:05 PM

yea.... 10 minutes might be good for that, ive been thnking and it would be smart to have it capture thebuilding like black lotus (super lotus) so the guy gets warned before its gone... but would if be able to 'go back' to his side afterwards?

ok.. yea.. what you said :blink:

Edited by masterquinn, 28 October 2004 - 12:06 PM.


#5 AdmiralGT

AdmiralGT

    title available

  • Members
  • 1,702 posts
  • Location:Bristol, UK
  • Projects:Petrolution

Posted 28 October 2004 - 03:39 PM

I now actually have the code in front of me so prehaps offer a little more insight.

You cant actually use the Special Power generically, it actually needs to be witheld in a specific unit, you cant trigger it like the EMP pulse or A10 Strike, a unit actually needs to be doing it. You could however use the Science Point to be able to purchase a building/unit which has this 10 minute special power.

On top of that, theres absolutely no way to target just a super weapon. The special ability appears to be hardcoded on what it targets (disable for a vehicle, capture for a building) and you cant code it any other way.

On the plus side it might be possible to give it only a short lifetime effect. The disable code from the Black Lotus has a EffectDuration line. This is how long a vehicle remains disabled, if you put this line in the Capture code it might (no guarentee, i suspect it will crash, it might not) just keep it captured for that long.

In conclusion, its actually a lot harder to make it any different to the Black Lotus. It has to be a unit, it has to see the building and I suspect it cant only hold it for a short time. The only thing you can do is give it a mega long range.

Edited by AdmiralGT, 28 October 2004 - 03:39 PM.


#6 masterquinn

masterquinn
  • New Members
  • 10 posts

Posted 28 October 2004 - 05:42 PM

... i dont want to be able to take over the entire base of my opponent, cuz that;s how its looking.

How about a transportation like 'chrono tank' in red alert? transport the building over to your side capture it with a regular unit... or maybe give super lotus transport ability every 10 minutes? no... that means you can take over the entire base again, build 10 of those and your good to go.

how about a timer reset? you enable it from.. say internet center, and it resets all the timers back to full?

the down side being it resets yours aswell

Edited by masterquinn, 28 October 2004 - 05:43 PM.


#7 AdmiralGT

AdmiralGT

    title available

  • Members
  • 1,702 posts
  • Location:Bristol, UK
  • Projects:Petrolution

Posted 28 October 2004 - 05:53 PM

You cant transport a building. The only way to transport something is using a Tunnel Network esque system, which requires you to move into it. (i) you cant move an opponents unit and (ii) buildings cant move.

You can limit the Super Lotus to only 1 like the normal Lotus so you couldnt swarm you opponent with them. You could make it a building instead and make it a SuperWeapon also, this would allow your opponent to see it and try and kill it.

And you cant recet SuperWeapon timers. Effectively you cant do anything to an opponents unit/building other than (i) attack it (ii) disable it (iii) capture it. You cant effect its upgrades, timers, anything.

#8 masterquinn

masterquinn
  • New Members
  • 10 posts

Posted 29 October 2004 - 04:49 AM

ok ok... so... here;s the deal.. if possible...

you build a special building that looks like a small radio tower with the hit points of a command center and a global 10 minute countdown timer reading something along the lines of 'Super Hack' or whayever (i dont have any ideas right this second, im dead tired), you HAVE to put super lotus (or another character name) into it, and once you do, you have a 10 minute timer to capture the superweapon sinc eyou can see it on the map ANYWAYS and give the radio tower the mega long range.. lik ethe tower itself does the hacking, b ut you need lotus in it to do it (am i making any sense or have i lost it?) and have the bbuiilding the 'superweapon' tag to it so it shows up on radar aswell...

OKAY... is this hard to code now?

#9 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 29 October 2004 - 05:08 AM

I don't know that you could limit it to when you have Super Lotus in it. I think just having to build the radio tower would be enough, especially if it reveals its location. Otherwise, it would work.
:blink:
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#10 masterquinn

masterquinn
  • New Members
  • 10 posts

Posted 29 October 2004 - 04:41 PM

ok.. works for me.....

NOW..... how do i do it?

#11 AdmiralGT

AdmiralGT

    title available

  • Members
  • 1,702 posts
  • Location:Bristol, UK
  • Projects:Petrolution

Posted 29 October 2004 - 05:53 PM

Since Im at home I cant give you the exact coding, but in general

Code a New Building, for ease you can copy one of the existing Superweapons. Create a Command Button and change Dozer's command set (im presuming you know how to do this)
Copy the Special Ability from the Black Lotus to the Building, also copy the special power in SpecialPower.ini (renaming of course)
Increase its range to be huge (9999999.9 i think is the limit, check the other superweapons)
Rename to the new special power, add a timer to the Special Power (in specialpower.ini, remember its in milliseconds)
Remove the art work from the SpecialPower (The Binary Data Stream line) and remove the Unpack/repack time since this isnt needed.
Give your building a new CommandSet, create Command Button of new special power.

Done

#12 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 30 October 2004 - 06:55 PM

i dont want people to exploit it... they would send in a cloaked unit or something just to get line of sight and then take advantage and start capturing everything... i only want it for superweapons

#13 masterquinn

masterquinn
  • New Members
  • 10 posts

Posted 30 October 2004 - 06:56 PM

woops.. i should of logged in first...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users