Jump to content


Photo

How do I OPEN a .scb file


  • Please log in to reply
5 replies to this topic

#1 Aimbotxxx

Aimbotxxx
  • Members
  • 7 posts

Posted 14 July 2019 - 11:02 PM

­


Edited by Aimbotxxx, 23 July 2019 - 04:46 PM.


#2 predator_bg

predator_bg

    The predator

  • Hosted
  • 2,435 posts
  • Location:Bulgaria
  • Projects:Contra

Posted 17 July 2019 - 02:59 PM

In your Zero Hour directory, there is a file called WorldBuilder.exe. This is a tool used to edit maps and scripts in the game. To open .scb files, you need to do the following steps:

1. Open World Builder

2. Choose Edit > Edit Player List... > Add Skirmish Players > OK

3. Choose Edit > Scripts... > Import Scripts... to import the .scb file you want

4. When you are done, use Export Scripts... to export them.



#3 predator_bg

predator_bg

    The predator

  • Hosted
  • 2,435 posts
  • Location:Bulgaria
  • Projects:Contra

Posted 19 July 2019 - 04:11 PM

.scb files contain scripts. You should read some tutorials on what scripts are, how to import/export them and how to edit them. https://www.google.c...chrome&ie=UTF-8



#4 predator_bg

predator_bg

    The predator

  • Hosted
  • 2,435 posts
  • Location:Bulgaria
  • Projects:Contra

Posted 20 July 2019 - 07:19 AM

Try clicking on the folders. The "+" sign should then appear. Also, untick "Auto Verify" option. The crashing is most probably World Builder just not responding because of verifying all the scripts. It's caused by having "Auto Verify" checked. I directed you to scripting tutorials, but I should have been more specific. A must read for you is Script Development Initiative. It will help you deal with some bugs (ZH World Builder is beta software) and save you a lot of time. http://sdi.cncguild....le=/quotes/tips

Also, there is an active Discord channel specifically for Generals and ZH World Builder. You can ask questions there or just chat with other scripters and mapmakers: https://discord.gg/tJ6zyGb


Edited by predator_bg, 20 July 2019 - 07:19 AM.


#5 predator_bg

predator_bg

    The predator

  • Hosted
  • 2,435 posts
  • Location:Bulgaria
  • Projects:Contra

Posted 20 July 2019 - 11:56 AM

Most folders are empty on MultiplayerScripts.scb, that's why you don't get the "+". SkirmishScripts.scb contains AI scripts. These scripts are run when there's AI in your game, no matter if it's solo or multiplayer.



#6 predator_bg

predator_bg

    The predator

  • Hosted
  • 2,435 posts
  • Location:Bulgaria
  • Projects:Contra

Posted 20 July 2019 - 09:53 PM

Open up the teams editor (there is an icon on the toolbar). Select SkirmishAmerica and edit an already existing team or make a copy of one. Basic stuff there is self-explanatory (you will see team members such as Ranger, Humvee, etc.). So, choose a team and add 5 Tomahawk Launchers from the drop-down list. Make sure you have the scripts window closed before trying to edit teams (it's one of the tips in SDI, so I really recommend reading them first). When you are done making changes to teams, click OK, then open the scripts editor again, wait for it to load, then export scripts (teams and scripts are both exported in the .scb file). The best and probably the easiest way to learn scripting, in my opinion, is to see how things are done by looking at already existing scripts and teams and trying to understand them. You will probably have more and more questions, so I recommend joining the Discord channel I linked. You'll have more people answering your questions.


Edited by predator_bg, 20 July 2019 - 09:56 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users