Log in

View Full Version : The starting fow for the faction



Ahmose
02-17-2006, 01:54
Can anyone tell me which files I must alter to make a faction start knowing some lands around them, much like EB did??

Another question, in EB they managed to change the unit class that appears in battle. When you mouse over a javilen cavalry it says "skirmisher cavalry" while in the EDU.txt file you can put light, meduim, heavy and missile units only!!
This is also appears in RTR mod. In earlier versions in RTR like RTR v6.0 the "prec" attribute in EDU.txt file showed in the game in the unit abilities with this descreption " javilens thrown before charge" but in RTR Gold it showed " prescure weapon before charge" or something like that.

Is there anyone knows the answer??

LorDBulA
02-17-2006, 08:25
Can anyone tell me which files I must alter to make a faction start knowing some lands around them, much like EB did??

There is no such file.
To do something like this you have to:

Add spays to proper faction and place them in right position (where you dont want to have FOW).
Then you add campagne script to campagne.
With this script you kill all surplus spays you placed earlier to lift FOW.
At the end you dismiss all messages so player is not flooded with spay killed Messages at the beginning on campagne.

Good luck.

Ahmose
02-17-2006, 10:53
Thanks LorDBulA, do you know the answer of the other question??

Anyway, thanks for answering my question :).

Lusted
02-17-2006, 11:34
Look in the various text files in the data\text folder, the answer will be in one of those.

Ahmose
02-17-2006, 12:17
Look in the various text files in the data\text folder, the answer will be in one of those.
I tried but none of them has a difference. I posted this question over the RTR forum but no one answered me :no: . Also, how I kill the spyes in the begining of the compagin although the script must be activated by the player, so, he will be able to see the spyes :help: please.

Myrddraal
02-17-2006, 12:28
You can have a script which runs at the start of the campaign without human intervention, much like the prologue script.

But you can't save the game till that script has terminated, and it doesn't run when you load. So you can use a script like that to set up starting things.

Lusted
02-17-2006, 12:32
Look in data\text\battle.txt, it governs what the unit type tags say in game, it uses the combiantion of heavy, light, missile spearmen, and whether the unit is cavalry or infantr yot decide which tag each unit uses.

Ahmose
02-17-2006, 14:29
You can have a script which runs at the start of the campaign without human intervention, much like the prologue script.

But you can't save the game till that script has terminated, and it doesn't run when you load. So you can use a script like that to set up starting things.

Thanks Myrddraal, this is explained what I need to know. Now I am digging into the scripting guides :book: .


Look in data\text\battle.txt, it governs what the unit type tags say in game, it uses the combiantion of heavy, light, missile spearmen, and whether the unit is cavalry or infantr yot decide which tag each unit uses.

Thanks Lusted, I am searching the file right now, you helped me a lot.

Thanks for everyone.