Jump to content


Photo

How to create a weather tank like weapon [TS/RA2/FS]


  • This topic is locked This topic is locked
2 replies to this topic

#1 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 04 April 2008 - 08:22 PM

This is the most basic code for weather tank like weapon. If you just copy and paste the next few lines you will encounter a Internal Error. The code is based on the cluster missile, chemical missile logic in TS.

You need to know basic adding in editing including adding new anims for visual effect.

[WeatherWeapon]
Damage=1
ROF=0
Range=10
Projectile=WeatherProj
Speed=100
Warhead=WeatherWH
MinimumRange=3
Anim=WETHB

This weapon is like the aircraft carrier hornet launcher, it doesn't actually cause any "damage" its just used for targeting purposes. However if your not using ammo logic I would highly advice increase ROF. WETHB an anim which the old weather control device had of a beam shooting up into the sky, its located in conquer.mix

[WeatherProj]
Arm=1
Proximity=yes
Ranged=yes
AA=no
ROT=5
Airburst=yes
AirburstWeapon=WeatherStrike
High=yes
VeryHigh=yes
SubjectToCliffs=no
SubjectToElevation=yes
SubjectToWalls=no

This projectile code is important as it tells the projectile, I will explode over enemy and create a new weapon called WeatherStrike

[WeatherWH]
Verses=100%,100%,100%,100%,100%,100%,100%,100%,20%,100%,100%
AnimList=WEATHER1

This warhead invokes animation when WeatherProj explodes before creating a new weapon (in this case WEATHER1 is a weather cloud, you will need to create your own or use ww one)

[WeatherStrike]
Damage=
ROF=1
Range=0
Projectile=WeatherProj2
Speed=5
Warhead=WeatherStrikeWH

This weapon actually causes the damage which is of course up to you

[WeatherProj2]
Arm=3
Proximity=yes
Ranged=yes
Image=none
AA=no
ROT=1
SubjectToCliffs=no
SubjectToElevation=no
SubjectToWalls=no

Simple projectile code

[WeatherStrikeWH]
CellSpread=
PercentAtMax=
Verses=
AnimList=WEATHER2
InfDeath=5

Warhead of spawned weapon e.g. lightning bolt. Damage is up to you and WEATHER2 is lightning bolt animation

Important - due to the hack of a game which is TS/RA2/YR you will need to assign whatever weapon you added to the AirburstWeapon= to a dummy unit, the WEEDGUY and UTNK are classic examples, as long as a dummy unit has Primary, Secondary, ElitePrimary with the airburst weapon you will be find e.g.

[DUMMYUNIT]Primary=WeatherStrike

Posted Image

#2 Guest_Darknessvolt_*

Guest_Darknessvolt_*
  • Guests

Posted 07 April 2008 - 04:00 PM

I remember this was from LaoTze? :thumbsdownsmiley:

#3 EcclairLS

EcclairLS

    Me Likey. ;D

  • Members
  • 344 posts
  • Location:Philippines
  • Projects:Another Random Mod :D
  •  Whats this??

Posted 08 April 2008 - 02:40 AM

nope... this is just a simple airburst code.. just modified graphics.. this is used in many mods
There are times when a man remembered his greatest moments in life. Oh really? >_>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users