Ludeon Forums

RimWorld => Releases => Mods => Outdated => Topic started by: soulkata on September 01, 2015, 06:38:39 AM

Title: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: soulkata on September 01, 2015, 06:38:39 AM
Hi folks! Long time no see! Thanks to TheGentlmen (https://ludeon.com/forums/index.php?action=profile;u=28421), who converted the AbilityPask to the latest Release!

Mod List

A12d Ability Pack (https://ludeon.com/forums/index.php?topic=15764.msg166488#msg166488) Tool that helps modders to add special abilities on their Pawns.
A12d Alien Ants Faction (https://ludeon.com/forums/index.php?topic=15764.msg166489#msg166489) New faction of nasty Alien Ants.
(https://ludeon.com/forums/index.php?topic=10587.msg119046#msg119046) A10 Mecha Tanks - Add a new tank unit to the pirates faction.
A12 Faction Gauntlet (https://ludeon.com/forums/index.php?topic=15764.msg166490#msg166490) Tool used to measure the faction Ballance, or just see enemies fighting themselves!

Source Control
www.github.com/soulkata/rimworld (http://www.github.com/soulkata/rimworld)
Title: [A12d] Ability Pack
Post by: soulkata on September 01, 2015, 06:38:57 AM
ABILITY PACK

Description:
This is a tool mod. It's allow other mods create pawns with unique abilities, like spawning new units, regenerate itself or even revive corpses... and much more!

(http://puu.sh/gTjpf/d6481d65f1.jpg)

Sample Mods
With the Mod itself, the download contains some samples, these samples are for ability tests purposes only, and are very unbalanced:

  * AbilityDemoSpawn: Adds a Muffalo that keeps spawning snakes and rabbits;
  * AbilityDemoNecromant: Adds Muffalo that revives any pawns and make them their allies;
  * AbilityDemoRegen: Adds a Muffalo that heals itself;
  * AbilityDemoRessurect: Adds a Muffalo that comes from the deads 3 times;
  * AbilityDemoEvolve: Adds a Rabbit that turns itself into a Muffalo;
  * More will be added soon!

Changelog & Download
Quote
--------------------------------------------------------
Release 03.001 (01/09/2015)  (Source (http://bit.ly/1FfquA4))  (Demos (http://bit.ly/1hudalJ))
--------------------------------------------------------
* A12d changes;
* Use code provided by TheGentlmen (https://ludeon.com/forums/index.php?action=profile;u=28421).

--------------------------------------------------------
Release 02.002 (23/04/2015)
--------------------------------------------------------
* Minor changes;

--------------------------------------------------------
Release 02.001 (16/04/2015)
--------------------------------------------------------
* Fixed a small bug on Mote Destroy;

--------------------------------------------------------
Release 02.000 (15/04/2015)
--------------------------------------------------------
* Alpha 10 update;
* Add 'AbilityRequeriment_RandomChance' requeriment;
* Add 'AbilityRequeriment_SquadSmallerThanColony' requeriment;

--------------------------------------------------------
Release 01.000 (28/03/2015)
--------------------------------------------------------
* Added motes Support;
* Removed the effect 'AbilityEffect_MakeCorpseProvideCover';

--------------------------------------------------------
Release 00.004
--------------------------------------------------------
* Added the mod Mecha Tanks (https://ludeon.com/forums/index.php?topic=11576.0);
* Created the requeriment 'AbilityRequeriment_True'
* Created the effect 'AbilityEffect_MakeCorpseProvideCover';

--------------------------------------------------------
Release 00.003
--------------------------------------------------------
* Added the mod Alien Ants (https://ludeon.com/forums/index.php?topic=10587.0);
* Created the 'validity' contraint, in order to hide unwanted habilities;
* Created the requeriments 'AbilityRequeriment_ColonyBiggerThan', 'AbilityRequeriment_CasterConscious', 'AbilityRequeriment_CasterDead' and 'AbilityRequeriment_CasterDowned'
* Created the targets 'AbilityTarget_SquadMembers' and 'AbilityTarget_Race';

--------------------------------------------------------
Release 00.002
--------------------------------------------------------
* Created an english translation;
* Renamed the 'Revive' sample to 'Necromancy';
* Created the 'Ressurect' sample;
* Allowed to the pawns to execute habilities while Downed or Dead;
* Created the 'AbilityEffect_Evolve' effect;
* Created the 'Evolve' sample;


--------------------------------------------------------
Initial Release
--------------------------------------------------------


Contributing & Requests
Any idea / contribution will be much appreciated!

Making my own Habilities:
Currently, for you to make a Pawn that has skills, you need to put in the Pawn ThinkTree a call to perform the skills. Below is a sample ThingDefs of the pawn print screen:
(http://puu.sh/gIO9q/5948274cdf.png)

Or, if you prefer, you can create your own think tree and add the job to perform the skill, as below:
(http://puu.sh/gIOhW/caef1bc416.png)

I will be working to remove the ThinkTree requeriment...


How to install:
- Unzip the contents and place them in your RimWorld/Mods folder.
- Activate the mod in the mod menu in the game.
- Create a new world and a new game.

Documentation
There 2 kinds of 'Defs', 'AbilityDefs' and 'ManaDefs'. The 'AbilityDefs' says which ability each pawn have, and the 'ManaDefs' says how each pawn gains mana.

ManaDefs
The mana determine how the pawn gains mana. Below a documented sample. Look in 'AbilityDemoSpawn' to a documented sample.

AbilityDefs
The AbilityDefs determines what the pawn can make. For as ability to be executed, it must meet the following requirements:
  1) To be valid. Ability have a 'validity' property, which determines whether they are classified as valid. A invalid ability does not run, does not appear in the abilities tab and the time since the last execution is not updated.
  2) Go through the requirements. Like 'validity', 'requeriment' is a condition that must be meet for the ability to perform. The difference between them is that while the validity hides the invalid abilities, the requeriment just does not execute them.
  3) Have the highest priority. If there are two abilities that are valid, the priority is the tie-breaker. Only the ability with the highest priority is executed.
  4) Choose legal targets. Some effects require targets to run, and if it is not on a valid target, the ability is not performed.

Validity and Requirement properties
Validities and Requirements are conditions that must be accepted to the ability execute. The difference between them is that while the validity hides the invalid abilities, the requeriment just does not execute them. Below a list of the current implemented conditions.

AbilityRequeriment_ExecutedTimes This requirement, limits the total number of times that the ability is executed. Its uses the 'limit' property to do so.
AbilityRequeriment_ManaAbove The ability only will be executed if the Pawn have more mana than the 'value' property.
AbilityRequeriment_ManaBelow The ability only will be executed if the Pawn have less mana than the 'value' property.
AbilityRequeriment_TimeFixed This blocks the ability execution a fixed time, in ticks, between each execution. The time passed is the 'value' property.
AbilityRequeriment_TimeChangind This blocks the ability execution to a time dependent function, the first time, the time requirement is in 'initial' property. Every subsequent ability execution changes the 'initial' property by the value of the 'between' property (between greater than zero to increase time function, and less than zero to make the ability be cast mor often). The 'minimum' and 'maximum' values restinges the time amount.
AbilityRequeriment_CasterConscious Returns true if the caster is not dead or downed.
AbilityRequeriment_CasterDead Returns true if the caster is dead.
AbilityRequeriment_CasterDowned Returns true if the caster is downed.
AbilityRequeriment_ColonyBiggerThan This requirement check the size of the treat that the colony can handle. It's uses the 'value' property.
AbilityRequeriment_True This is simple true requeriment, to be placed as filler.
AbilityRequeriment_All This is a container requirement, its groups other requirements in the 'items' property, and only returns true if all inner requirements are meet.
AbilityRequeriment_Any This is a container requirement, its groups other requirements in the 'items' property, and returns true if at least one of the inner requirements are meet.
AbilityRequeriment_RandomChance Used to make abilities not being started at exact times.
AbilityRequeriment_SquadSmallerThanColony Compares the quad size with the colony size.

Priority
If more than one ability pass the requirements, the system must choose which ability will be executed. Priority do that. Greatest priority will be chosen.

AbilityPriority_Fixed This is a fixed priority. The priority is in the 'value' property.

Target
Some abilities require valid targets to be executed. The targets are evaluated before the start of the ability.

AbilityTarget_Take The take target limit the number of the targets, its uses the 'count' property and a inner 'target' that must contain the source items.
AbilityTarget_Union The union target groups the results of another targets. The union has a list of targets called 'targets'.
AbilityTarget_Range Restricts the range of the targets with the 'minimumRange' and 'maximumRange' properties. Its has the 'closestFirst', if this is true, the target will pick the nearest targets first. The source targets are in the 'target' property.
AbilityTarget_Self Adds the caster as a target.
AbilityTarget_SquadMembers Gets the squad members of the caster.
AbilityTarget_Friendly Gets the friend targets of the caster. If the 'optionalSource' is set, the game filter its contents, otherwise the game pics all the friend pawns.
AbilityTarget_Enemy Gets the enemy targets of the caster. If the 'optionalSource' is set, the game filter its contents, otherwise the game pics all the enemy pawns.
AbilityTarget_ThingInCategory This target pics things in predefined game categories. Its uses the 'group' property to determine its results.
AbilityTarget_Race This target filters only pawns of the specified races.

Effect
Here comes the good part, the ability results! If all the requirements are meet, the priority is high enough, and have valid targets, than the ability will be executed...

AbilityEffect_Random You can put more than one effect in the 'items' property, the game will choose one of them and execute.
AbilityEffect_Heal This effect heals de wounds of the target pawns. If the pawn is the caster, it will appear the he if regenerating... If are his friends, it appears that he is healing them. Once cast, the heal will have an power, used to heal wounds, there two gaining power methods, the 'totalPower' and 'targetPower', the 'totalPower' is a single addition, while the 'targetPower' adds more (or less) power every new target. To consume this power we have another two properties 'treatLocalInjuryPowerUse', used to treat an injury, and the 'healLocalInjuryPowerUse' this is the cost to heal 1 damage point. Besides all that, we have the 'healthTrashHold' (0.0 ... 1.0), that pics only targets with health below this percentual. Healing its a Casted ability, than it have the 'canBeInterrupted', the 'castTime' and the 'manaCost' properties.
AbilityEffect_Revive This effect revives the targets. (Currently more test is needed to keep the weapons and apparel of the original pawn). If the target is the caster, he will always back from the dead, like a phoenix, or an assembly skeleton. If if another corpe, the caster will like a necromancer, or a repair robot! The effect has a 'changeFaction' property, if set to true, the resurrected pawns will be of the caster faction. TODO: I want to set an property to allow changing the race of the resurrected corpses, to allow the creation of zombies, or weaker versions of the original pawn. Reviving is a Casted ability, than it have the 'canBeInterrupted', the 'castTime' and the 'manaCost' properties.
AbilityEffect_Spawn This effect creates new pawns to fight for the caster! This effect dont need any target to be executed. Its has an list of 'PawnKindDef' that fill be spawn near the caster. The 'range' controls the distance between the caster and the new pawns. Spawing is a Casted ability, than it have the 'canBeInterrupted', the 'castTime' and the 'manaCost' properties.
AbilityEffect_Evolve This effect turn pawns into another pawns. It can be used for a Pokemon based enemy, or for eggs that hatching. The AbilityDemoEvolve contains a documented sample of this ability.
AbilityEffect_MakeCorpseProvideCover This effect makes the corpes provide cover, the AbilityDemoProvideCover contains a documented sample of this ability.
Title: [A12d] Alien Ants
Post by: soulkata on September 01, 2015, 06:39:41 AM
ALIEN ANTS FACTION

Description:
This mod adds the 'Alien Ant' enemy faction to the game. My inspiration for this mod is the 'Ant Queen' (Wich spawns new ants among the attack) and the 'Ant Nurse' (Heals injuried Ants).

Current Alien Units
Currently, we have 5 types of ants:
* Ant worker, is a Weak melee unit, looks like an ordinary ant.
(http://puu.sh/g8vYk/9dd64b0101.jpg)

* Ant warrior, is a strong melee unit, with a Triceratops head.
(http://puu.sh/g8w5a/77a7458193.jpg)

* Ant stinger, is a Ranged unit with a scorpin tail.
(http://puu.sh/g8wie/e1276a01fe.jpg)

* Ant queen, is the Strongest melee unit, has an spawn Ant hability, and has a bee tail.
(http://puu.sh/g8wqo/28eddacbcc.jpg)

* Ant nurse, is a Ranged unit, has a lealing hability, and has a buterfly appearance.
(http://puu.sh/g8vI7/d77f0e6f64.jpg)


Changelog & Download
Quote
--------------------------------------------------------
Version a12v002 (02/09/2015) (Alien Ants (http://bit.ly/1Q8ITVu)) (Ability Pack (Requeriment) (http://bit.ly/1FfquA4))
--------------------------------------------------------
* Lowered butcher meat.

--------------------------------------------------------
Version a12v001 (01/09/2015)
--------------------------------------------------------
* A12d update;
* Simplified the habilities, to not respawn Queens.

--------------------------------------------------------
Version 0.402 (23/04/2015)
--------------------------------------------------------
* Fixed Ninefinger (https://ludeon.com/forums/index.php?action=profile;u=38914) log message;
* Minor balance ajusts;

--------------------------------------------------------
Version 0.400 (15/04/2015)
--------------------------------------------------------
* Alpha 10 update;
* Changed RaidCommonality as Ninefinger (https://ludeon.com/forums/index.php?action=profile;u=38914) pointed, to the ants attack more often;
* Changed Squad to Only have one Ant Queen at time;
* Changed Ant Queen spawn ability to less coldown when squad has litle Ants and more coldown when has many ants.

--------------------------------------------------------
Version 0.300 (28/03/2015)
--------------------------------------------------------
* Now the Ants uses motes to monitor the ability execution;

--------------------------------------------------------
Version 0.201 (10/03/2015)
--------------------------------------------------------
* Corrected the faction defs to allow other factions to attack the colony;


--------------------------------------------------------
Version 0.2 (10/03/2015)
--------------------------------------------------------
* Redesigned to use Ability Pack (https://ludeon.com/forums/index.php?topic=11192.0);
* Add 'mana' to Ant Nurse and Ant Princess;
* Add ITab to display ability stats;
* Created 'Ant Egg' unit;
* Created 'Ant Princess' unit;
* Ant Queen spawns only Ant Egg, that turns into Ant Worker and later on Warrior, Stinger or Nurse;
* If the colony is large enough, and there is no Ant Queen attacking, an random ant turns into a Ant Princess;

--------------------------------------------------------
Version 0.1 (22/02/2015)
--------------------------------------------------------
* Ant Nurse unit;
* Decreased meat ammout of butchered ants;


--------------------------------------------------------
Initial Release
--------------------------------------------------------
* Ant Worker unit;
* Ant Warrior unit;
* Ant Stinger unit;
* Ant Queen unit;


Contributing
I put all the sources and (Defs, C#, Photoshop (With Shapes)) along with the Mod, I would appreciate it if you pass me tips to improve the overall Mod ballance of the Mod.

Another thing, I suck at photoshop, spent much more time in sprite making than in game programing... and if someone wants to improve my textures, I will be happy to accept the contribution! :)

How to install:
- Unzip the contents of 'Ability Pack' and 'Alien Ants' and place them in your RimWorld/Mods folder.
- Activate the mods in the mod menu in the game.
- Create a new world and a new game.
Title: [A12d] Faction Gauntlet
Post by: soulkata on September 01, 2015, 06:40:36 AM
FACTION GAUNTLET

Description:
Tool used to measure the faction Ballance, or just see enemies fighting themselves!

(http://puu.sh/hglIL/dec217bc3a.jpg)

(http://puu.sh/hglsb/34e4c10566.jpg)

Changelog & Download
Quote
--------------------------------------------------------
Version a12v001 (02/09/2015) (Faction Gauntlet (http://bit.ly/1LUGyyU)) (Ability Pack (Requeriment) (http://bit.ly/1FfquA4))
--------------------------------------------------------
* Mod Description

--------------------------------------------------------
Version a12v001 (01/09/2015)
--------------------------------------------------------
* A12 Update;

--------------------------------------------------------
Version 0.202 (23/04/2015)
--------------------------------------------------------
* Minor Modifications;

--------------------------------------------------------
Version 0.100 (16/04/2015)
--------------------------------------------------------
* Initial Release;


Contributing
I put all the sources and (Defs, C#, Photoshop (With Shapes)) along with the Mod, I would appreciate it if you pass me tips to improve the overall Mod ballance of the Mod.

How to install:
- Unzip the contents of 'Ability Pack' and 'Faction Gauntlet' and place them in your RimWorld/Mods folder.
- Activate the mods in the mod menu in the game.
- Create a New World for this
- Create a New Colony for this
- Activate the Debug tools
- Ansfer the config menus and watch the brawl!
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:40:58 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:41:17 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:41:35 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:41:58 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:42:16 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:42:36 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:43:01 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:43:17 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:43:38 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:43:52 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, [Creating topic]
Post by: soulkata on September 01, 2015, 06:44:15 AM
Reserved.
Title: Re: [A12d] Soulkata Mods, A12 update
Post by: Dragoon on September 01, 2015, 05:48:50 PM
I hope you update the mecha tanks they rock!
Title: Re: [A12d] Soulkata Mods, A12 update
Post by: soulkata on September 02, 2015, 12:38:21 PM
Hi, new Alien Ants version, now with less butcher meat!
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: Jdalt40 on September 08, 2015, 09:41:15 AM
Now let's wait till somebody makes a time-lord regeneration ability :D
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: soulkata on September 09, 2015, 06:14:26 AM
Quote from: Joshy1111 on September 08, 2015, 09:41:15 AM
Now let's wait till somebody makes a time-lord regeneration ability :D

Sorry I didnt catch the easter egg... :(
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: TheGentlmen on September 09, 2015, 10:27:13 PM
Quote from: soulkata on September 01, 2015, 06:38:39 AM
AbilityPask
Found a spelling mistake.

Just realized about dis now... never noticed you put the A12 update out.
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: Jdalt40 on September 10, 2015, 09:48:53 AM
Quote from: soulkata on September 09, 2015, 06:14:26 AM
Quote from: Joshy1111 on September 08, 2015, 09:41:15 AM
Now let's wait till somebody makes a time-lord regeneration ability :D

Sorry I didnt catch the easter egg... :(
Basically time-lord regeneration is to as a time-lord (Species in Doctor Who), cheat death. This is done by regeneration energy which heals all parts of the body but makes it unstable as well. This causes the time-lord to change personalitys, appearance, even the gender!
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: TheGentlmen on September 17, 2015, 10:04:59 AM
Quote from: RoboticManiac on September 17, 2015, 09:50:27 AM
The alien Ant mod appears to be heavily broken- The queens spawn workers; who in turn spawn workers; who spawn ever more workers. Meaning that even one queen is enough to crash or heavily lag the game after a small period of time. It doesn't help either than the newly spawned worker ants AI does not instruct them to attack the base- Instead they just mill around spawning more of themselves.
Not confirmed.
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: soulkata on September 17, 2015, 10:34:53 AM
Quote from: ZE GREATZ GENTZ (TheGentlmen) on September 17, 2015, 10:04:59 AM
Quote from: RoboticManiac on September 17, 2015, 09:50:27 AM
The alien Ant mod appears to be heavily broken- The queens spawn workers; who in turn spawn workers; who spawn ever more workers. Meaning that even one queen is enough to crash or heavily lag the game after a small period of time. It doesn't help either than the newly spawned worker ants AI does not instruct them to attack the base- Instead they just mill around spawning more of themselves.
Not confirmed.

Well, please, send me the save game (Like the ones sent to Tynan in the version tests...) with this behavior!
:)
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: TheGentlmen on September 17, 2015, 08:45:16 PM
Quote from: soulkata on September 17, 2015, 10:34:53 AM
Quote from: ZE GREATZ GENTZ (TheGentlmen) on September 17, 2015, 10:04:59 AM
Quote from: RoboticManiac on September 17, 2015, 09:50:27 AM
The alien Ant mod appears to be heavily broken- The queens spawn workers; who in turn spawn workers; who spawn ever more workers. Meaning that even one queen is enough to crash or heavily lag the game after a small period of time. It doesn't help either than the newly spawned worker ants AI does not instruct them to attack the base- Instead they just mill around spawning more of themselves.
Not confirmed.

Well, please, send me the save game (Like the ones sent to Tynan in the version tests...) with this behavior!
:)

Quote from: Ninefinger on September 17, 2015, 06:59:19 PM
--SNIP, TO MANY QUOTES--

There should be no bug anymore with the ants, the queen was spawning eggs fairly quickly so I gave the queen a mana pool same as the nurse and made the lay ant egg cost 60 mana to cast this should slow down the egg laying process. As for the ants not attacking they seem to be working in my tests, they are supposed to hang around for a while and build up a threat before attacking adjusting the threat generated can be done the way I am doing it with man costs if it still needs to be adjsuted it is easy to do to balance it.

Aparently been fixed by nine... you should probably try to reproduce it using your mod only tho.
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: Jdalt40 on September 30, 2015, 02:11:33 AM
Hey just a question, but am i able to make ability's happen after using an item? I.e, an item that evolves the person holding it
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: soulkata on September 30, 2015, 06:57:13 AM
Quote from: Joshy1111 on September 30, 2015, 02:11:33 AM
Hey just a question, but am i able to make ability's happen after using an item? I.e, an item that evolves the person holding it

Well, the abilities are designed to be executed only by enemies... So, I don't know how a Enemy can use a item... The enemy will always has the item on the inventory?
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: Jdalt40 on October 03, 2015, 06:56:25 AM
Quote from: soulkata on September 30, 2015, 06:57:13 AM
Quote from: Joshy1111 on September 30, 2015, 02:11:33 AM
Hey just a question, but am i able to make ability's happen after using an item? I.e, an item that evolves the person holding it

Well, the abilities are designed to be executed only by enemies... So, I don't know how a Enemy can use a item... The enemy will always has the item on the inventory?
Can the item be triggered and check which pawn the item is on Soulkata? If it can, I think you could make it trigger the ability on the pawn, but I don't know, I am not a modder myself. It would be nice for a item to be able to trigger an ability, and no, the enemy will not always have the item on the inventory.
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: darkitten on November 29, 2015, 08:20:09 PM
when the ants are incapacitated and try to move they cause errors.. but i have every mod in a12 working except for this and 3 others
Title: Re: [A12d] Soulkata Mods, less butcher Ant Meat
Post by: mckinnal on March 26, 2016, 06:23:59 PM
why do all of your posts say reserved?