i thought it might be of use for everyone (and myself) to have a list of small tweaks everyone could apply within 5 minutes.
Before i create the list i want to gather a few tweaks. So everyone is invited to add questions, tweaks and comments.
Also know that i'm not a modder/coder or anything. I got almost no knowledge how to do anything more complicated then adding or changing a few lines. But i think this is still enough to manage this list.
Before you edit any .yaml: (Needs to be edited for better understanding.)
1.
I truely recommand to use NotePad 2 to edit.
If you copy/ edit lines be sure to use space correctly. (In Notepad 2 get to View / Show Whitespace)
White space is then marked by arrows.
You will notice before a trait there is 1 orange arrow. Then everything that belongs to the trait there are 2 orange arrows in front of it.
A trait will NOT work if you just press space a lot and then just get some orange points in front of it. So better copy an arrow and paste it.
2.
Trait names are case sensitive. So SelfHealing and not selfhealing. S and H need to be capital-letters.
Tweaklist:
Adding a cashtrickler
To make a structure create money you can add this:
Code: Select all
CashTrickler:
Amount: 20 (How much it adds)
Period: 50 (Time between creating money)
ShowTicks: True (Shows the money above the building)
TickLifetime: 30 (How long you can see text showing the money)
TickVelocity: 1 (How fast the text showing the money moves up)
Make a unit heal itself (Like mammoth) - Thanks to Nudalz
Code: Select all
SelfHealing:
Step: 5
Ticks: 5
HealIfBelow: 1
1. Open up /ra/rules/system
2. Right at the beginning there are productionqueue's for everything you need. (Infantry, Vehicle, etc...)
3. Delete them
4. Add this to a structure in /ra/rules/structures
Code: Select all
ProductionQueue:
Type: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
There is: Infantry, Aircraft, Vehicle,Building,Defense
Give a unit the ability to have it's own productionqueue.
1. Do as in mentioned in the tweak before
2. Add following traits to your unit:
Code: Select all
RallyPoint:
Exit@1:
SpawnOffset: -1,19
ExitCell: 0,2
Exit@2:
SpawnOffset: -17,15
ExitCell: 0,2
ProductionBar:
ProductionQueue:
Type: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
Production:
Produces: Infantry
PrimaryBuilding:
Most of my tweaks are in my mod Ra-Remixed
(don't want to advertise it but you can use it to have examples)
As always,
thanks in advance for any help.