User talk:Luxionmk2

Welcome
Hi, welcome to Battle Nations Wiki! Thanks for your edit to the User:Luxionmk2 page.

If you need help, and there are no local admins here, you may want to visit the forums on the Community Central Wiki. Looking for live help? Then join us for an upcoming webinar to chat with staff and other Wikia editors. You can also check our Staff blog to keep up-to-date with the latest news and events around Wikia.

Happy editing, Dopp (help forum | blog)

Hello
I have noticed all the work you've done on templates. Thank you. The unitlevelbox template was unfinished and you finished it. There is one thing I have to tell you though. On the Infobox/Unit template, we will be removing any info already on the unitlevelbox template, such as HP, SP and damage. Thank you. 14:48, May 2, 2012 (UTC)

Re:
To answer your question to the newb, you should go by the Trooper page's example. Most other pages were overhauled prior to 1.3 and need to be overhauled again. Carb 0 16:50, May 2, 2012 (UTC)

^The Trooper is our "testing" page. Once it's done, we'll base the rest of the unit articles on it.

Hi
I like what you've been doing. Keep up the good work :) 00:41, May 3, 2012 (UTC)

About the attackbox
Hi, I followed your example on the trooper page where you put a different section for the attacks (I'm think  that was your edit). I think it's a good idea because it differentiates the sets of stats, and it opens up the possibility for putting multiple boxes for the different attacks that units can have. However, when putting in a section for the grenadier flashbang, I just realized though that the damage values in the unitlevelbox are dependent on the attack used. But they also change from rank progression so we can't just take the damage values and put them in the unitattackbox. Not really sure what the best way to handle this is though, so figured I'd let you know. Maybe we could have multiple damage rows? I don't know how the template system works so maybe that isn't doable since everyone is gonna have different alt weapons.Silverlighted 03:15, May 3, 2012 (UTC)


 * It's still a work in progress. In my original design, I plan on having "Base Damage" and "Base Offense" because those numbers differ with different attacks too.  The Trooper is just a sandbox, so I'll let the primary contributors decide what's best. Luxionmk2 18:07, May 3, 2012 (UTC)


 * There is no primary editors, we are all editors. If you feel an edit would be for the best, feel free to do it. It probably is for the best anyways 20:53, May 3, 2012 (UTC)

Hello
In light of all your hard work, I have granted you rollback rights. It is a useful tool that allows you to undo all the vandalism caused on one page on a single user. Only use this on intentionally malicious edits, not on edits done in good faith. 14:48, May 3, 2012 (UTC)


 * Thanks :) Happy to help!Luxionmk2 18:07, May 3, 2012 (UTC)

Hey
Nice work on the new unit info box. However, I would like to discuss it. Would you care to join Chat?.

Hello
On the new infoboxes, I have some questions. Why do the units' names not appear like in the original ones. Also, we won't keep info that changes through promotion, such as HP and damage. Basically, the only things I think should stay on there are constants, such as unit type and the type of blocking it has, along with a few more things. I'm positive you added them for a good reason, and I'd like to know why, so that I hopefully might have a change of heart. Thank you. 14:45, May 7, 2012 (UTC)
 * I was originally moving into that direction, keeping only the "constant" information, but you are left with too little information: NewUnitInfobox. After discussing this with PotatOS in chat, we felt that it was better to include more information (at least base, Rank 1 information). The Unit infobox would be more useful in this quick-reference fashion, instead of forcing readers to dig further. So have we changed your heart? ;) Luxionmk2 16:19, May 7, 2012 (UTC)
 * Yeah, the only thing I'd like fixed is that the title doesn't show up on the infobox 20:58, May 7, 2012 (UTC)
 * I see what you mean now. Fixed the template.  It was excluding the entire section when there was no "name" provided, so the defaulting never triggered. Luxionmk2 21:13, May 7, 2012 (UTC)
 * I removed the images on the side of HP and stuff to make it neater. It makes it more uniform, as the rest of the stuff doesn't have images 21:33, May 7, 2012 (UTC)

