Show Posts
|
Pages: [1]
|
3
|
Scripting / Script Help / Re: Help with object placement
|
on: August 04, 2012, 02:47:27 am
|
Why do you want to use the same coordinates and angles as in the IPL? That just places the same object on the exact same place. So they will either be on the right place and you wont see any difference or they will bugg out like shit.
Question is, What do you wanna do with with the object?
Well I wanna convert a mod I downloaded for single player which adds a stunt zone. I thought it would be cool to feature it in LU.
Custom objects aren't possible in LU yet, if you are trying to add them from your game's mods...however they will be in 0.1.1.0.
But this mod uses the default objects, not custom ones.
You said you were using a mod, though. D:
Yes I am, but it only changes object placement, it doesn't add custom objects.
In that case you would just need to replicate the location of the objects then. I see your confusion now.
Does the file explain what each number is used for? IIRC, some of them are coordinates, but they may be in a different format.
Edit: Although this is in code format, hopefully the math method can give you an example to work from: http://answers.unity3d.com/questions/22883/can-i-get-a-normalised-vector3-from-a-quaternion.html
Nah, the file doesn't explain it, and I can't work that codes out either.
|
|
|
4
|
Scripting / Script Help / Re: Help with object placement
|
on: August 04, 2012, 02:09:47 am
|
Why do you want to use the same coordinates and angles as in the IPL? That just places the same object on the exact same place. So they will either be on the right place and you wont see any difference or they will bugg out like shit.
Question is, What do you wanna do with with the object?
Well I wanna convert a mod I downloaded for single player which adds a stunt zone. I thought it would be cool to feature it in LU.
Custom objects aren't possible in LU yet, if you are trying to add them from your game's mods...however they will be in 0.1.1.0.
But this mod uses the default objects, not custom ones.
You said you were using a mod, though. D:
Yes I am, but it only changes object placement, it doesn't add custom objects.
|
|
|
5
|
Scripting / Script Help / Re: Help with object placement
|
on: August 04, 2012, 12:20:13 am
|
Why do you want to use the same coordinates and angles as in the IPL? That just places the same object on the exact same place. So they will either be on the right place and you wont see any difference or they will bugg out like shit.
Question is, What do you wanna do with with the object?
Well I wanna convert a mod I downloaded for single player which adds a stunt zone. I thought it would be cool to feature it in LU.
Custom objects aren't possible in LU yet, if you are trying to add them from your game's mods...however they will be in 0.1.1.0.
But this mod uses the default objects, not custom ones.
|
|
|
6
|
Scripting / Script Help / Re: Help with object placement
|
on: August 03, 2012, 07:02:08 pm
|
Why do you want to use the same coordinates and angles as in the IPL? That just places the same object on the exact same place. So they will either be on the right place and you wont see any difference or they will bugg out like shit.
Question is, What do you wanna do with with the object?
Well I wanna convert a mod I downloaded for single player which adds a stunt zone. I thought it would be cool to feature it in LU.
|
|
|
7
|
Scripting / Script Help / Re: Help with object placement
|
on: July 29, 2012, 10:26:31 pm
|
I know the coordinates, I'm stuck with the angles, it seems to be 4 angles values in the .IPL; but there's only 3 in content.xml. So basically the object is there at the correct place but its inclinations are wrong.
|
|
|
8
|
Scripting / Script Help / Help with object placement
|
on: July 29, 2012, 06:16:34 pm
|
So I want to get an object from a .IPL file (from single player) and have it in content.xml (LU). This one is from a .IPL file.
1145, nbbridgerda, -264, 50, 20, 0, 0, 0, 0.100014, -0.100014, -0.707724, 0.707724
How do I place it in content.xml?
<object x="?" y="?" z="?" anglex="?" angley="?" anglez="?" model=? />
|
|
|
|