drages Posted February 27, 2015 Share Posted February 27, 2015 Hi... I was working on the Xenopedia part of my mod and i used "weapon.****" first time at researches.xml.. I used this at researches.xml.. the last one for "When finished".. Researches.NextGenTechnology 30 Weaponary Researches.AlienMatergyPistol(OR)Researches.AlienMatergyRifle UnlockKnowledge( "weapon.ADkinetic.pistol" ); UnlockManufacture("ManTech.ADkinetic.pistol" ); weapon.ADkinetic.pistol I added Xenopedia entry: <Row ss:AutoFitHeight="0" ss:Height="165.75"> <Cell ss:StyleID="s74"><Data ss:Type="String">weapon.ADkinetic.pistol</Data></Cell> <Cell ss:StyleID="s74"><Data ss:Type="String">NEXTGEN Pistol</Data></Cell> <Cell ss:StyleID="s74"><Data ss:Type="String">xenopediaimages/nextgenpistol</Data></Cell> <Cell ss:StyleID="s74"><Data ss:Type="String">Xenonaut Weapons</Data></Cell> <Cell ss:StyleID="s74"><Data ss:Type="String">WEP</Data></Cell> <Cell ss:StyleID="s74"><Data ss:Type="String">Advanced kinetic pistol</Data></Cell> </Row> Then as a result i saw something unexpected. I saw the "Statistic" part at right corner of the Xenopedia page. I thought its hardcoded to the default items but it seems not. So as you see its working and it gets info from weapons.xml... BUT.. there are some "undefined" parts and for a reason it doesnt take the info. Recoil and mitigation infos are not at weapons.xml and damage type info cant be taken from weapon.xml I checked the vanilla files and there is no example for this. Is there anyone out there who saw this and how to handle it? Thx! Quote Link to comment Share on other sites More sharing options...
kabill Posted February 27, 2015 Share Posted February 27, 2015 I think you would be able to modify which attributes of the weapon display by modifying the xenopedia lua script file. However, I very much doubt you would be able to change things to display information for mitigation/whatever else without making changes to the .exe itself. Quote Link to comment Share on other sites More sharing options...
drages Posted February 27, 2015 Author Share Posted February 27, 2015 I think you would be able to modify which attributes of the weapon display by modifying the xenopedia lua script file. However, I very much doubt you would be able to change things to display information for mitigation/whatever else without making changes to the .exe itself. Kabill i am lookig LUA for hours and the code for missing info is: DottedLabel { font = XenopediaStat, name = "stat2", x = 10, y = Floor( 24 * screenScaleY ) + 1 * Floor( 12 * screenScaleY + 3 ), w = kMax - 10, h = 12 * screenScaleY + 3, left = "VEQ.MITIGATION", right = "undefined", fontScale = 0.2 + (0.8 * screenScaleY), }, You see the "stat". Its the data number. And as you said its linked at exe file... there should be some disconnected data. Maybe its code started but didnt finished right because the missing stats like mitigation and recoil. I think they should be linked to weapon_GC file. Kabill.. when will you learn C++? Quote Link to comment Share on other sites More sharing options...
blackwolf Posted February 27, 2015 Share Posted February 27, 2015 (edited) i remember trying to found out who this features work, because with this,you will tecnically end with the "tooltips missing" issue, because at least player would have an actual data sheet for stats that "automatically" refresh itself no matter the tweaks you make in the weapons. Sadly after days searching in every xml and lua file...i never found or understand how the system actually works..it was mind blowing Edited February 27, 2015 by blackwolf Quote Link to comment Share on other sites More sharing options...
drages Posted February 27, 2015 Author Share Posted February 27, 2015 i remember trying to found out who this features work, because with this,you will tecnically end with the "tooltips missing" issue, because at least player would have an actual data sheet for stats that "automatically" refresh itself no matter the tweaks you make in the weapons.Sadly after days searching in every xml and lua file...i never found or understand how the system actually works..it was mind blowing I want someone pop ups and says "Hey i am master of C++, a big fan of this type of games and got free time.. just tell me what you want".. Realy i can kiss that guy... Yeah this will saves my tooltip problem mostly.. even with this info it saves me much work.. The bad things is Chris dont have his old dev members.. I dot think this kind of little issues are hard to correct.. I dont want to ask to Illunak, because he is alone and he try to care game breaking issues.. COME ON C++ users!!! there most be some old xcom fans codders out there who got free time!!!!! Quote Link to comment Share on other sites More sharing options...
kabill Posted February 27, 2015 Share Posted February 27, 2015 Kabill.. when will you learn C++? http://www.goldhawkinteractive.com/forums/showthread.php/12836-Kabill-s-Community-Code-Thread?p=146380#post146380 Quote Link to comment Share on other sites More sharing options...
drages Posted February 28, 2015 Author Share Posted February 28, 2015 You won the kiss... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.