Re:
I think it's excellent. Your work is really appreciated. 00:20, May 8, 2012 (UTC)

RE: Unit Attack Info Edit
Yeah, the summary unit box is a pretty clumsy place for weapon damage when you are talking about units with multiple weapons, though I know they wanted it so people could see things at a glance.

Ideally we would do something like group the AttackBoxes by Weapon Name or something since I believe all weapons that share a name, also share reload/ammo capacity values. I'm not a template wizard, so I don't know if there is an easy way to do that.

I also agree that some of the unit progression values should be moved into the attack box, namely damage and offense, though it would appear that both those values always increase at a rate of +5/rank for each and every unit.

I think an ideal layout would be something like;

StaticUnitInfo (for things like blocking type, name, etc that never change)

WeaponType (something that encompasses a given weapon type (like Compound Bow) with reload, ammo capacity, etc)

AttackType (something that encompasses a given attack, and follows a ranking progression on damage and offense)

DynamicUnitInfo (for attributes of the unit itself that change upon increasing rank, like defense and bravery)

But I donno, just kind of spitballing here.

Maehan 16:54, May 10, 2012 (UTC)

RE: Test Grenadier

Nice, feel free to play with them, I'm not particularly adept at modifying CSS and wiki templates, so they are going to be ugly for a while until I come up to speed but I come from a programming background so it shouldn't take too long. I'll probably be taking a break for a while from it at any rate. If you can get it so that the weapon type boxes align horizontally instead of vertically that would be great. And some of the conditional logic for optional fields is just absent.

Maehan 18:18, May 10, 2012 (UTC)

Hello
http://battlenations.wikia.com/wiki/Template:WeaponInfoBox I like this a lot. We should implement this asap. It looks very nice. 00:02, May 14, 2012 (UTC)

Automating data entry
Hey, how do you feel about modifying our level templates to use the ParserFunction #expr to programatically figure out some of the values. There are two places where that would be useful;


 * First, the way PvP gains and army composition works is a just a series of multipliers. So SP gain is always 4x Unit Value and Gold Gain is 20x Unit Value. So for every unit we'd just need to enter Unit Value and the other two could be derived.


 * Second, Offense and Power always increases at a rate of 5 for every unit. So really you just need to enter the rank 1 information and the #expr function can take care of the rest.

I added an example to the DynamicUnitInfoTemplate under goldgain1. It will now calculate gold gains off SPgains for the time being until all the unit value stuff is done.

Maehan 18:23, May 17, 2012 (UTC)

