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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,887

Administrators:
DeeZire, Redemption

There are currently 23 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 08-22-2005, 02:45 AM   #1 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default need suggestion about ProjectileObject!

i'm trying to make a ProjectileObject which fly in line, dosen't turn at all(i want to use it in both anti-air weapon and anit-ground weapon)
i tried using missile logic and set TryToFollowTarget = No, but when using this weapon against air unit, it still traced the target.
and DumbProjectileBehavior logic of tank shell will make a ugly fly trace when anti-air.
anyone has a better idea?
homura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-22-2005, 06:10 AM   #2 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

I dunno, but at first try to do it with missile logic again and modify the missile's locomotor, so that it can't turn at all and so on.
but I think you will never hit an air target when you do so or you must set a higher damage radius in weapon.ini for this weapon.

Another suggestion: maybe the projectile stream logic of toxin and flame weapons can help you. Also try to decrease the missile's DistanceToTravelBeforeTurning values and the others.
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-22-2005, 08:21 AM   #3 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default

well, my model i made a nice attack animation, so i can't use turret pitch logic, it will cause unit aim wrong direction. if i still use missile logic by set TurnRate and MaxThrustAngle to 0 then, then this projectileobject will never fly to air, because the fire bone is only face front of the unit.

projectile stream also need two projectileobject as linker, so the problem still exists on the projectile object.
homura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-22-2005, 09:12 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: China
Posts: 356
Default

Quote:
Originally Posted by homura";p=&quot View Post
well, my model i made a nice attack animation, so i can't use turret pitch logic
That's the problem. you may treat the chassis as a turret and the arm as a barrel.
coolfile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-22-2005, 11:21 PM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default

you know, all my models have attacking animation that affect almost all part of body, so the chassis can't be turret.
that's why i want to find a way to make such projectile object.
homura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2005, 12:15 AM   #6 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 384
Default

I would recommend trying to have the 'missile' locomotor set with TurnRate = 0.
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2005, 12:29 AM   #7 (permalink)
Junior Member
 
Join Date: Jan 2003
Location: USA
Posts: 22
Default

This is just an idea, so I don't know if it would work.

Could you use three bones?
One as the turret, one as the barrel and the third as the launch bone. Link the barrel and launch bone like you would on any vehicle and the link the turret to the end of the arm somehow.

Like I said I don't know if this will work or not.
rosco9487 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2005, 10:30 AM   #8 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default

set turnrate = 0 did nothing help, it only controls turn left and right, MaxThrustAngle controls up and down, set both to 0, then the projectile object will fly linely, but i need my lauch bone face the target, so it's another problem.


using bone link seems to be a way, but when there are multi lauch bone, how should i link them? btw, my models are mechs.
homura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2005, 10:45 AM   #9 (permalink)
Junior Member
 
Join Date: Jan 2003
Location: USA
Posts: 22
Default

How many launch bones are there?
rosco9487 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2005, 10:48 AM   #10 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 134
Default

4 bones at different part of mech.
homura 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
Suggestion for Extended Edition mod |MeMw| Haldir LOTR: Battle For Middle Earth I & II Editing 1 05-25-2005 11:24 AM
new mod suggestion marioboy56 Red Alert 2 & Yuri's Revenge Editing 35 04-12-2005 07:30 PM
Best suggestion on how to do this Capt_Pickles Generals & Zero Hour Editing 12 06-09-2004 07:43 AM


All times are GMT -4. The time now is 08:18 AM.


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