1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > NecroVisioN > Mods

Mods NecroVisioN MODs and other improvements

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2009, 07:50 PM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default 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 12:41 AM. Reason: problem NOT solved after all
Reply With Quote
  #2  
Old 03-06-2009, 03:11 AM
rstratton rstratton is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Default

u could mirror it if u could get the model into 3ds max or somethin
Reply With Quote
  #3  
Old 03-06-2009, 06:16 AM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default

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.
Reply With Quote
  #4  
Old 03-06-2009, 02:57 PM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default 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)
well turn
Code:
o.Scale = a
o.Pos = Vector:New(b, c, d)
o.Ang = Vector:New(e, f, g)
into
Code:
o.Scale = -a
o.Pos = Vector:New(-b, c, d)
o.Ang = Vector:New(e+3.14, -f, g)
(yumm, dual vampguns, vamp shotgun+RL, dual shovels...Here I come!)
Reply With Quote
  #5  
Old 03-08-2009, 01:20 AM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Lightbulb 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?
Attached Images
File Type: jpg thats_bright.JPG (474.7 KB, 25 views)
Reply With Quote
  #6  
Old 03-08-2009, 03:22 AM
rstratton rstratton is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Default

Quote:
Originally Posted by Gniarf View Post
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?
sounds like it inverts the vertex normals along with the model
Reply With Quote
  #7  
Old 03-09-2009, 05:38 PM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default

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?
Reply With Quote
  #8  
Old 03-09-2009, 09:52 PM
Csimbi Csimbi is offline
Approved Member
 
Join Date: Dec 2008
Posts: 252
Default

Quote:
Originally Posted by Gniarf View Post
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).
Not even a reference to some light object(s)?
Reply With Quote
  #9  
Old 03-10-2009, 03:17 AM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default

Save for the muzzle flash and various firing fx, yes - no lights at all.
Reply With Quote
  #10  
Old 03-13-2009, 11:54 AM
Gniarf Gniarf is offline
Approved Member
 
Join Date: Mar 2009
Posts: 180
Default

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)?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.