hp2 = 110 (+10) hp3 = 115 (+5)"Instead we can provide:"basehp = 100 hpgain1 = 10 hpgain2 = 5"Then the wiki will automatically display:"HP ｜ 100 ｜ 110 (+10)｜ 115 (+5)｜..."I was trying to use #expr and #varset to define new variables from all hpgain#. Hope you know what I mean and can figure it out.
 * That'd be sweet! I actually tried using #expr and Variables functions to figure out and print deltas, but to no avail.
 * Maybe we can lump Defense into the automatic +5 category. Haven't confirmed if this is the case.
 * Grenadier's Flash Bangs are an exception to the +5 Power rule.
 * Can you try to make this automated? Instead of providing:"hp = 100


 * Anyways, go ahead and update do make the SP and Gold gain at least.


 * Also, I'm also clearing out the "numattacks" from the WeaponLevelBoxes. So far, only the Trooper has 2 attacks with its double shot. I don't know why the devs went with this instead of making it (x2) like others. The animation takes twice as long and (x2) seems to function the same (eg. one or both can miss). If you intended it to replace the multiplier, x2 or x3, I find it more useful to see the multiplier next to the damage.


 * Keep up the good work! Luxionmk2 18:45, May 17, 2012 (UTC)
 * I was going to use numattacks to represent the instances where units fire off multiple round salvos too. It is a little murkier to see at first glance but I think it functions identically to how Double Shot works in a game mechanics sense.  You could also do some template trickery there.  If you would, for now just remove it from the display and keep the variable definitions so we can maybe bring it back later.  If nothing else you could append it to damage so that Double Shot would show as  x or something.  I think the information is still useful.
 * I was going to use numattacks to represent the instances where units fire off multiple round salvos too. It is a little murkier to see at first glance but I think it functions identically to how Double Shot works in a game mechanics sense.  You could also do some template trickery there.  If you would, for now just remove it from the display and keep the variable definitions so we can maybe bring it back later.  If nothing else you could append it to damage so that Double Shot would show as  x or something.  I think the information is still useful.


 * FYI hunters also have an almost identical attack where they fire two arrows. It just mostly sucks compared to Troopers :)


 * And I can try to play around with doing your deltas, but that is probably a bit trickier. I am still new to the wikitext format so we'll see what I can whip up.  And we can do conditionals for special cases, so something like 'if  is undefined, just add 5 to damage1'.  That would allow you to handle flashbangs at the expense of more involved markup.


 * And you keep it up too, I think we are getting pretty close to having things semi-stable!
 * Maehan 19:08, May 17, 2012 (UTC)


 * I wasn't removing numattacks from the template, just removing the "1s" :) Hunters and Troopers are exactly what I was thinking of.  The game already accounts for "burst" attacks, and the Hunter's double shot basically turns into one.  The trooper, however, has to be animated twice.  Functionally, they're the same (two bullets/arrows, each with a chance to hit/miss/crit).  From what I've seen, only the Trooper has that stat in their attack profile too, "Attacks".  The Hunter's double shot just updates the "Damage" stat instead.  Just a minor rant.


 * Good idea to leave in an "override", for situations like the Flash Bang. Great job on the changes!  I'll start utilizing your templates soon when I have a chance!! Luxionmk2 21:13, May 17, 2012 (UTC)

HP gains formatting
Ok, I think I got what you wanted in terms of formatting working. Check out DynamicUnitInfobox's handling of HP. I fixed up Trooper, Shock Troop and Grenadier to use the new formula. It is really ugly so let me walk you through it. It is basically a bunch of nested if/thens.

So first it checks to see if hp2 exists, and if so then we can fill out the table. First we just print out hp2. Then we see if hp1 exists so we can calculate a delta. Then we test to see if hp1 and hp2 are equal, and if they are we don't print a delta. If they aren't equal, add the (+ symbols and then subtract hp1 from hp2 and print that. Then add a final ).

I also updated the other derived stats like armor, bravery, and defense. The weapon damage thing is harder than I thought though due to max and min damage being smooshed together, so that may have to wait. I think ideally we would have something like 'basemindmg', 'basemaxdmg', and 'numattacks' and then if you had, say Shock Troops it would go;

basemindmg = 16

basemaxdmg = 19

numattacks = 3

And then the template formatting would do its magic and put;

16-19 (x3) in the damage1 column.

Maehan 20:40, May 17, 2012 (UTC)

UotM
{| width="100%" style="background: transparent; "
 * valign="top" width="50%" style="background: #800000; border: 2px solid #64000; padding: .5em 1em; -moz-border-radius: 1em"|

Congratulations, soldier.


Due to your impeccable behavior and/or contributions, you have been awarded the Medal of Editing. You are a hard working editor, and you make the wiki proud. We applaud you for obtaining the title of User of the Month, and we encourage further editing from you.

Keep up the good work!


 * Congratulations on earning the first UotM award, keep up the good work! 14:51, May 24, 2012 (UTC)


 * }
 * Thanks team! How do I use this? Luxionmk2 16:14, May 24, 2012 (UTC)
 * It is simply an award made to compensate outstanding users such as yourself. Beyond that, there isn't really any other purpose. :3 03:45, May 25, 2012 (UTC)

New Templates
Since you've been doing a bunch of the data entry on 1.4 thought I'd ask how the new templates are working. Is there any additional room for automation that you can think of? I was going to maybe make a quickie template for tank based HP and Armor resistances so you can just type Tank_HP or Tank_Armor in the fields instead of manually entering all the values. Other than that I can't think of much.

Maehan 14:43, May 31, 2012 (UTC)
 * Honestly, I've only been gathering data and entering data, using the provided templates and updating wiki entries to be consistent with the majority of unit entries. Your templates look awesome and definitely makes data entry easier :) What do you mean for "Tank_HP"? Like, "Tank_HP_Piercing=75" and "Tank_HP_Crushing=50"?
 * Keep up the good work! Luxionmk2 16:37, May 31, 2012 (UTC)


 * Something like that. The resists for tank-like vehicles is identical as far as I know.  So it could be a template.


 * Maehan 20:46, May 31, 2012 (UTC)


 * Oh, you mean like we can specify, "armor_defense = ", and the template will automatically draw up "25% Piercing, 50% fire, etc."?  That would be cool since you are right... they are pretty consistent.  However, knowing Z2, they like to really mess consistency up sometimes :P  I'm comparing armor stats and seeing too much variation.  Infantry armor seems consistent (only Riot Trooper and Armadillo), as well as the tanks (mini through super).  However, they begin to differ greatly in both HP and Armor defense with the other vehicles and tanks, eg. Heavy Recon, Firedrake, Tank Killer, Mortar Truck, etc. Luxionmk2 21:27, May 31, 2012 (UTC)

Hello
The icons for the attacks that you've gotten, are they cropped from a screenshot or out of the game's files? If they're not out of the game's files, I'll replace them because the ones from the files are perfect quality, not to say yours aren't of good quality. 18:11, June 1, 2012 (UTC)


 * Screenshots, then hand-edited. I even had to redo some because the editor changed the "lighting" for some :P  Pics straight from the game files would be GREAT, as those will be consistent :)  Please go ahead!  My only suggestion is to stick to a consistent naming scheme (or just replace mine, which will require less editing!)  OR I'll just figure it out and follow what you do!  Thanks!! Luxionmk2 05:04, June 2, 2012 (UTC)
 * For units and their front image, put Icon.PNG and for attacks put Icon.PNG 05:11, June 2, 2012 (UTC)

Hello
Thank you for combating the vandal! I'm pretty sure you have a right called "Rollback" as I said way earlier. This allows you to restore multiple edits on a page by a single user. For example if a vandal makes 10 bad edits, you can use rollback as opposed to individual undos. You will be granted sysop, as you are a trusted user. Use it wisely! 02:34, June 12, 2012 (UTC)
 * Sadly, many more pages are being vandalized :( I rolled back the Adv. Coal Mine, but then it was re-vandalized from the same IP.  I see that you've blocked them now.  I've rolled back two other pages, Heavy Artillery and Saboteur, but if that IP keeps messing up entries, I'll exercise my new power. Thanks! Luxionmk2 03:27, June 12, 2012 (UTC)

Hello!
Hey! We haven't met yet, but you've probably seen a lot of budding edits by me recently. Which you often one-up ;] which I'm fine with. No one's perfect But I see you have powers to do stuffs that I can't, I saw some jerks/vandals from a few IPs and I wondered if you could revert the comments they made or something. First guy's inappropriate, posting sexually offensive comments on the Enemy Formations page, coming from 74.76.83.12 (posted about him on TWC's page. But you're more frequently/recently online, so here y'are). Second guy has been posting BS and insulted some wikia commentor on the Flame Trooper page. He's at 24.34.172.243.

Oh! And this page is useless. Do you have the power to remove it? Thanks! Loremeister 19:52, June 14, 2012 (UTC)


 * I don't know the policy on comments. I primarily make edits (as you can see) and collect data. I've deleted the page you pointed out, but I'll check the comments and only go so far as editing them for language. Thanks for your contributions and don't mind my edits.  I just like reviewing changes, mainly due to the increase in vandalism. Luxionmk2 20:06, June 14, 2012 (UTC)

Hi
I was reading the messages they had left you, and wanted to say on the comments. Only delete inappropriate stuff, things that break UTP and "Add me requests", unless they are part of a bigger comment (loopholes lol) such as "The Trooper is...btw add me" etc etc. 19:07, June 21, 2012 (UTC) Ohh and I have a gift for you. I haven't had the time to individually upload these, but these zip files hold a lot of BN images. http://www.mediafire.com/?nbxq4b68f57bzff http://www.mediafire.com/?mhc4cijj4hnx03e http://www.mediafire.com/?1j10nkr100w34v0 All of these are images but hold VERY useful info, such as stat cards on enemy units ;) 19:09, June 21, 2012 (UTC)
 * Haha! Thanks for the enemy stat cards!  I'll take a look and use them when I have a chance, but very exciting :) Luxionmk2 19:43, June 21, 2012 (UTC)

Hi lux, just got back to the wiki, and yes I can confirm a +10 for power and + 10 for offense at lvl 5 on the hornet. I have notes :) this unit is the bomb lol Chork 18:58, June 25, 2012 (UTC)

Help
How do i attach a photo to a wiki i have a pic of the convenence store please help


 * Hi! Refer to this wikia help page: Editing.  On the right side of the edit window, you should see a "button" for Photo under Add features and media.  Just use that wizard to upload your picture!  If you don't see a toolbar on the right side of your screen, you probably "hid" it, and it can be unhidden by clicking on the arrow.  Hope that helps!  Luxionmk2 20:10, July 9, 2012 (UTC)

Temporary admin rights
I saw a community message on the home page for hepling out i would try to help to the best of my ability it said contct wiki contributor But he was away so i went to another admin you.

Thanks,

Lt 390


 * Any help is appreciated! Also good to associate edits to a username instead of an IP.  Makes you more human :)  Thanks! Luxionmk2 16:24, July 10, 2012 (UTC)

Wrong tax for bunk house
wrong tax for the Bunk house the correct tax is 150 gold every 8 hours so i changed that i will look through some other old houses

Just checked the Hut and dormitory were both wrong has anyone checked houseing recently???
 * Sorry, I can't doublecheck everything. It's up to the community to trust and double-check. I only created the building levels template, and the only ones I've started and slowly filling out are the Shelter, Hospital and a few mills. Maybe some other houses? Best way to check is through Edit -> History. I use that to check for vandalism. Luxionmk2 16:16, July 10, 2012 (UTC)
 * Oh, I see what you mean. Those pages haven't been updated with 1.5 information, so their "stats" are the equivalent of a Level 3 building now. If you take a look at Shelter, my guinea pig for the new level system, it'll give you an idea of what I'm trying to show now. Someday I'll move older information elsewhere, or maybe even make a new template for building displays, sort of like for units.
 * Anyways, I suggest you just leave those older tables be, but employ the new template, BuildingLevelBox to display the tax and cost information. Luxionmk2 16:22, July 10, 2012 (UTC)


 * ok so admins have ip adresses
 * Anyone can see the IP addresses when you view edit history. Luxionmk2 16:50, July 10, 2012 (UTC)

re: Welcome
Can you except my friend request z2 battlenations plz

Thanks, I actually edited quite a bit of the mine and mill building level charts and a few others, but realized that I was not always logged in when making the edits.

I just had one question. When I went to create the level chart for the raider training camp I could not figure out the syntax for doing skull cost. I tried "skullcost = true", but that did not work. I did figure out the nanopod one. If there is a list somewhere with definitions like this I couldn't find it.

Thanks!

Platypus10 21:12, July 11, 2012 (UTC)platypus10

Re: Welcome
sorry double post did not realize new posts went to the bottom

Platypus10 21:25, July 11, 2012 (UTC)platypus10