PDA

View Full Version : How to add text msgs?



yfmain
07-26-2005, 12:53 PM
anybody knows how to add customized text messages into C4?
I 'm trying to add msgs to reminder subjects what will be their next task.
:help:

Bluetiereign
07-26-2005, 09:03 PM
Hmmm...C4. Much easier in BHD with the WAC. You definitely can add Objective Win messages with the BIN editor. I'll look into it - but can't promise much...sorry. :(

yfmain
07-27-2005, 06:53 AM
Thanks, Bluetiereign. I tried dlgeditor, but wasnot able to add a customized msgs, I can only use what is pre-defined in the level. Another pain is those text msgs only appear at the bottom chat dlg, which is not obvious. I want to put a big alert msg right in the middle of the screen, but don't whether C4 can do that.
Hope you can find something nice.

btw, C4Editor can only add event with "If ... Then" clause, do you know whether it is possible to use "If ... Then... Else...."? Hope there is a solution in the BIN editor.

Bluetiereign
07-29-2005, 03:12 PM
Well, at the expense of losing the ability to get the use of Pappy's Bin File Editor - it is possible to get what you want. Dr. Evil ~TAG at the Mod Depot figured it out.

All you have to do is use the dialogue editor to add the sound and corresponding text. Export it using the .bms's name. Change the .pwf extension to an .lwf extension on the .pwf file that the dialoge editor makes. Add the .bin, .lwf and .sbf files to your c4odata.pff.

To trigger the text to work you must manually change the .mis file. When you set up your trigger event for the if... set your action to null. Then open your .mis in notepad and add the following line : 0 7 2 -1 -1 -1 0 0 like you see in the pics. The Blue Highlighted area is the line - the red circled with yellow highlight is the actual dialogue # - without the 00 in front of it.


http://www.checkpointdelta.net/temp/text01.jpg

After you save the edited .mis in notepad, reopen it with the MED. The event will appear like this:


http://www.checkpointdelta.net/temp/text02.jpg

Export the .BMS and voila - text messages. I'm including a test.bms with all the files - including the file the dialogue editor saved and a sound file - for you to check out. If you have any more questions, let me know.

yfmain
08-04-2005, 11:37 AM
Thanks you very much, Bluetiereign. This works, although I have not tried any further by using my own sound messages.

I have another question, it is about Area trigger. I 'm trying to teleport objects into an area with area trigger, but It seemed not triggering the event. Do you know whether this is going to work, or might I do anything wrong.

Thanks again.

yfmain

Bluetiereign
08-04-2005, 05:20 PM
Yes, that will work - the attached file is a teleport example. However, with the manual editing done - my editor didn't want to let me teleport. So, you might try setting up everything and then add those automated messages.

BTW, be sure and check out the height of your area triggers.

yfmain
08-09-2005, 06:21 AM
Thanks, Bluetiereign, the Area trigger is working now, I really appreciate your help.

Do you know whether I can set rockets number in editor, I 'm trying to let subjects to have as many as it can, in case run out of weapon during the game.

Thanks,

yfmain

Santa AkA SoDam
08-09-2005, 04:55 PM
Sounds like a cheat to me buddy!!

Unless every one in the server can have it

Bluetiereign
08-09-2005, 09:02 PM
I think he is asking about this.

yfmain
08-11-2005, 09:15 AM
;), I'm not using this to connect any server.

But Bluetiereign, I donot get your suggestion. Where can I change the number of rocket?
thanks,

yfmain

Reaper
08-11-2005, 12:48 PM
I'm a little confused my self yfmain, Are you asking how to give the ai more ammo, or give the players in a coop/single player mission more rockets?.

yfmain
08-11-2005, 12:57 PM
Hi Reaper,

I want to give the player in a single player mission more rockets.

yfmain

Bluetiereign
08-11-2005, 06:35 PM
If you can't edit it in the editor - chances are pretty good that you shouldn't be doing it. Auto text messages are one thing.. but things like changing ammo loads and skins - I can't help you there.

To LEGITIMATELY change the ammo loads for a map, you use the editor. Go to Edit --> General Information. You will see the area (marked with a red square in the pic) to change the default loadout.

If people need more ammo - give them more FARPS.

nakulak
08-11-2005, 06:45 PM
I agree with blue - even though c4 doesn't exactly qualify as a "sim", I think the game originators were hell bent on making it as accurate as possible, and strapping extra rockets to the skids of the chopper probably wasn't something intended

Reaper
08-11-2005, 11:02 PM
I see what it is you want and don't think you mean it as a cheat. For single player or coop the best way to do that is just give them more farps Like Blue said. Just remember if there is a very hard area on the mission set 2 farps in an area, where players can come in without taking much time to load out. You can always set objects to protect the player farping also. Set 2 so they can load out as many times as they need to. You shouldn't need to worry about the number of rockets that way.

Also If someone was to give you that info, Others would use it for multiplayer. So you can see why You got the responces you did.

yfmain
08-12-2005, 12:34 PM
Thanks so much to you guys. I have to say sorry that I did not think about this kind of stuff when I ask questions, but certainly I should.

I think I would manage to avoid my subjects to run out of rockets by give them some rules. I would reduce my task down to 35 targets in the mission, 50 rockets would be just about ok if ppl don't abuse their weapon.

Good news to me that most of problems have been solved, and my mission have been tested and modified. It looks much better now.
My headache in another mission is about the question I have posted before, about how to output flying status data to a file on local harddisk. After a while I could not find any help, probably I am about giving up that idea now.

I am really grateful that you guys keep helping me out of my problems.

yfmain