Nexus Buddy 2

Nexus Buddy 2 - Granny Editor for Civ 5 2.5.3

I figured out the problem, I had to rename each of the vertex groups and bones. To do this, I used a community plugin called Mixamo Converter, with blender 2.79b. It works! Now I just have to get the character in game...
 
Her hair didn't show up correctly, but I'm working on a fix for that.
Other than that, custom animations, custom rig and character... she works!
 

Attachments

  • 20200804124727_1.jpg
    20200804124727_1.jpg
    242.8 KB · Views: 245
  • 20200804124706_1.jpg
    20200804124706_1.jpg
    237.2 KB · Views: 264
Hi all, our team is currently having an issue with getting a unit model to function in game. The Unit model itself is graphically a series of buildings, thus we need no animations for it.

The current issue we are facing is that when we try to get the model to load in-game it generally spasms. A screenshot of the issue can be found below, but if a video is preferred we can upload that shortly.
Spoiler :


Note: The model is supposed to be pink (as we are testing with a textureless model)


The person handling implementation has wanted me to make note of the following points:

-The model loads in Granny Viewer, and has less than 32 Vertex Groups.
-The model does not load in Nexus. It says the .gr2 and .dds files are missing. NexusBuddy was then reinstalled, and they made sure that the asset path was correct.
-All the assets are in the same folder, and the only .gr2 file has no animation.
- The FXSXML can be found below:
Spoiler :
<Asset>
<Mesh file="Barricade.gr2" source="Tool"/>
<Animation file="Barricade.gr2" name="BarricadeStatus" ec="1000, 1020, 1040, 1100, 1120, 1140, 1160, 1180, 1200, 1220, 1280, 1285, 1290, 1400, 1440, 1450, 1500, 1520, 1540, 1560, 1580, 1600, 1620, 1640, 1800, 2000, 2020, 2040, 2100, 2200, 2220, 2440" source="Tool" />
<Texture file="maybeTest1.dds"/>
</Asset>


Any help regarding this would be very appreciated! Many thanks in advance.
 
Hi all, our team is currently having an issue with getting a unit model to function in game. The Unit model itself is graphically a series of buildings, thus we need no animations for it.

The current issue we are facing is that when we try to get the model to load in-game it generally spasms. A screenshot of the issue can be found below, but if a video is preferred we can upload that shortly.

I would need the project files and the Blender file to see what is wrong. It maybe that someone is using FBX -> GR2 in Nexus Buddy 2 which often corrupts the mesh data in which case BR2 -> GR2 the reliable method should be used instead.
 
I would need the project files and the Blender file to see what is wrong. It maybe that someone is using FBX -> GR2 in Nexus Buddy 2 which often corrupts the mesh data in which case BR2 -> GR2 the reliable method should be used instead.

Very late response, but I've got both links for you. I tried converting from FBX > GR2 then to BR2 > GR2, but it still gets messed up in-game. If you'd like anymore information, please let me know.

Blender file: https://drive.google.com/file/d/1mAD8KII5WCMR129GhD8cQ64NLwyKvbD8/view?usp=sharing

Project file: https://drive.google.com/file/d/1IdwMcwj04aKJc_PZm-g5-p4qmZmktzxs/view?usp=sharing
 

I've finally got around to looking at this barricade model. I've got it working as far as Nexus 3D Viewer so should work in game now.

barricade1.png


Steps I performed:

Blender 2.79
1) Delete Cameras and Lamps - you can use the Outliner to see these and remove them.
2) Used Ctrl-A to apply scale, rotation.
3) Exported to BR2 format.

Nexus Buddy 2
1) Open BR2 file.
2) Add BuildingShader Material and assign it to Box001 mesh.
3) In the Material set Diffuse to point to the DDS texture - I renamed this grey_brick.dds and made sure it was DXT5 format DDS.
4) Set up simple fxsxml file:
Code:
<Asset>
    <Mesh file="barricade.gr2"/>
    <Texture file="grey_brick.dds"/>
</Asset>

Hope this helps!
 

Attachments

  • barricade.zip
    145.1 KB · Views: 193
Last edited:
Using Nexus Buddy 2.5.3

I want to change an FX of projectile. Replace the one type of rockets to another, new.
Work with siege01.gr2, siege01.fxsxml

1. Made a model of FX rocket proj_siege_missile_big01a.fxsxml, proj_siege_missile_big01a.gr2
2. Made a new VisualEffects in apropriate XML database linked to new model.
3. Made a TimedTrigger file="FX_Triggers_Siege_01a.ftsxml" linked to new VisualEffects.

