-
September 21, 2013, 01:43 AM
#1
Laetus
Increasing unit range
I'm looking to create a mod for increasing the range of the units. I know that there is a +% missile range bonus in the game. Is there a way I can selectively apply this to specific units like by adding a passive ability to them if so how would I go about this.
-
September 21, 2013, 02:46 AM
#2
Re: Increasing unit range
Well, I think changing the range of the corresponding projectiles is easy enough.
1. Take a look at the units that you want to change in the land_units-table and check their primary_missile_weapon-entry.
2. Then look up to what kind of projectile the corresponding missile-weapons are connected to in the missiles_weapons-table. Some missile-weapons also have an entry in the missile_weapons_to_projectiles-table (e.g. javelin --> fire javelin).
3. Then go to the projectiles_table and increase the effective_range-entries of the corresponding projectiles.
4. (You might want to adjust weapon accuracy - I'd suggest to increase (more accurate) or lower (less accurate) calibration_distance or to increase (less accurate) or lower (more accurate) calibration_area.)
KAUNITZ PROJECT
- a modding project for a better representation of XVIIIth century warfare -
-
September 21, 2013, 05:59 AM
#3
Laetus
Re: Increasing unit range
Ty for your reply. I did think about doing it this way but it wouldn't allow it for a single faction as their are a rather small number of missile weapons so many factions use the same one. Is it possible to add a new weapon to the table so I can use that bow solely for the units I wish to edit?
-
September 21, 2013, 06:21 AM
#4
Re: Increasing unit range
Oh just for a single faction. I see. You didn't mention this in the opening post. I don't really know if setting up a new missile-weapon works. I guess so. I've never tried it out. You'd need to make all the corresponding entries in all relevant tables for sure.
Personally, I'd do it differently: Just take one of the superflous javelin entries and turn it into your longer range weapon (set appearance, mechanics, etc.). Then go to land_units and set all the units who had used this weapon so far to one of the other javelins - the differences aren't that big anyway - and give the new weapon only to the units of your choice.
KAUNITZ PROJECT
- a modding project for a better representation of XVIIIth century warfare -
-
September 21, 2013, 07:01 AM
#5
Laetus
Re: Increasing unit range
Firstly in the OP I did say 'to specific units' and secondly with this method would the skins be messed up at all or would it just affect the projectiles once they have left the soldiers?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules