TA: Kingdoms Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome to TA: Kingdoms
 
HomePortalGallerySearchLatest imagesRegisterLog in

 

 How to Make Units Reanimate Corpses

Go down 
AuthorMessage
Sage
Lead Designer of The New Era Expansion Project
Sage


Posts : 1226
Reputation : 8
Join date : 2008-08-02
Age : 37
Location : West Haven

How to Make Units Reanimate Corpses Empty
PostSubject: How to Make Units Reanimate Corpses   How to Make Units Reanimate Corpses EmptyTue Jul 09, 2013 11:51 pm

Using Scriptor, I was unable to recompile the script files, so I did the following:
I was missing the angular and linear values. Mine for some reason were set to 0.000000. They are located under script/ settings. Once you have your changes made, save it, then click "compile".

Linear = 163840.000000
Angular = 182.000000

Both Output file and directory need to be checked.

I was able to get the weather witch reanimate executioners by adding the following to the script:

StartBuilding()
{
set INBUILDSTANCE to 1;
return;
}

StopBuilding()
{
set INBUILDSTANCE to 0;
return;
}


Also make sure that under MoveWatcher() you have parenthesis around "get CURRENT_SPEED":

moving = (get CURRENT_SPEED)  ///// Adding these parenthesis bring back the animation

In the FBI file, you should have, ie. tarwitch(to make the witch reanimate executioners):

animatetype = tartroop;
builddistance = 400; (this value can change)
cananimate = 1;
canreclaim = 1;  (if you want to clean the area from corpses)
workertime = 30; (how fast you want the witch to reanimate)
Back to top Go down
https://takuniverse.webs.com/
 
How to Make Units Reanimate Corpses
Back to top 
Page 1 of 1
 Similar topics
-
» How to Make Units Build
» New Era - Corpses for Aramon's Flying Units
» New Era - Corpses for Taros' Flying Units
» New Era - Corpses for Creon's Flying Units
» New Era - Corpses for Veruna's Flying Units

Permissions in this forum:You cannot reply to topics in this forum
TA: Kingdoms Forums :: GENERAL :: Tutorials :: Units-
Jump to: