Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Mar 29, 2024 7:02 am
All times are UTC + 0
Superweapon Tutorials
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Oct 27, 2002 2:35 am    Post subject:  Superweapon Tutorials Reply with quote  Mark this post and the followings unread

Overview
1.Draw animations
a.Convert them to SHP
b.Add them to ecachexx inside expandxx.
2.Code
a.Add all animations to the list
b.Write the code in art.ini
c. Link all animations together
d. Set the last one to repeat from the beginning-this is optional
3. Finish coding in rules.ini
a. Make a new warhead
b. Add it to list
c. Apply first animation to wh
4.Applying the superweapon
a. edit ChemicalSpecial
b. change Chemlauncher

STEP1 DRAWING ANIMATIONS
This is not covered in this tutorial.  There are many sites that show you how to do this.  Or stop by the forum and ask if you don’t know how.  Just draw an animation with multiple frames (if you want) and convert them to shp in the XCC Mixer.

STEP2 CODING
Open rules.ini and search for [Animations].  Add a new number at the end of the list and type the uppercase name of all your new animations.

Next, you add the core of the coding for the superweapon in art.ini.  Basically all a superweapon is, is a continuing pattern of animaitons that does damage.  You can link animations with the Next and Spawn keywords.  (To see an example see the Superweapon code file).

In the case of my first lightning superweapon, I made it keep on looping until TS reached the limits for maximum number of animations on screen, and it stops making new animations, thus eventually stopping the superweapon.  However, this was a bad plan because it slows the computer way down.

STEP 3 RULES.INI
This is simple to add a new WH.  Copy an existing one and change the stuff.  Add it to the end of the wh list under [Warheads].  On your wh, be sure to write Anim=and the starting animation from art.ini

STEP 4 APPLYING
You can replace any existing superweaapon, but how about ChemicalSpecial?  Change the ChemLauncher to your new weapon.  You must make a new weapon with your WH you made.  You can change the icon, recharge time, and add voices that are unused in TS.

I hope this has helped you.  This tutorial and others are available for download at:
http://andromeda.2ya.com

Thank you for reading!
-Mr. Muk


Key Words: #Tutorials #Modding #TiberianSun #Firestorm #RedAlert2 #YurisRevenge #Rules.INI #Art.INI 

Last edited by Banshee on Tue Nov 08, 2016 10:00 pm; edited 2 times in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Oct 27, 2002 2:37 am    Post subject: Making the Comet Storm from Maximum Carnage (by Muk) Reply with quote  Mark this post and the followings unread

First replace [Napuls] primary weapon:
Primary=CometWeap;EMPulseWeapon

In the weapons section:
[CometWeap]
Damage=1
ROF=70
Range=99999
Projectile=Invisiblec
Speed=100
Warhead=StormWH
Report=SLVKGUN1

in projectiles section:
; invisible flight to target
[Invisiblec]
Inviso=yes
Image=none
Cluster=45
IgnoresFirestorm=yes

in warheads section:
[StormWH]
Spread=3
Verses=150%,125%,100%,75%,25%
InfDeath=1
AnimList=COMET
Bright=yes
ProneDamage=70%

In warheads list:
XX=StormWH

In Animations list:
XXX=COMET
XXX=ICETRAILER

Art.ini
above [METLARGE]:
[COMET]
Elasticity=0.0
MaxXYVel=100.0
MinZVel=-50.0
ExpireAnim=TWLT070
Damage=100
DamageRadius=100
Warhead=StormWH
IsMeteor=true
LoopStart=0
LoopEnd=3
LoopCount=-1
RandomRate=220,500
DetailLevel=0
TrailerAnim=ICETRAILER
TrailerSeperation=1
Report=METEOR1

Below [SMOKEY2]:
[ICETRAILER]
Translucent=yes
LoopStart=0
LoopEnd=10
LoopCount=5

This code is for the superweapon in Maximum carnage. You can download at http://maxcarn.homestead.com/downloadmc.html if you would like to see the art for it.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Nov 17, 2002 8:45 pm    Post subject: More info about Actions and Types. Reply with quote  Mark this post and the followings unread

I've got this from DEEZIRE forums and it was written for Red Alert 2 superweapons, but since Red Alert 2 superweapons are an update of the Tiberian Sun ones, the info below may help someway how..

Quote:
You cant use an Action= more than once but you can clone a Super Weapon by using it's Type= with a different Action=.

There are special cases where some dont need an Action= and some dont need a Type=. For exmaple, Action=TogglePower does not need aType=.

Very basically, the Type= determines which bit of the code is used for the Super Weapon and takes parameters from that code from the RULES.INI file.

An Action= is used to collect data for the Type= (usually a Waypoint=, a place on the map) and makes the Type= take effect. The Action= is usually associated to a specific cursor.

EG: Type=Paradrop will reinforce the player using the [PDPLANE] unit and will drop the number of infantry units with AllyParaDropNum= or SovParaDropNum=. The infantry that is dropped is defined with the AllyParaDropInf= or SovParaDropInf=. This Type= requires a Waypoint= to function, so it uses an Action= to get one. In this example, Action=Paradrop is used to display the Paradrop cursor and pass the acquired Waypoint= to the Type=.

You are restricted in creating/editing Super Weapons by the Type= setting - your 'new' super weapon must be some variant of an existing Type=. This means that you could quite easily clone, say, Type=ChronoWarp by changing the animations it uses in RULES.INI and ART.INI but the actual ChronoWarp itself would also have the same effect as the Type= is the same.

PS - Action=Eaten is the repair wrench over a structure when you fix it.

