 |
Forum Info
|
 |
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,205
Administrators:
DeeZire, Redemption
There are currently 99 users online.
|
 |
Partner Links
|
 |
 |
Advertisements
|
 |
|
| Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here. |
03-23-2005, 11:02 PM
|
#1 (permalink)
|
|
Senior Member
Join Date: Feb 2005
Location: Canada
Posts: 185
|
angle and pitch
could someone please tell me what the code is that is used to limit the turning capabilities of a turret. I have been looking but i just see turnrate , and as fas as I know , that is for the speed.
I got all these models with unreal turn rates on the turret 
|
|
|
03-23-2005, 11:11 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Jun 2004
Location: United States of America
Posts: 121
|
Well, I can a help you a second time. But sadly, I do not believe there is any way to restrict a turrets turning capabilities. I would know this because I had a similar discussion and it came back negative.
|
|
|
03-23-2005, 11:23 PM
|
#3 (permalink)
|
|
Senior Member
Join Date: Feb 2005
Location: Canada
Posts: 185
|
OK , thanks , how bout limiting wether they can fire if not aligned properly ?
|
|
|
03-24-2005, 01:10 AM
|
#4 (permalink)
|
|
Senior Member
Join Date: Dec 2003
Posts: 217
|
Code:
AcceptableAimDelta =
|
|
|
03-24-2005, 02:15 AM
|
#5 (permalink)
|
|
Senior Member
Join Date: Feb 2005
Location: Canada
Posts: 185
|
Ahhh , TY again  (I do use the search button eh, but I tell you , I get nothing everytime)
|
|
|
03-24-2005, 04:48 AM
|
#6 (permalink)
|
|
Senior Member
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
|
That's different though. That allows the weapon to fire at an angle from the barrel. But it doesn't actually restrict the movement of the barrel itself. That's impossible (and it's a long-time thorn-in-the-eye for a lot of modders).
|
|
|
03-24-2005, 05:49 AM
|
#7 (permalink)
|
|
Senior Member
Join Date: Jul 2004
Location: London, UK
Posts: 376
|
Yeah, it urinates in my eyes all the damn time, so I'm forced to use AcceptableAimDelta.
Just out of interest, is it an angle or a radius? I assumed a radius, but I haven't tested it that deeply.
|
|
|
03-24-2005, 08:02 AM
|
#8 (permalink)
|
|
Senior Member
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
|
No, it's an angle. And angle and a radius are two very different things. AcceptableAimDelta is the maximum angle between the direction of the turret's/unit's firepoint bone and the direction of the target. If the target is within AcceptableAimDelta degrees of the firepoint's direction, then the unit can fire. If it's not, it can't fire, so it will have to turn.
|
|
|
03-24-2005, 01:32 PM
|
#9 (permalink)
|
|
Senior Member
Join Date: Jul 2004
Location: London, UK
Posts: 376
|
Don't worry, I know angle and radius aren't the same, I do degree level maths :P Anyhow, thanks for the answer to which it is.
|
|
|
03-24-2005, 03:08 PM
|
#10 (permalink)
|
|
Senior Member
Join Date: Jan 2004
Location: Elgin, Scotland, UK
Posts: 168
|
Well if you do Degree lavel maths, then why do you need to ask-you should know that a DELTA is a kinda pointy thing, ie an angle
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 11:58 AM.
|