|
Re: Help about bots ... [message #478632 is a reply to message #478613] |
Sun, 13 January 2013 06:45 |
Troll King
Messages: 56 Registered: June 2012 Location: Netherlands
Karma: 0
|
Recruit |
|
|
Its done via existing cinematic files.
These are plain .txt files which can be found in always.dat.
You can open it by using xcc mixer (or xxc) mixer can't remember exact name right now. Just look for .txt files in there which have numbers in it like -0 and -100. Also commands like Create_Object etc.
Those commands will be read by a file reader and it will execute whatever you wrote in it. You can even create your own cinematic files or even let them be made by a program so you can share them. (however this does not exist as far as I know but you can make it).
To make a cinematic file execute you'll have to attach the script "JFW_Cinematic" (NOTE: the object will be deleted if the cinematic is done so it's best to use a temporary object). You'll have to pass as parameters the name of your .txt file so for example:
Commands->Attach_Script(my temporary object,"JFW_Cinematic","z_gdi_pp1drop.txt");
That's it.
Also the facing of the temporary object will effect where your helicopter etc will come from.
EDIT: be aware that you don't have to put the .txt files in always.dat you can leave them in the same folder it's in.
EDIT #2: also the difference between singleplayer and multiplayer aren't that big. The only big difference is that you don't have other players in it. You also have more options to choose from scriptwise. Just think like your campaign is multiplayer and all will work the same. The only big obstacle is that you can't use chat. You have to use LE to make your level start and go from there.
Also Known As: Neijwiert
[Updated on: Sun, 13 January 2013 06:49] Report message to a moderator
|
|
|
Re: Help about bots ... [message #478635 is a reply to message #478632] |
Sun, 13 January 2013 08:58 |
Alex[]
Messages: 15 Registered: July 2011
Karma: 0
|
Recruit |
|
|
Troll King wrote on Sun, 13 January 2013 06:45 | Its done via existing cinematic files.
These are plain .txt files which can be found in always.dat.
You can open it by using xcc mixer (or xxc) mixer can't remember exact name right now. Just look for .txt files in there which have numbers in it like -0 and -100. Also commands like Create_Object etc.
Those commands will be read by a file reader and it will execute whatever you wrote in it. You can even create your own cinematic files or even let them be made by a program so you can share them. (however this does not exist as far as I know but you can make it).
To make a cinematic file execute you'll have to attach the script "JFW_Cinematic" (NOTE: the object will be deleted if the cinematic is done so it's best to use a temporary object). You'll have to pass as parameters the name of your .txt file so for example:
Commands->Attach_Script(my temporary object,"JFW_Cinematic","z_gdi_pp1drop.txt");
That's it.
Also the facing of the temporary object will effect where your helicopter etc will come from.
EDIT: be aware that you don't have to put the .txt files in always.dat you can leave them in the same folder it's in.
EDIT #2: also the difference between singleplayer and multiplayer aren't that big. The only big difference is that you don't have other players in it. You also have more options to choose from scriptwise. Just think like your campaign is multiplayer and all will work the same. The only big obstacle is that you can't use chat. You have to use LE to make your level start and go from there.
|
Isnt here any tutorial because im noob and i dont understand nothing -_____- Or can someone do it ?
|
|
|
|
Re: Help about bots ... [message #478647 is a reply to message #478637] |
Sun, 13 January 2013 17:19 |
Troll King
Messages: 56 Registered: June 2012 Location: Netherlands
Karma: 0
|
Recruit |
|
|
danpaul88 wrote on Sun, 13 January 2013 17:48 | If you can't figure out how to attach a script to an object and place it on a map you probably need to go back to basics and learn how LevelEdit works before you try and create a full campaign mod.
Import some random terrain and learn how to turn it into a playable map and fiddle around with everything to figure out how it all works (adding spawners, building controllers (where applicable), temp some presets, edit the purchase list etc). Nobody is going to hold your hand and tell you every single little thing you need to do if you're not willing to go and learn yourself. There are plenty of tutorials covering the basics and some that cover more advanced aspects, go and read them and then come back to this.
http://community.mp-gaming.com/index.php/board,285.0.html is a good starting point
|
Also Known As: Neijwiert
|
|
|
|
|
|
|