ToggleSelect UNUSED - requires SELECT.SHP (obsolete)
Eaten USED when damaged structures are repaired
SellUnit USED when you sell a unit from a Service Depot
GRepair USED by [Mechanical] warhead
NoGRepair " " " "
TogglePower USED by Action=TogglePower
NoTogglePower UNUSED
TibSunBug SPARE Placeholder
SelectNode See ToggleSelect
Demolish USED by SEAL/Tanya C4
Paradrop Overfly USED when Plane dropping paratroops
Paradrop Approach - USED when paradrop plane flying to target

Ambush Obsolete
Rescue Obsolete

Be careful when using an existing Action= as you could inadvertently trigger your super weapon when a unit goes into the Action= for example, if you change the Iron Curtain to Action=Harvest then it will be fired when you order an Ore Miner to harvest some ore


Quote:
ACTIONS
=======

Move ;USED
NoMove ;USED
Enter ;USED
Self ;USED
Attack ;USED
Harvest ;USED
Select ;USED
ToggleSelect
Capture ;USED
Eaten ;Dont know if it is used
Repair ;USED
Sell ;USED
SellUnit ;I think this aint used
NoSell ;USED
NoRepair ;USED
Sabotage ;USED
Tote ;USED FOR THE CARRYALL LOGIC
DontUse2 ;Not Known
DontUse3 ;Not known
Nuke - Nuke_0 is cloneable ;The clonable Nuke.......i think not used
DontUse4 ;DOnt know
DontUse5 ;dont know
DontUse6 ;dont know
DontUse7 ;dont know
DontUse8 ;dont know
GuardArea ;USED
Heal ;USED FOR THE MEDIC
Damage ;USED
GRepair ;dont know if it is used
NoDeploy ;USED
NoEnter ;USED
NoGRepair ;don know if it is used
TogglePower
NoTogglePower
EnterTunnel ;USED(MAYBE)
NoEnterTunnel :used(maybe)
IronCurtain ;USED
LightningStorm ;USED
ChronoSphere ;USED
ChronoWarp ;USED
ParaDrop ;USED
PlaceWaypoint ;USED
TibSunBug
EnterWaypointMode ;USED
FollowWaypoint ;USED
SelectWaypoint ;USED
LoopWaypointPath ;USED
DragWaypoint ;USED
AttackWaypoint ;USED
EnterWaypoint ;USED
PatrolWaypoint ;USED
AreaAttack ;USED
IvanBomb ;Used
NoIvanBomb ;USED BU ENGINEER disables Ivan bomb
Detonate ;USED BY IVAN BOMB DETONATION
DetonateAll ;NOT USED BUT DEEZIRE COULD USE IT FOR THE Crazy Ivan deploy weapon
DisarmBomb ;USED
SelectNode ;Not known for what is it used
AttackSupport ;USED
PlaceBeacon ;USED?
SelectBeacon ;USED
AttackMoveNav ;USED
AttackMoveTar ;USED
Demolish ;USED BY DEMO TRUCK
AmerParaDrop ;USED
Paradrop Overfly - can be used for Airstrike ;Not known if it is used
Paradrop Approach - can be used for Spyplane ;Not known if it is used
Sleep ;USED
QMove ;USED
Retreat ;USED
Guard ;USED
Sticky ;USED
Area Guard ;USED
Return - spawn manager ;USED BY HORNETLAUNCHER
Stop ;USEd
Ambush ;USED
Hunt ;USED
Unload ;USED
Construction ;USED
Selling ;USED
Repair ;USED
Rescue ;not known if it is used
Missile ;USED FOR A.BOMB LAUNCHING
Harmless ;USED
Open ;USED
Patrol ;USED
Wait ;not known if it is used

TYPES
=====

AmerParaDrop
Demolish
AttackMoveTar
AttackMoveNav
SelectBeacon
PlaceBeacon
AttackSupport
SelectNode
DisarmBomb
DetonateAll
Detonate
NoIvanBomb
IvanBomb
AreaAttack
PatrolWaypoint
EnterWaypoint
AttackWaypoint
DragWaypoint
LoopWaypointPath
SelectWaypoint
FollowWaypoint
EnterWaypointMode
TibSunBug
PlaceWaypoint
ParaDrop
ChronoWarp
ChronoSphere
LightningStorm
IronCurtain
NoEnterTunnel
EnterTunnel
NoTogglePower
NoGRepair
NoEnter
NoDeploy
GRepair
Heal
GuardArea
DontUse8
DontUse7
DontUse6
DontUse5
DontUse4
Nuke
DontUse3
DontUse2
Tote
NoRepair
NoSell
SellUnit
Sell
ToggleSelect
Select
Self
NoMove

An Action= can only be used once. That means you can't have 2 superweapons that both use Action=Nuke. Sometimes, Type= have to be also used only once. But this is not always true with the Type= statement. You can have more than one "Type=Paradrop"s. This is how you can get 3 paradrops in the game.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Goldy
Cyborg Engineer


Joined: 03 Jul 2003

PostPosted: Sun Nov 09, 2003 6:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Can u make a meteor storm weapon? I tried to make it so many time but couldn' get it to work. It shows nothin but explosion.

_________________
Born on the Island from the Heavens
I was sworn to protect the Master Emerald

Knuckles the Echidna

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Sun Nov 09, 2003 2:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Use METLARGE or METSMALL as animationlist...

Back to top
View user's profile Send private message Visit poster's website Skype Account
Goldy
Cyborg Engineer


Joined: 03 Jul 2003

PostPosted: Mon Nov 10, 2003 1:10 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok. Thanx

_________________
Born on the Island from the Heavens
I was sworn to protect the Master Emerald

Knuckles the Echidna

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1423s ][ Queries: 11 (0.0086s) ][ Debug on ]