Difference between revisions of "Scripts"

From Pokémon 3D Wiki
Jump to navigation Jump to search
(Created page with "There are numerous scripts that can be used withing the Pokemon 3D game. This is(will be) a full list of them, how to use them and what they do. == Commands == There are two...")
 
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The scripts folder contains all of the scripts for in-game events. It also contains the Trainer files and the files for the world maps.
Starting with version 0.32 a second scripting language known as version=2 was implemented into the game. Starting with version 0.33 all new scripts for the main game are made in version=2 scripts.
==[[Version 1 Scripts]]==
These scripts follow the @Command:subcommand pattern with not all Commands needing sub commands.
Version 1 is Case Sensitive.
These scripts are still supported but are not used by the dev team when making new scripts.
==[[Version 2 Scripts]]==
Version 2 scripts were started in version 0.32. Any script in Version 2 must have "version=2" as the first line of the script.
Commands are written as @command.subcommand and are no longer case sensitive. All commands require a subcommand.
Constructs were also expanded to be <construct.subconstruct> and can be used with switches too
There are numerous scripts that can be used withing the Pokemon 3D game.
There are numerous scripts that can be used withing the Pokemon 3D game.


This is(will be) a full list of them, how to use them and what they do.
==[[Trainer Files]]==
Trainer files all have the extension .trainer.
There are 2 types of trainer files, one that is less descriptive and one that is more.


== Commands ==
== [[World Map]] ==
There are two types of commands: Commands(@Command) and subcommands(:subcommand(details))
World map files are stored in the /Scripts/worldmap/ folder and are named for the region the represent.


The subcommands will be listed by command
As part of the header for a map file the {"CurrentRegion"{str[regionname]}} is listed which dictates which map is looked at when viewing the town map or when flying.


{|class="wikitable"
This feature was implemented in version 0.3 along with [[Fly]].
! Subcommand
! Job
! Inputs
|-
! colspan="3" | @Player
|-
! colspan="3" | @Pokemon
|-
! colspan="3" | @NPC
|-
! colspan="3" | @Music
|-
! colspan="3" | @Sound
|-
! colspan="3" | @Options
|-
! colspan="3" | @Text
|-
! colspan="3" | @Camera
|-
! colspan="3" | @Wait
|-
! colspan="3" | @Action
|-
! colspan="3" | @MessageBulb
|-
! colspan="3" | @Battle
|-
! colspan="3" | @Trainer
|-
! colspan="3" | @Achievement
|-
! colspan="3" | @Register
|-
! colspan="3" | @Unregister
|-
! colspan="3" | @Script
|}


===
{{FilePaths}}

Latest revision as of 06:36, 7 September 2014

The scripts folder contains all of the scripts for in-game events. It also contains the Trainer files and the files for the world maps.

Starting with version 0.32 a second scripting language known as version=2 was implemented into the game. Starting with version 0.33 all new scripts for the main game are made in version=2 scripts.

Version 1 Scripts

These scripts follow the @Command:subcommand pattern with not all Commands needing sub commands.

Version 1 is Case Sensitive.

These scripts are still supported but are not used by the dev team when making new scripts.

Version 2 Scripts

Version 2 scripts were started in version 0.32. Any script in Version 2 must have "version=2" as the first line of the script.

Commands are written as @command.subcommand and are no longer case sensitive. All commands require a subcommand.

Constructs were also expanded to be <construct.subconstruct> and can be used with switches too

There are numerous scripts that can be used withing the Pokemon 3D game.

Trainer Files

Trainer files all have the extension .trainer. There are 2 types of trainer files, one that is less descriptive and one that is more.

World Map

World map files are stored in the /Scripts/worldmap/ folder and are named for the region the represent.

As part of the header for a map file the {"CurrentRegion"{str[regionname]}} is listed which dictates which map is looked at when viewing the town map or when flying.

This feature was implemented in version 0.3 along with Fly.

Game Folder
Content ContentPacks GameModes Saves Screenshots Game Executable
Pokemon Data ContentPack Folder GameMode folder Savegame folder Version History
Data Maps Moves Scripts Control Files Content GameMode.dat Party.dat Player.dat Options.dat
poke battle structures V1 V2 trainer worldmap