Daemian
Posting Freak
Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation:
49
|
RE: [HELP NEEDED AND WANTED] Continuing game after credits
No problem, here:
Save that as .mat, then change its image in the MatEditor. (Or just edit the text at file=)
|
|
08-02-2016, 03:08 AM |
|
Darkfire
Senior Member
Posts: 371
Threads: 22
Joined: May 2014
Reputation:
15
|
RE: [HELP NEEDED AND WANTED] Continuing game after credits
Thanks, it works ! But there is the same problem I mentioned before. The texture rolls constantly, which means that when player is teleported to credits, they start at a random moment.
So I succeeded in making a MoveObject, but how do I make it move ? With SetMoveObjectState ?
Jeez it's the last thing I have to do for my CS and I'm so friggin stuck.
|
|
08-02-2016, 12:02 PM |
|
Romulator
Not Tech Support ;-)
Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation:
195
|
RE: [HELP NEEDED AND WANTED] Continuing game after credits
(08-02-2016, 12:02 PM)Darkfire Wrote: Thanks, it works ! But there is the same problem I mentioned before. The texture rolls constantly, which means that when player is teleported to credits, they start at a random moment.
Use
void CreateEntityAtArea(string& asEntityName, string& asEntityFile, string& asAreaName, bool abFullGameSave);
to create your Credits entity at the location of your choice, signified by an area, and use a timer for when it's finished to send you back to where you wanted to go. Therefore, it should start exactly as you want.
Or, you may be able to ResetProp(); it.
Discord: Romulator#0001
(This post was last modified: 08-02-2016, 12:11 PM by Romulator.)
|
|
08-02-2016, 12:09 PM |
|
Darkfire
Senior Member
Posts: 371
Threads: 22
Joined: May 2014
Reputation:
15
|
RE: [HELP NEEDED AND WANTED] Continuing game after credits
That might do the trick. I'll try this after I try the elevator method, because I'd have to create another, different .png for that.
Speaking of elevator method, I copied SetMoveObjectStateExt from the elevator level (and changed it appropriately), and even checked if everything is the same between my entity and elevator_wall01 in the model editor. Yet, the credits don't move a bit.
(This post was last modified: 08-02-2016, 12:37 PM by Darkfire.)
|
|
08-02-2016, 12:36 PM |
|
Mudbill
Muderator
Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation:
179
|
RE: [HELP NEEDED AND WANTED] Continuing game after credits
Out of all the methods, I'd recommend making the credits themselves into a MoveObject. What do you mean most of the editors don't work? Were you that lucky to have the LevelEditor work but none of the others? If you have access to the ModelEditor and MaterialEditor, then you can create the entity yourself. Like I said, use some invisible mesh, then attach the billboard to it. Set the type to MoveObject and you can simply tell the entity to move upwards.
You could also just grab the example from The Small Horse part D (that was it, yeah?).
(This post was last modified: 08-02-2016, 02:50 PM by Mudbill.)
|
|
08-02-2016, 02:48 PM |
|
Darkfire
Senior Member
Posts: 371
Threads: 22
Joined: May 2014
Reputation:
15
|
RE: Continuing game after credits
I tried that and it didn't move up for some reason.
However, I managed to use Romulator's method: I made an entity with an animated texture attached to it, and then spawned it when needed. And I had to make some black space above the credits in the .png, so they don't disappear abruptly. Works !
Thanks for help guys, and sorry for the ruckus.
Oh, and I fixed the antivirus/editors thing. For some reason antivirus accepted only LevelEditor and HplLangTool - the rest was automatically deleted (when I extracted them from editor_suite.rar).
(This post was last modified: 08-02-2016, 02:56 PM by Darkfire.)
|
|
08-02-2016, 02:55 PM |
|
|