logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,205

Administrators:
DeeZire, Redemption

There are currently 99 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 03-23-2005, 11:02 PM   #1 (permalink)
Senior Member
 
Join Date: Feb 2005
Location: Canada
Posts: 185
Default 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
goblinsleez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2005, 11:11 PM   #2 (permalink)
Senior Member
 
Join Date: Jun 2004
Location: United States of America
Posts: 121
Default

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.
DaLump is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2005, 11:23 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2005
Location: Canada
Posts: 185
Default

OK , thanks , how bout limiting wether they can fire if not aligned properly ?
goblinsleez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-24-2005, 01:10 AM   #4 (permalink)
Senior Member
 
Join Date: Dec 2003
Posts: 217
Default

Code:
  AcceptableAimDelta  =
sc4freak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-24-2005, 02:15 AM   #5 (permalink)
Senior Member
 
Join Date: Feb 2005
Location: Canada
Posts: 185
Default

Ahhh , TY again (I do use the search button eh, but I tell you , I get nothing everytime)
goblinsleez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-24-2005, 04:48 AM   #6 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

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).
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-24-2005, 05:49 AM   #7 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

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.
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-24-2005, 08:02 AM   #8 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

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.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-24-2005, 01:32 PM   #9 (permalink)
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

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.
AntiSocialKindaGuy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-24-2005, 03:08 PM   #10 (permalink)
Senior Member
 
Join Date: Jan 2004
Location: Elgin, Scotland, UK
Posts: 168
Send a message via ICQ to Alphathon Send a message via AIM to Alphathon Send a message via MSN to Alphathon Send a message via Yahoo to Alphathon
Default

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
Alphathon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
To pitch or not to pitch DarkSentinel Generals & Zero Hour Editing 8 03-06-2006 05:38 AM
Camera Pitch - disappearing map Sgt-Skleni Map Authoring 4 01-15-2006 11:44 AM
Can you set a fire angle? Bart Generals & Zero Hour Editing 9 09-08-2004 04:36 PM
Turret pitch when firing EvilViking Generals & Zero Hour Editing 6 05-20-2004 04:55 PM
having a button that changes the Pitch? LtZack Generals & Zero Hour Editing 4 04-19-2003 07:25 AM


All times are GMT -4. The time now is 11:58 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.