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

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 48 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 06-17-2004, 04:23 AM   #1 (permalink)
Senior Member
 
Join Date: May 2004
Location: The Netherlands, Zeist (Near Utrecht)
Posts: 154
Default Can you let a missile shoot?

Can you let a missile shoot? When the missile is fired can the missile shoot to the target. so you get this: Airplane -> Missile -> cluster bullets -> Hit the target. Is this possible?
Bart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-17-2004, 04:50 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

Interesting question, you could use the missile to spawn an invisible object in mid air which is coded to be aggressive and automatically attacks an enemy with cluster bullets. If you get it right tell me how you got it to work please ;-)
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-17-2004, 10:24 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

The missle is just an object. Not sure if the KindOf may affect it, but why wouldn't you be able to directly give it a PRIMARY weapon like any other object? We need more expert advice on this one.
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2004, 01:52 AM   #4 (permalink)
Senior Member
 
Join Date: Aug 2003
Location: the Netherlands
Posts: 228
Send a message via ICQ to DeathAngel Send a message via MSN to DeathAngel
Default

I'm pretty sure you could acieve that with a script, just for the missle.
but then the script needs to be picked up really fast, before the missle itself dies.
DeathAngel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2004, 04:02 AM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Location: The Netherlands, Zeist (Near Utrecht)
Posts: 154
Default

So you can give the missile a weaponlaunchbone? but how wil u let the missile explode if he fires an object?
Bart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2004, 07:42 AM   #6 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

That why I proposed to make it spawn a new object using an OCL that is called once the missile is killed (after a certain time or so).
2312222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2004, 09:13 AM   #7 (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

To make a projectile shoot an enemy by itself, you need to give it AIUpdateInterface. But I don't know if that will interfere with the missile's MissileAIUpdate. It's worth trying at least.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2004, 02:24 PM   #8 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
Default

It's entirely possible to give any object in Generals a weaponset. However, I think what would be better for you is to create a missile that spawns multiple objects when it dies. Then you can set the missile to explode a distance from its target (its preffered flight height + a short distance for the velocity inheritance of the spawned objects).

That should create an ideal airburst weapon - the missile just needs a slightly weirder locomotor than usual.

Hope that does what you want it to do!

AmberZ
Ambershee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-19-2004, 04:39 AM   #9 (permalink)
Senior Member
 
Join Date: May 2004
Location: The Netherlands, Zeist (Near Utrecht)
Posts: 154
Default

But how will u script this. I'm not so very good at scripting these weapon object. (other object are a little easier) So will you tell me how to do this AmberZ?
Bart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-19-2004, 06:52 AM   #10 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Derby, UK / Den Haag, NL
Posts: 590
Default

Hmm, let me think about it. It really shouldn't be tricky at all !

Basically look at USA building destruction Ranger spawning as a basis for creating your cluster objects. You also need to locate a tag or module of some description that makes an object explode at a set distance from its target.

I can take a look and find this for you if you still need assistance.
Ambershee 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
My v3 missile.. Minimi Red Alert 2 & Yuri's Revenge Editing 14 04-27-2005 06:13 AM
Getting a structure to constantly shoot a weapon Waraddict Generals & Zero Hour Editing 5 02-22-2005 02:23 PM
Making a unit shoot sideway. Code question juanmanuelsanchez Generals & Zero Hour Editing 20 07-16-2004 11:25 PM
Dreadnaught's missile... YuriH9 Red Alert 2 & Yuri's Revenge Editing 47 02-22-2004 04:44 AM
shoot flame further and turning turrent for marauder andigo99 Generals & Zero Hour Editing 6 11-30-2003 05:55 PM


All times are GMT -4. The time now is 07:06 AM.


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