Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago
Hello again, I've not forgot but rather got new comp, had installed game, and now can continue working on map...
still not too sure about how to work with timer scripts for triggering certain scripts...


at most I'm attempting a 2-player cooperate map that has its own little story to it... 3rd player is AI which is enemy, lets call it "cab" for now...

So, what I need is to fix the cutscene. Sure, I have camera following 1 jet but would like it to have in view more than one, then when 'jets' reach enemy base have the turrets/etc destroy them; would like the AI to use all factions' structures/units...

(Warning: big-ish images in spoilers)


UserPostedImage
(I'll reorganize it later)


then zoom-fade-jump to some cars; start of car race camera on road facing to front of cars as they start, one's really a 'carbomb' so at one point it to follow that car...

UserPostedImage


demo traps are to be hidden, bombcar is supposed to take out at least 1 if not 2 those military vehicles, then overlord tank roll up attacking; some tanks/vehicles attempting to flee get caught with demo trap

UserPostedImage


last
I need that special effects train-bride destroyed, then nukes taking out temporary cutscene bases...

end cutscene, put human-players at respective starting points


I've more plot-things but first thing first... getting the cutscene working right/not broken due to AI autoselling not-its-faction stuff...
If needed I can had the map (wip) for estimate for the timer-script times...
Sponsor
BR-Alexandre
14 years ago
i can't help with building your cutscene as i don't know how that works, but if you make a Build list for the computer player he might not sell his non-faction buildings. i'm not sure about it but its worth try it (i suggest try the build list thing in other map so there's no risk to screw up the cutscene because of me)
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
NewNightmare
14 years ago
there's not much we can do... you're making the cutscene and youre the only one to know how it's mean't to look like, my only tip would be to open up few original missions and look at their camera setups.
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago
thanks for the replies, say I choose for the AI to be America, how would I get 'him' to use a preplaced structure like China Gattling Gun?
BR-Alexandre
14 years ago
try adding 2 AI players with same color and remove them from score tab. i'm pretty sure in the stealth general's challege you face 2 AIs, the upper base AI and the lower base AI, both use same faction and same color. try this if you need AI to use different faction buildings
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
i^love^mixery
14 years ago
i didnt remember your name but after reading the first few words of yours, i remembered..
sry decrosse i knew this is already the second time but i havent given up on you yet:
INSTEAD of telling us what you want to do, why you didnt post and how far youve come with your map or how you want your intro to look like TELL US what the problem is.

example for the current situation:
"Hello guys, i dont know how to use timer conditions, please explain." PERIOD. NO need to tell us the epic story of your mapping life.

lets come back to your question:

what part of using timers dont you understand?

you create a timer with any name and an expiration time, from the moment that script starts the timer will run down to 0 and there is the script condition ***IF*** timer XYZ has expired. thats one way to trigger an event. of course creating an intro with such condition usually takes A LOT of testing so that the intro events occure smooth.


what of that dont you understand?

you need 2 scripts:

First script:
*IF* Condition: NONE
Action if true: Set timer XYZ to expire in 5000 miliseconds.

Second script:
*IF* Condition: *IF* timer XYZ has expired.
Action if true: Car follow path.

Now for an into you can use unlimited amounts of scripts and timers:

First script:
*IF* Condition: NONE
Action if true: Set timer INTRO_000000001 to expire in 5000 miliseconds.

Second script:
*IF* Condition: *IF* timer INTRO_000000001 has expired.
Action if true:
1. Car follow path.
2. Set timer INTRO_000000002 to expire in 5000 miliseconds.

Third script:
*IF* Condition: *IF* timer INTRO_000000002 has expired.
Action if true:
1. Car go boom.
2. Set timer INTRO_000000003 to expire in 5000 miliseconds.

Fourth script:
*IF* Condition: *IF* timer INTRO_000000003 has expired.
Action if true:
1. Play some sound.
2. Set timer INTRO_000000004 to expire in 5000 miliseconds.

.
.
.
.
.
.
.
.

thats how you create a damn intro. of course you can use other things than timers for the conditions.
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago
ah sorry it has been awhile since I looked at it, but now that I've seen my map and it's scripts again...


*** IF ***
    [???] Player 'player0' starting position is  1  .
  *** OR ***
    [???] Player 'player0' starting position is  2  .
  *** OR ***
    [???] Player 'player1' starting position is  1  .
  *** OR ***
    [???] Player 'player1' starting position is  2  .
*** THEN ***
  Start letterbox mode (hide UI, add border).
  Disable mouse and keyboard input.
  [???]The world is revealed for Player 'player0'.
  [???]The world is revealed for Player 'player1'.
  [???]The world is revealed for Player 'player2'.
  [???]The world is revealed for Player 'player3'.
  [???]The world is revealed for Player 'player4'.
  [???]The world is revealed for Player 'player5'.
  [???]The world is revealed for Player 'player6'.
  [???]The world is revealed for Player 'player7'.
  Move camera to Waypoint 'Waypoint 343' in 0.00 seconds, camera shutter 0.00 seconds, ease-in 0.00 seconds, ease-out 0.00 seconds.
   Unit 'tower' will topple towards (1921.29,3402.51,0.00) if destroyed.
  Set timer 'USAJets' to expire in 0.02 seconds.

*** IF ***
    Timer 'USAJets' has expired.
*** THEN ***
   Unit 'usaraptor1' EXACTLY follows waypoints, beginning at Waypoint Path 'start'
   Unit 'usaraptor2' EXACTLY follows waypoints, beginning at Waypoint Path 'start'
   Unit 'usaraptor3' EXACTLY follows waypoints, beginning at Waypoint Path 'start'
  Have the camera follow Unit 'usaraptor1'.  Snap camera to object is FALSE.
now, it does follow 1 jet, though I'd like for at least 1 other to be in screen as well...

*** IF ***
     Unit 'usaraptor1' has reached the end of Waypoint Path 'start'
*** THEN ***
   Unit '00000gatgun' begin attack on Unit 'usaraptor2'
   Unit 'usaraptor1' begin attack on Unit 'ccore'
   Unit 'am10' begin attack on Unit 'usaraptor2'
   Unit 'am8' begin attack on Unit 'usaraptor1'
   Unit 'chigun6' begin attack on Unit 'usaraptor3'
   Unit 'am9' begin attack on Unit 'usaraptor2'
   Unit 'chigun1' begin attack on Unit 'usaraptor1'
  Set timer 'JetsEnd' to expire in 0.80 seconds.
problem is here because the AI autosells structures not of 'his' faaction, hmm off to test something... will update

(also 'ccore' is a building but its not supposed to take damage whether in cutscene or not)
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago
Update: well, that's a start. having AI as USA I managed to get the; one for test purpose, china gattling gun to stay... 😄

now just to actually get the patriots/whatever to actually attack the jet(s)...❓
BR-Alexandre
14 years ago
if you don't want a building to take damage, make it indestructible then script it to become destructible after cutscene. suggest you to use:
unit->affect flags set on object panel



patriots will not attack the raptors if you make them allies for the duration of the cutscene. suggest you to use:
Player->alliances->change how a player relates to another player

"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago

if you don't want a building to take damage, make it indestructible then script it to become destructible after cutscene. suggest you to use:

unit->affect flags set on object panel

BR-Alexandre wrote:



plot building even after cutscene isn't to take damage (until much later in mission) but that's a later cutscene thing, for now just trying to get the start working right...
BR-Alexandre
14 years ago
by what i see, the cutscene is not complicated, just hard as the camera and objects have to be at the right time, in the right moment. the rest i see you already know or is posted by someone. i'm sure its going to be hard but if you run into trouble again, just post
good luck
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago
cleaning up the map right now but will update when actual test commences how it went....
sorry for reply delay; having fun with Tiberium Wars/Kane's Rath (& Tiberium Sun/Firestorm)

now, for out of cutscene stuff...
is there a way to disguise structures as something else? - because I've some that need to be 'hidden' for most of the mission 'til end-game...


other: I know in campaign missions you get airport structure which has 'special' command button, is that map.ini stuff? eventually might need some, might not, can compromise with whats available at the time...

maybe it can do without some cutscene bits (the cars/overlord? undecided atm), but first to set up scripts for main enemy ai... lots of waypoints then I guess...

would/how the team thing work I'd only need it for the AI enemy anyhow...?

off to test soon
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago
Well, looks like I'll have to restart from scratch. No big, I can make the story in kind of parts or sections. plus been thinking for other possibilities like modding... (sometime).

UserPostedImage

^^^I may have had WB open the day we had a poweroutage. sure comp downstairs came back on but as it loading windows/mac stuff power went out again. thinking same happened with my computer. (mac i use parallels desktopp 7 virtual machine)

VTULCobra
14 years ago
Keep pressing ignore on that one.
Rank up!
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
14 years ago

Keep pressing ignore on that one.

VTULCobra wrote:



that ones fine, its the second that will take a longish time, even just clicking ok or cancel - the "replace missing unit". I'll just start fresh instead.
VTULCobra
14 years ago
Go to America in the object list and replace it with a Particle Cannon just like it says then?
Rank up!
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
13 years ago
sorry for bump, computer problems. anyways, I think I can get the cutscene working... besides starting smaller now..

first to test, lets say I set AI to be "America", but player B also chooses "America" (player A could too just as well along with B)
so, how can I get the Patriot Missile thing to attack America Raptor Jet? for cutscene(s) if needed...
Decrosse
  • Decrosse
  • 98% (Exalted)
  • Major Topic Starter
13 years ago
other question: is there a way to disguise structures as buildings? like GLA or China's superweapons as Civilian buildings?