PDA

View Full Version : creatures jobs



Endrix
January 22nd, 2015, 17:00
1. How can :tunneller: work like an imp??

PrimaryJobs = TUNNEL normal

PrimaryJobs = DIG :imp:

+ Properties = SPECIAL_DIGGER


but he does not work like a imp.


2. :dog:

PrimaryJobs = SEEK_THE_ENEMY SCAVENGE

= He always scavenge ????


PrimaryJobs = SEEK_THE_ENEMY
SecondaryJobs = SCAVENGE

= He always seek the enemy ???

YourMaster
January 22nd, 2015, 17:08
1: You can't. Tunnelers have issues, see this issue ('https://code.google.com/p/keeperfx/issues/detail?id=77') for example.
Even if you do a hero campaign, you're still stuck with imps.

2: If you have multiple jobs as a primary job the creature should pick one of them at random. They will always prefer the primary jobs over the secondary job yes.

Endrix
January 22nd, 2015, 19:14
How many PrimaryJobs do work?

YourMaster
January 22nd, 2015, 23:15
I'm not sure about keeperfx, but if it works like the original, as many as you'd like. There you could add up the numbers of the job. E.g. 4 was research, 8 was training, 16 was manufacture so if you gave a creature primary job '28' it would have all three of those jobs as the primary job. Giving the creature primary job '32727' would have given the creatures all jobs as primary job.

In KeeperFX just list the jobs you want to give.

mefistotelis
January 23rd, 2015, 10:17
I'm not sure about keeperfx

In KeeperFX you may also put any amount of jobs, and one will be selected by random.

Job names are defined in creature.cfg (https://code.google.com/p/keeperfx/source/browse/trunk/keeperfx/config/fxdata/creature.cfg). Any job which has PlayerFunctions set will work; jobs which don't have player-based assign functions will never be assigned.

Endrix
January 23rd, 2015, 16:25
Also it´s so ok?

:dog:

PrimaryJobs = SEEK_THE_ENEMY SCAVENGE FIGHT EXPLORE GROUP


Switch the jobs in one game???

YourMaster
January 23rd, 2015, 17:50
The 'GROUP' job doesn't do anything.

Endrix
January 23rd, 2015, 18:37
What is the different between FIGHT EXPLORE AND SEEK THE ENEMY??

YourMaster
January 23rd, 2015, 19:12
Fight: When a fight happens on the map, the creature will attempt to join it
Explore: Explore the map
Seek the enemy: Go to the enemy and start a fight

Endrix
September 17th, 2015, 15:28
does this make sense?

PrimaryJobs = > MANUFACTURE FIGHT <
SecondaryJobs = TRAIN

YourMaster
September 17th, 2015, 16:03
If you don't include the ' > < ' that will work. This creature would generally use the workshop, but if he is idle he would join fights going on. Even though fighting would technically be preferred over training, training will only be interrupted if the fight is going on while the creature levels or when he comes back from the garden/lair.
Simply put, he would go to the workshop first, training second, will 'randomly' join fights and when idle would join all fights.

Woudo
September 17th, 2015, 18:19
Fight: When a fight happens on the map, the creature will attempt to join it

Which creature is that assigned to?

YourMaster
September 17th, 2015, 21:15
Horny, Mistress and some heroes.