Question about Object Parents
Posted: Mon Sep 19, 2016 9:29 am
Hey Community,
I have some questions about the Object odf's and their parent files.
I have a huge rep side folder (almost over 1 GB) and I stored a few camera variables in some troopers odf files.
Now I created a new side that should store all camera variables for the rep side so I can easily change it.
I created a side called "view" and also created some objects with this code:
As you see the parent of this object is "com_inf_default" (the same as it used to be in some rep objects)
Now I changed the parent of "rep_in_default" from com_inf_default to view_inf_default (refering to the object in the view folder)
But when I tested it, the game crashes.
Is it even possible to make something like that? To store variables of sides via different parents in other side folders?
I did this because my rep side foler is about 1 GB and the view folder would be just 1 MB large. I want to make patches for my mod this way and so the downlaod file is not that large.
Thanks to you guys in advance
-
The66Order66
I have some questions about the Object odf's and their parent files.
I have a huge rep side folder (almost over 1 GB) and I stored a few camera variables in some troopers odf files.
Now I created a new side that should store all camera variables for the rep side so I can easily change it.
I created a side called "view" and also created some objects with this code:
Code: Select all
[GameObjectClass]
// This object only controls the Camera View
ClassParent = "com_inf_default"
[Properties]
CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.3 -0.1 3.0"
TiltValue = "10.0"
...
Now I changed the parent of "rep_in_default" from com_inf_default to view_inf_default (refering to the object in the view folder)
But when I tested it, the game crashes.
Is it even possible to make something like that? To store variables of sides via different parents in other side folders?
I did this because my rep side foler is about 1 GB and the view folder would be just 1 MB large. I want to make patches for my mod this way and so the downlaod file is not that large.
Thanks to you guys in advance
-
The66Order66