#1
|
|||
|
|||
Symetry
Hi all,
I'm trying to make a mod that allows to dual wield most weapons. But there is no 3d model for left handed vampguns, for example. So I'd like to know if there is a function to flip a model left/right. Or maybe stretch it in one direction with a negative factor. Last edited by Gniarf; 03-08-2009 at 01:41 AM. Reason: problem NOT solved after all |
#2
|
|||
|
|||
u could mirror it if u could get the model into 3ds max or somethin
|
#3
|
|||
|
|||
Funny that you say that exacly when I'm trying the Blender pkmdl importers, who ofc, do not work. Well actually they work for some models, at least I saw the tank and the dual heavy mg, but they fail for the vampgun and the bar1918.
|
#4
|
|||
|
|||
Jackpot!
Yipee, I finally found a way:
1-In [name of the weapon].CWeapon you should have something like: Code:
o.Scale = 0.5 o.Pos = Vector:New(0.4,-0.5,-3) o.Ang = Vector:New(0.15,0.2,0) Code:
o.Scale = a o.Pos = Vector:New(b, c, d) o.Ang = Vector:New(e, f, g) Code:
o.Scale = -a o.Pos = Vector:New(-b, c, d) o.Ang = Vector:New(e+3.14, -f, g) |
#5
|
|||
|
|||
Obscure problem
Symmetry problem - round 2: whenever I set a negative scale in a .CWeapon file the weapon turns black as if there were no light at all on it.
I looked through the .lua&.CWeapon files, but I didn't find the definition of that light (I used the vampgun as a test subject). So, does anyone know how to restore the weapons to their normal looks? Or at least can someone explain me why the weapons are turning black? |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
1-Thanks.
2-I'm working on it, but I've got a busy RL now. 3-...2 sided texture rendering should do it, right? |
#8
|
|||
|
|||
Not even a reference to some light object(s)?
|
#9
|
|||
|
|||
Save for the muzzle flash and various firing fx, yes - no lights at all.
|
#10
|
|||
|
|||
Ok, I have a few questions:
1-What's the diffrence between 3d mesh and 3d model? 2-What happens if I negate vertex uv coordinates (or rather only u cooridnates)? |
|
|