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 09-20-2005, 10:27 AM   #1 (permalink)
Junior Member
 
Join Date: Sep 2005
Location: Berlin
Posts: 12
Send a message via ICQ to partysan Send a message via MSN to partysan
Default several questions about mission scripting

hi...

i have just started two zh - missions and i am in the middle of it.
so i have a few general questions about it, i hope someone can help me...

- one intro movie shows a battle between gla und us forces. after the battle, the game starts. but the salvage create of the killed us - vehicels are still visibel. there is a way to avoid this, but i dont know how...

- i want to drop different units per paradrop from an us- or asian plane. how can i edit the unit it drops, like lotis, burton, sniper, etc... ?

- in a not yet started mission, i want to show an military parade like in the first asian mission in generals. in this movie, all soldiers are marchin, not running. how to do this ?

- how can in do raptors diving like in the 3rd ore 4th gla - mission in zh ( the attack at the gla base) ?

- i would also film the raptors flying a curve like in the 2nd gla - mission in zh...

- i have the german version of zh an i use speech files. if u play the missions witn an us-zh, do u hear the appropriate one in english or the german one?


ok, this is enough for the first, but i cant find a button to add some files here, is that correct ?

thx for ur help... smile.gif
partysan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-20-2005, 04:37 PM   #2 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Gamers Heaven
Posts: 781
Send a message via AIM to SmokeyDaBear Send a message via MSN to SmokeyDaBear Send a message via Yahoo to SmokeyDaBear
Default

ok...

First, i hope you know alot about ini and stuff!

2= For your mission, you will have to have a map.ini or make a mod to where the units can paradrop via objectcreationlist.ini...for example:


Code:
ObjectCreationList SUPERWEAPON_Paradrop3
  DeliverPayload
    Transport = CINE_AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 20        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    PutInContainer = AmericaParachute
    Payload = AmericaInfantryRanger 40
    DeliveryDistance = 0  ;when outbound vehicle must be this close to target to continue delivery
    PreOpenDistance = 300 ;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery 
    DeliveryDecalRadius = 50
    DeliveryDecal
      Texture           = SCCParadrop_USA
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255 
      OnlyVisibleToOwningPlayer = Yes
    End
    ;RequiresLivePlayer = Yes ; I want to require a live player, but I'll settle for dropping neutral rangers instead
  End
  DeliverPayload
    Transport = CINE_AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = No
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 20        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
    PutInContainer = AmericaParachute
    Payload = AmericaVehicleHumvee 5
    DeliveryDistance = 0  ;when outbound vehicle must be this close to target to continue delivery
    PreOpenDistance = 300 ;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery 
    DeliveryDecalRadius = 50
    DeliveryDecal
      Texture           = SCCParadrop_USA
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255 
      OnlyVisibleToOwningPlayer = Yes
    End
    ;RequiresLivePlayer = Yes ; I want to require a live player, but I'll settle for dropping neutral rangers instead
  End
End
and just tack on more and more DeliverPayload thingies until you have all the units you want paradropped...


If you just want a certain type[s] of unit to paradrop from a certain plane at a certain time in a certain spot, you just gotta go on worldbuilder, make a team with all the units you want to paradrop in it, go to the reinforcements tab and add a transport, and script it so that they spawn and drop after spawned...

3: The only way to have the unit running is by using the ParadeRedGuard, they are the only unit with their animation set to walk other than civilian people. You could always make your own walking infantry i guess, but that is a hellovalot easier said than dun...

4: I think i may have a solution to having your raptor dive, but its untested and uncertain. You could make the raptor code, and add a attack locomotor that is at a decreased altitude...
SmokeyDaBear is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-20-2005, 08:00 PM   #3 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

Well for the raptor stuff... that is just animated... quite simular to the tomahawks flying in the last usa mission.
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2005, 10:32 AM   #4 (permalink)
Junior Member
 
Join Date: Sep 2005
Location: Berlin
Posts: 12
Send a message via ICQ to partysan Send a message via MSN to partysan
Default

thanks for ur help...

the one with the red guard is really easy...
but i cant get the other problems...
but i have a new question for u...
how to make bird fly out of a tree like in the first gba mission of zh?
is that also an animation ??

thx for ur answers
partysan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2005, 11:18 AM   #5 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

yeah also an animated object.
Look in the Civilian object list. I think these object begin with "CINE_" in their name.
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2005, 05:17 PM   #6 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Gamers Heaven
Posts: 781
Send a message via AIM to SmokeyDaBear Send a message via MSN to SmokeyDaBear Send a message via Yahoo to SmokeyDaBear
Default

yea....that or nature....i think its nature tho....well, that is of course, as far as worldbuilder goes....about the crates...you could proally have them removed somehow in the scripts or map.ini for more info look at the beginning shellmap.
SmokeyDaBear 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
A Few Scripting Questions AntiSocialKindaGuy Generals & Zero Hour Editing 1 06-05-2005 09:37 PM
Need AI Scripting Help sekanz Map Authoring 1 05-11-2005 04:00 AM
Scripting Monkeystuff Generals & Zero Hour Editing 5 11-11-2004 06:59 AM
AI Scripting ThePrinc3 Generals & Zero Hour Editing 6 08-18-2004 12:59 PM
Scripting questions guyee Generals & Zero Hour Editing 0 09-11-2003 10:14 PM


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


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