Paratroops not working need help with XML
-
-
Do i just need this set up.
<attachment name="techAttachment" attachTo="Finns" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
<option name="paratroopers" value="true"/>
<option name="mechanizedinfantry" value="true"/>
</attachment>Regards
-
I should have said it is set up but maybe there is more code needed?
-
As long as there is a 'techAttachment' for each player that is using 'paratroopers'. If it is still not working, then it is very hard to figure out what the new problem might be with very limited information.
Sorry
Cheers...
-
There is a techattachment for all players but so be it. crazy that it was working previously.
Not sure what I changed. But no worries if you don't know don't sweat it. -
The first post presents a lot of information but is very disjointed. To be of any further assistance I would likely need to see the full xml.
Cheers...
-
Here is some of the other code i found related to paratroopers
<property name="Air Transportable Units" value="true" editable="false"/> <property name="Paratroopers Can Attack Deep Into Enemy Territory" value="true" editable="false"/> <property name="Paratroopers Can Move During Non Combat" value="true" editable="false"/> <property name="Air Transportable Units Require Air Base" value="false" editable="false"/> <property name="Paratroopers Can Only Launch From Own Territories" value="false" editable="false"/>Regards
-
"Paratroopers Can Attack Deep Into Enemy Territory" and "Paratroopers Can Move During Non Combat" deal with airborne and not paratroopers.
The remaining three are user defined properties and should have attachments.Cheers...
-
@wc_sumpton
Sorry i don't pop in here often,
I don't know what you mean by airborne verses paratroopers to me its the same?
Also on the last 3 two are false so i don't think i need anything and on the other what is the code to set up the attachment?Thanks
-
I don't know what you mean by airborne verses paratroopers to me its the same?
The airborne is a "techAbilityAttachment" which allows a unit to travel as air without a transporting unit, paratroopers require a transporting unit.
Also on the last 3 two are false so i don't think i need anything and on the other what is the code to set up the attachment?
Look for gameProperty with a value set to the property. If there are no attachments with these options, then these properties have been disabled. Since I have no idea what they were designed for there would be no way for me to say they are for.
Sorry i don't pop in here often,
No problems take your time.
Cheers...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login