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

Forum Info
Forum Members: 18,677
Total Threads: 8,798
Posts: 95,843

Administrators:
DeeZire, Redemption

There are currently 26 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » object creation and same direction creation

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

Reply
 
LinkBack Thread Tools
Old 05-13-2004, 05:37 PM   #1 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default object creation and same direction creation

I am trying to find out how I can set what direction that a object spawned with a CreateObject on the OCL faces....?
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 06:02 PM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: UK
Posts: 676
Send a message via MSN to DJRowley
Default

IIRC, you can set it so that it goes in the same direction by using a LIKE_EXISTING tag. Can't remember any others offhand though...
DJRowley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 06:54 PM   #3 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

that just makes the object exist when created liek a unit I think has nothing to do with the direction it is facing when created
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2004, 08:40 PM   #4 (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

Yes it does, you can apply several different Disposition -s to an object when you create it. Here's some:

LIKE_EXISTING - Creates it on the same spot as the creator, facing the same way.

RANDOM_FORCE - Applies a random force to the object. How much force and at what angle is specified by MinForceMagnitude, MaxForceMagnitude, MinForcePitch and MaxForcePitch.

INHERIT_VELOCITY - Causes the object to initially move in the same direction at the same speed as its creator.

ON_GROUND_ALIGNED - Object is stuck flat on the ground under its creator.

SEND_IT_FLYING - Sends the object flying in a random direction. Use DispositionIntensity to say how strong the object must be flung.

FLOATING - Dunno.

SEND_IT_OUT - Works like SEND_IT_FLYING but this one doesn't send them up into the air, but over the ground instead.

SEND_IT_UP - Propels the object straight up into the air rather than at an angle like SEND_IT_FLYING.

You can combine several of these, so it's perfectly possible to use something like Disposition = SEND_IT_FLYING RANDOM_FORCE INHERIT_VELOCITY.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2004, 01:23 AM   #5 (permalink)
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default

Good Stuff there Immo...
Hostile is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2004, 07:19 AM   #6 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

still doesnt help, I have had the LIKE_EXISTING tag there already and it still does not spawn facing the same direction.....
I really want it to face a certian direction regardless of what directon the parent object is facing
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2004, 09:16 AM   #7 (permalink)
Senior Member
 
Join Date: Aug 2003
Location: UK
Posts: 704
Send a message via MSN to Mithril
Default

Does it have to be an OCL? It may work with the spawn behavior as well but I don't know for what this is for. If you use the spawn behavior then obviously you can use the spawn point update and align the pivot of the bone I think..
Mithril is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2004, 04:45 PM   #8 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Indiglo Plateau (USA)
Posts: 526
Send a message via ICQ to LtZack Send a message via MSN to LtZack
Default

it is not a spawn behavior possible thing is is a OCL called by a weapon projectile's death and I want the object spawned to face a certian direction regardless of the direction of the parent projectile object
LtZack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-16-2004, 07:28 PM   #9 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 182
Default

PLEase guys we need to get this working... Thanks a lot
juanmanuelsanchez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-16-2004, 08:08 PM   #10 (permalink)
Member
 
Join Date: Sep 2003
Posts: 63
Default

It can't be done. The game doesn't allow it. What are you trying to do exactly? Then maybe we can find an alternative.
Airstriker 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
Help with creation Wetnose Generals & Zero Hour Editing 16 09-22-2006 03:14 PM
mod creation Foxtrot1 Generals & Zero Hour Editing 3 10-12-2005 04:32 PM
Help with Map.ini creation IHM Generals & Zero Hour Editing 7 07-24-2005 05:35 PM
Object creation Vengence Generals & Zero Hour Editing 9 05-20-2004 07:59 AM
cameo creation adamstrange Red Alert 2 & Yuri's Revenge Editing 5 01-03-2003 04:11 PM


All times are GMT -4. The time now is 04:47 AM.


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