|
Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
more weapon help.
I'm trying to set it up so that when you click the mouse button to look down the iron sights on a gun instet of switching to a .TGA graphic of the iron sight of that weapon it will phisicly move the weapon to a position so that the player is looking down the sights.
now I know how to reposition the weapon in the .DEF scrips (see example below) but I need it to move it to the position that I asign it, using the numbers below, by pressing the right mouse button to look down the sights is there a way to do this? pos -26.55, 23.25, -165.00 2.500, 0.750, 356.750 tpos -26.55, 23.25, -165.00 2.500, 0.750, 356.750 thanx 4 any help |
#2
|
||
|
I've got quite some experience in .def work, but I do know some of those numbers probably corresponds to some x,y,z sorta thing.
pos is the general position of the weapon, while tpos is the transition from pos to gun sight. What I do is copy tpos entries from other weapons, like the Barret or M16, for example. Hope that helps some bit. Chris
__________________
Intel Core Duo E7300 2.66GHz // SuperTalent DDR2 800 2GB // ASUS nVidia GeForce 8400GS 512MB // Western Digital 7200RPM 320GB SATA // LG GH-20LS 20X SATA DVD-RAM // Windows XP Pro 32-bit // Thermaltake XP550 NP 430W // Thermaltake SOPRANO SECC Black |
#3
|
||
|
ummm I'm not sure if you know what I mean.
lets see...... it's kinda hard to explane...... from what I understand in my expiriments the "tpos" controls what position the weapon will move to when you use the "HandGunUp" flag comand. example: when you fire the hand gun it will move the hand gun forward. well this can also be done with other weapons and the "tpos" is what position it will move to when you fire it. but anyway what I want to know is can you use the "pos" or the "tpos" so that when you press your button to look down the sights it will move to gun to what ever position you want. in my case I would change the numbers so that it positions the gun to look like the player is looking down the sights. we allready know there is a way to change the position when you fire your weapon but the quwstion is cane you do this with any keyboard comand you want (like walkinf forwar or jumping......etc) one idea I had was to use a blank .TGA iron sight. I noticee that when you look down the sights it removes the 3rd person view of the weapon a switches to the .TGA graphic. well is there a way to keep the 3rd person view from disappearring? if so then I might just get this to work. sorry such trouble for a little thing. but it would look so much more realistic if the player physically moved the the weapon. anyway thanks for the reply m8 |
#4
|
||
|
Answer is.... No.
you can redo the sights .tga to look more like you are looking down the weapon but you cannot use the weapon itself for that, as you discovered it wont render.
__________________
WTF-Squad Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. -George Carlin |
#5
|
||
|
ahh nuts
oh well. I was able to position the gun so that it looks like he is aiming down the sights but I had to do it with the default position and not on my command. which sucks cuz that looked so much better then NOVA's cheasy looking sight system. oh well. thanks anyway |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What weapon type are you? | Grenademan | General Chat | 13 | 12-09-2006 10:22 PM |
Weapon editing | Raven86 | Joint Operations | 7 | 09-02-2005 08:36 PM |
New Weapon for the A-10? | ArcticWolf | Humor & Jokes | 6 | 12-19-2004 07:31 AM |
New weapon for BHD? | Stalker61 | Humor & Jokes | 10 | 05-12-2004 09:37 AM |