Posted: Fri Oct 13, 2006 12:53 pm Post subject:
Setting roles for separate weapons on 1 unit
Subject description: How do I do that? Sorry if this is a redundant topic.
Anyone here knows how to do make a unit fire two weapons at separate types of targets?
e.g.:
We all know RA1 Mammoth Tanks fire missiles at infantry and shells at tanks. But how on Earth can I do that in TS?
I tried referring to someone else's mod (downloaded from TiberiumSun). The name of the mod's CloseCall. The mod could do it. I can't.
I'm really sorry to ask if this is already a topic anyone would feel deja vu about. I barely went to TS mof forums. I tried browsing through the forum already. Came up with nothing. Please do send me a solution. If I deserved to be flamed/warned, by all means, do so. QUICK_EDIT
That is set by verses. Each weapon does some damage (100 for instance) and the verses determine how much of that damage is set to different types of armour, eg light infantry gun does a lot of damage (100%) to other infantry, but when set to 0%, the weapon doesn't fire. So, just set your other weapon to fire at those armour types you want. QUICK_EDIT
; Verses = damage value verses various armor types as percentage of full damage)...
;-vs- none, wood (buildings), light armor, heavy armor, concrete
the very first number in Verses= should be set to 0% (originally in TS it is 25%)
***********
Same with Mammoth missiles, [MammothTusk], but here you should set first number in Verses= to cause sugnificant damage to infantry. _________________
Sealab 2021 wrote:
Marco: So you rigged the OFF button with a tear gas grenade? Ho ho ho, you magnificent bastard!
Sparks: Oh, that's nothin', man. The ON button is a 50-megaton hydrogen bomb.
oh, yes, I've forgotten that Titan and Tick Tank use this warhead. In this case, give them another weapon with another warhead that uses the same Verses= as the original. _________________
Sealab 2021 wrote:
Marco: So you rigged the OFF button with a tear gas grenade? Ho ho ho, you magnificent bastard!
Sparks: Oh, that's nothin', man. The ON button is a 50-megaton hydrogen bomb.
I set the tank's main guns to deal low damage to infantry. (ProneDamage = O%, 25% of total damage to armorless units)
And then vice versa to its missiles. Worked. But they still use shells to attack ALL targets at the longest range (that includes infantry). Both weapons are at the same max range - 6 cells. Solutions? QUICK_EDIT
If you want your unit to use shells specifically against other armor and buildings only, make a specific warhead. Likewise, create a new warhead specifically for use against infantry. This way, you wouldn't have to touch the [AP] that is generically assigned to normal tank,mech warheads.
add an entry to the warhead list
[Warheads]
NN=ANTIARMORAP
MM=ANTIPERSONWH
NN and MM are the numbers next in the series after the given warheads that came in with TS
this new warhead (ANTIARMORAP) should be 0%,W%,X%,Y%,Z%
where W,X,Y,Z are any numbers
the new warhead (ANTIPERSONWH) should be X%,0%,0%,0%,0%
where X is any number you'd want this warhead to be as effective as you'd want it to be
Now assign the desired anti armor/building weapon the:
Warhead=ANTIARMORAP
and the anti personnel weapon:
Warhead=ANTIPERSONWH
This should do the trick; your unit uses the anti armor/building strictly when engaging armor and buildings only and the anti personnel weapon when strictly against infantry
Way ahead of you.
Warheads:
1. AP = 0% against non-armor. (mostly infantry)
2. HE = 0% against armoreds.
Next problem:
You see, some light vehicles & stuctures also use the 'no armor' tag. So that means the missiles would be used against them. Changing them into armored objects would be a good answer, but that's not all too helpful. QUICK_EDIT
How about... I show everyone the mod in .mix format and let someone reverse-engineer it? Maybe someone might be able to spot my mistake.
This is not my mod. Downloaded. In this mod, GDI has an equivalent for the mammoth tank, a.k.a. Devastator. It's fully functional. Shells -> armor and missiles -> infantry. Last edited by KajiTetsushi on Tue Oct 17, 2006 1:46 pm; edited 1 time in total QUICK_EDIT
Armor is not a definition of how strong the target is.
It merely defines how the Warhead reacts when it hits. For example changing a building from Wood to Heavy wouldnt have very much detrimental difference but it would be weaker to AP fire. However, the Armor wouldnt actually make it anywhere more durable to many weapons. QUICK_EDIT
oh yeah I forgot to mention.... If you're going to edit the armor types, you have to edit all the weapons to correspond to the armor types too.
you see, I edited all the TS units and all my added units correctly so that their armor responds correctly to the verses tags associated with attacking/damaging warheads.
Yes it's true that some units carry the Armor=none tag and that's just where I fixed it.
To be more specific:
I alligned all infantry with Armor=none
I alligned all heavy infantry with Armor=wood
.. all light vehicles with Armor=light
.. all heavy vehicles with Armor=heavy
.. and all structures with Armor=concrete (with the exception of a few)
The result of my mod was this: some sort of rock-scissors-paper circle because I had [AP] deal 30% damage to Armor=none and when I wanted to specific tanks/heavy units to use specific weapons to infantry, I just gave them a new warhead similar to [AP]. Anti-tank infantry Units with the Armor=none tag now have an advantage over tanks because I had them carry [AP] weapons (which is good against Armor=heavy). I configured units with Armor=light to be effective against infantry by making them very fast and with high ROF with anti infantry weapons.
I'm telling you this because one of the desired results out of this re-organized armor types was that units used specific weapons for specific targets (i.e. to be exact: [AP] and its derivatives for light and heavy units, [SA], [HE] and [HollowPoint] and their respective derivatives for infantry) and all you have to do is assign the right weapons..
Now, you might want to reorganize the armor types like I did; it's not very tedious just be careful not to misspell them. Believe me, it's easier to assign specific weaponry against a category if you know what their armor type is..
You might think that all these are too troublesome to even bother or that editing the armor types wont do any good. But I can assure you that it works perfectly in my mod ... and adding specialized weapons for me now is easy as pie compared to when the armor types weren't signature to unit categories
Conclusion: as I see it: it's a combination of warhead, armor and weapon editing to create the specific weapon effect that you want. QUICK_EDIT
Thanks for the help. I appreciate it very much. But if possible, could anyone of you download that sample mod over there, please? The mod's creator didn't change the armor for all the stuff, but he did do something to make the tank do that... somehow.
How come he could do it while I can't? What did he do to make it work? QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum