Jump to content

Ac130 Level Script Not Working (Timer/cameralock Issue)


McJobless
 Share

Recommended Posts


GetObjectiveSwitch ? SetMessagePermit 0

GetObjectiveShowing = 1 ? :Skip



TRUE ? SetMessageTimerValues 1000 1000 10000


Complete:

GetCrystalsCurrentlyStored = 1 ? SetLevelCompleted

:Complete


GetToolStoresBuilt = 0 ? SetLevelFail


TRUE ? SetTimer1 0 


__MainFunc:

{

	GetTimer1 = 77 ? Stop 

	TRUE ? SetCameraGotoTutorial 1

	TRUE ? SetTimer1 0

	TRUE ? CameraUnlock

	GetTimer1 = 77 ? Stop 

	TRUE ? SetCameraGotoTutorial 2

	TRUE ? SetTimer1 0

	TRUE ? CameraUnlock

	GetTimer1 = 77 ? Stop 

	TRUE ? SetCameraGotoTutorial 3

	TRUE ? SetTimer1 0

	TRUE ? CameraUnlock 

}

TRUE ? Complete:

Trying to make so after 77 (whatever value, milliseconds, seconds, game time units etc) the camera locks up and moves to the next tutorial block. This isn't the final script, just testing camera functions and timers. For some reason on a custom map I made with 3 tutorial blocks, the camera doesn't move at all.

My guesses:

  • Game not calling the MainFunc? Pretty sure it didn't need to in the second move tutorial, where I got some of the code from...
  • Missing code at the top? Maybe SetTutorialBlocks?
  • Need to code it to an object? CameraLockOnObject?

I'm tired so I'll try test these on Monday...else, PLX HELP!

Thanks,

Extreme110

Link to comment
Share on other sites

1. Telling the camera to go to tutorial block xyz does not lock it.

2.

GetToolStoresBuilt = 0 ? SetLevelFail

TRUE ? SetTimer1 0

__MainFunc:

This resets the timer to 0 every frame. Do you want that?

Link to comment
Share on other sites

What makes you think he's making a rock raiders themed mod?

The engine is built around caves; even if you give the game a sky, you'll only see it in eye/shoulder view, and there's really no way to change anything else.

Link to comment
Share on other sites

What makes you think he's making a rock raiders themed mod?

The engine is built around caves; even if you give the game a sky, you'll only see it in eye/shoulder view, and there's really no way to change anything else.

Bologna. You can change the camera settings so that you can see even the sky from 3rd person. You can also change the scale and setup of a level. You can turn drilling walls into opening doors and revealing a hallway. There's a great deal of things you can do with RR's engine.

Link to comment
Share on other sites

What makes you think he's making a rock raiders themed mod?

The engine is built around caves; even if you give the game a sky, you'll only see it in eye/shoulder view, and there's really no way to change anything else.

Bologna. You can change the camera settings so that you can see even the sky from 3rd person. You can also change the scale and setup of a level. You can turn drilling walls into opening doors and revealing a hallway. There's a great deal of things you can do with RR's engine.

Then show me a working AC-130.

Link to comment
Share on other sites

From what Extreme told me, he won't be using it to fly around the caverns. I'm guessing it will be like the Tunnel Transport at the end of Frozen Frenzy, in that it's the goal but you can't actually use it.

Link to comment
Share on other sites

Then show me a working AC-130.

1, it's not my mod, I don't have any AC-130's to show you

2, I'm not revealing any tricks to you that aren't already in a topic somewhere :P

Link to comment
Share on other sites

1. Telling the camera to go to tutorial block xyz does not lock it.

Oh...what is the code to lock it...I've looked up the tutorial level scripts but I'm having trouble finding it...

2.

GetToolStoresBuilt = 0 ? SetLevelFail

TRUE ? SetTimer1 0

__MainFunc:

This resets the timer to 0 every frame. Do you want that?

Ah, that's probably why the code wasn't working as well...Karl said I should do this but I think I mis-read it. Thank you addict.

Wait, you put an AC-130 in the game? Isn't that kinda redunant and/or impossible in a cave?

From what Extreme told me, he won't be using it to fly around the caverns. I'm guessing it will be like the Tunnel Transport at the end of Frozen Frenzy, in that it's the goal but you can't actually use it.

What Cirevam said. Basically, it appears in the start and end cutscenes and the camera is "part of" the "AC-130". It isn't a real model in-game (Except maybe a dirty building hack ship-wreck in one level) and only is theoretically there.

In fact

the actual story indicates that the AC-130 is above ground using special sub-terrain scanners to view the targets...with any luck this level will hopefully feature some kind of overlays and Target Identification System (just a graphics overhaul to highlight the shape of the objects on ground).

I'm pretty sure it will be a very fun mission when it's done.

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.