Now I need assign a new TimedTrigger to model. I think it's possible to do with "Reorder FTSXML Triggers" option on Additional Actions Tab.
But when I tap on it and choose a new ftsxml appeared window says next:
Spoiler Error Data :
Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.Collections.Generic.KeyNotFoundException: Данный ключ отсутствует в словаре.
в System.Collections.Generic.Dictionary`2.get_Item(TKey key)
в NexusBuddy.NexusBuddyApplicationForm.cleanFTSXMLButtonClick(Object sender, EventArgs e) в D:\mod\gitprojects\Nexus-Buddy-2\NexusBuddy\NexusBuddy\NexusBuddyApplicationForm.cs:строка 1309
в System.Windows.Forms.Control.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Загруженные сборки **************
mscorlib
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NexusBuddy2
Версия сборки: 0.0.0.0
Версия Win32: 0.0.0.0
CodeBase: file:///C:/SteamLibrary_ProtokSt/steamapps/common/Sid%20Meier's%20Civilization%20Beyond%20Earth%20SDK/Nexus/x86/Nexus-Buddy-2/NexusBuddy2.exe
----------------------------------------
System.Windows.Forms
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Firaxis.Framework.Granny
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///C:/SteamLibrary_ProtokSt/steamapps/common/Sid%20Meier's%20Civilization%20Beyond%20Earth%20SDK/Nexus/x86/Nexus-Buddy-2/Firaxis.Framework.Granny.DLL
----------------------------------------
System.Core
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4320.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Firaxis.Framework
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///C:/SteamLibrary_ProtokSt/steamapps/common/Sid%20Meier's%20Civilization%20Beyond%20Earth%20SDK/Nexus/x86/Nexus-Buddy-2/Firaxis.Framework.DLL
----------------------------------------
System.Configuration
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.DirectoryServices
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
System.DirectoryServices.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices.resources/v4.0_4.0.0.0_ru_b03f5f7f11d50a3a/System.DirectoryServices.resources.dll
----------------------------------------
Firaxis.Framework.Granny.ImplWin32
Версия сборки: 1.0.0.0
Версия Win32:
CodeBase: file:///C:/SteamLibrary_ProtokSt/steamapps/common/Sid%20Meier's%20Civilization%20Beyond%20Earth%20SDK/Nexus/x86/Nexus-Buddy-2/Firaxis.Framework.Granny.ImplWin32.DLL
----------------------------------------
Firaxis.Framework.FirePlace
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///C:/SteamLibrary_ProtokSt/steamapps/common/Sid%20Meier's%20Civilization%20Beyond%20Earth%20SDK/Nexus/x86/Nexus-Buddy-2/Firaxis.Framework.FirePlace.DLL
----------------------------------------
msvcm90
Версия сборки: 9.0.30729.9625
Версия Win32: 9.00.30729.9625
CodeBase: file:///C:/WINDOWS/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9625_none_508ef7e4bcbbe589/msvcm90.dll
----------------------------------------
System.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.resources.dll
----------------------------------------
Microsoft.GeneratedCode
Версия сборки: 1.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Версия сборки: 4.0.0.0
Версия Win32: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.



What I should to do to work with this option properly?
 

Attachments

  • Siege01_FXERROR.png
    Siege01_FXERROR.png
    70.2 KB · Views: 160
  • Siege01_FXERROR.png
    Siege01_FXERROR.png
    70.2 KB · Views: 151
@Protok St I think you have misunderstood what "Reorder FTSXML Triggers" is for. It is designed to be used on existing base game *.ftsxml to reorder them and make them more readable.

You should run it on the base game *.ftsxml for the unit that you uses the projectile you are basing your new projectile on.
 
@Protok St I think you have misunderstood what "Reorder FTSXML Triggers" is for. It is designed to be used on existing base game *.ftsxml to reorder them and make them more readable.

You should run it on the base game *.ftsxml for the unit that you uses the projectile you are basing your new projectile on.
I can see some difference in reordered file and added XML tags. Ok.

1. Am I right that assigning TimedTrigger file in fxsxml model file is not enough?
2. How to make a connection between New FTSXML file and GR2 file?
 
1. Am I right that assigning TimedTrigger file in fxsxml model file is not enough?
2. How to make a connection between New FTSXML file and GR2 file?
Though changing the Mesh and Textures in the .fxsxml file doesn't do anything in-game, changing the TimedTrigger reference to your new .ftsxml does work.
 
I can see some difference in reordered file and added XML tags. Ok.

1. Am I right that assigning TimedTrigger file in fxsxml model file is not enough?
2. How to make a connection between New FTSXML file and GR2 file?
Though changing the Mesh and Textures in the .fxsxml file doesn't do anything in-game, changing the TimedTrigger reference to your new .ftsxml does work.
How to change the TimedTrigger reference to new .ftsxml?
 
Make a copy of the .ftsxml with a different name, add it to your mod (VFS=true), then edit your .fxsxml and change the TimedTrigger line to the new filename.
 
So, I have a customised mounted unit (ibex rider), but I want to make only the mount smaller. If I do, it gets stretched back to the size of a regular horse. Because I don't want to scale the rider down, I can't use the adjustment bone feature, as the rider and the mount are hierarchically in the same model, just two different meshes. Is there any workaround in NexusBuddy for this?

EDIT: NVM, I got it solved, had to ctrl-A and apply location+rotation+scale
 
Last edited:
Top Bottom