How to make a "Chrono-Freeze" Warhead

Tutorial for Yuri's Revenge YR

No Avatar

Scorpio

Category: Code
Level: Beginner
Created: Wednesday July 29, 2009 - 4:52
Updated: Sunday October 11, 2009 - 8:18
Views: 3490
Summary: How to make a warhead which will freeze units.
Rating
  • Staff-
  • Members-
  • Average-

0 votes

What this warhead basically does is make the weapon that a unit uses chrono another unit next to it as well as freezing it at the same time.

It's almost like the Magnetron's warhead logic except instead of lifting it, it chronos it.

The main defect of this warhead is that it when it freezes the unit, the frozen unit stays freezed for the whole game... :roll:

Explanation:

1. First we take a look at the Magnetron's weapon's warhead:

              
Code
[LocomotorBeam]
Verses=0%,0%,0%,100%,100%,100%,0%,0%,0%,100%,0%
IsLocomotor=yes
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}


2. The unique thing about this warhead is that it has a locomotor which allows the "pull" effect. The "Locomotor=" specifies what kind of locomotor is used. In the Magnetron's case, a jumpjet locomotor is used.

2. Now since we want a chrono effect we simply first copy or retype out the whole [LocomotorBeam] warhead, give it another name of your choice and then instead of having:

{92612C46-F71F-11d1-AC9F-006008055BB5}

, which is a jumpjet locomotor, we replace it with:

{4A582747-9839-11d1-B709-00A024DDAFD1}
, which is a chrono locomotor.

So it will basically look like this:

              
Code
[Name_Of_Choice]
Verses=0%,0%,0%,100%,100%,100%,0%,0%,0%,100%,0%
IsLocomotor=yes
Locomotor={4A582747-9839-11d1-B709-00A024DDAFD1}


3. Then you will have to add the warhead under the [Warheads] list:

xx=(Your Name For Your Warhead)

xx=number

4. Then you just simply give this warhead to any weapon of your choice.

This warhead makes a weapon HIGHLY unbalanced as it's a one hit kill/ freeze for every unit. So if you are to use it, try to give it high ROF or something.

Return to top