Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Destrin
Senior Member
 
Join Date: Jan 2012
Posts: 122

Old April 16th, 2014, 08:05 AM
I'm fiddling about with trying to get Firestorm Armada v2.0 built and struggling with a particular funny around dynamic tag groups.

Shield rating is usually a numeric value. However, if a ship has a cloaking field, it's shield rating is 'cloaking field'. Given it's numeric, I would have through the tag group should be dynamic, to avoid having to list every possible numeric value in advance. However, if I do this and then give a unit a shield rating of 'cloaking field' it shows up as a 0 in the unit details box.

Am I misunderstanding how dynamic tags are supposed to work? Or is this a case of needing to list out the discrete possible values given that some of them could be textual?
Destrin is offline   #1 Reply With Quote
Harkan_again
Senior Member
 
Join Date: May 2012
Posts: 206

Old April 16th, 2014, 11:23 AM
Off top of my head one way of approaching it would be to leave the values as numeric but assign a specific value to the unit stat if they have a Cloaking Field e.g. -999 (something that the user couldn't get to in the normal process of creating the unit.

In the def file in the Unit Stat tab for the Shield unit stat in the Finalize section then something like:

if (@value = -999) then

@text = $stCloakField
endif

In the def file in the String section then set up stClaokField to be "Cloaking Field" (that allows for easy language translation

My own Warlord Games gallery and the home of the Warlord Games datafiles:

http://www.facebook.com/ABDataFileWarlordGames
Harkan_again is offline   #2 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:05 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.