lohait.blogg.se

Mod api download
Mod api download













mod api download
  1. MOD API DOWNLOAD HOW TO
  2. MOD API DOWNLOAD MOD
  3. MOD API DOWNLOAD UPGRADE

A usual way is to limit the amount of the function to run to about once every game hour (that's about once every 3 seconds). But be sure that you don't do very heavy calculations every frame, otherwise the game will start running slower. In this function, you can analyze the game state and manipulate it, how you feel like. This is called about 30 times per frame by the game. When you create a mod, it can expose the following functions:

mod api download

In there, you can do your game logic and access and manipulate the game. This is being called every game logic step. It works like this: You need to define a function object, which has a method named 'run'. Not very useful, but good as example code. This code will send a mail every two game hours to the player, with the current population amount of the city. Game_send_mail('Population: ' + game_get_city().Population, 'hourly report') If (now - this.LastTimeRan < 120) // only run every 120 minutes in game time n = function() // <- called about ~30 times per second by the game

MOD API DOWNLOAD MOD

This.LastTimeRan = 0 // last time this mod ran Open the script.js file and replace it with your own code, for example with this (which is a very simplified version of the detailed city report script):

  • mod.json - a text file in JSON format containing all the info about this mod.
  • Go into your new "my mod" folder and take a look at its content.
  • Copy the "detailed city report" folder and name it how you want your mod to be called, like "my mod".
  • A folder named "detailed city report" should be in there, which contains the just downloaded "Detailed City Report" mod. You should find a folder named "Smart City Plan" and under that, a folder named "mods".

    mod api download

  • In Windows, right-click the Windows start button in the task bar, and select 'Run'.
  • mod api download

  • Download the "Detailed City Report" mod.
  • MOD API DOWNLOAD HOW TO

    If you don't have this, you might want to take a look on how to create mods without programming instead.

  • A bit of programming experience is good.
  • You should know a bit of how JavaScript works.
  • This document here is only for programmers. You can create basic mods even without programming. If you don't know how to create very basic mods, you can take a look at the Creating mods section of the game manual. **********Free App Features*********** Content Up to API 23* View by package* View by Class Name* Deep link to **********Premium App Features*********** All the Free App Features (Obviously :-))* Up to API 27 Content* Search by class name* Bookmarks* History* API Filtering* Future updatesĪndroid 4.0.3、4.0.4 (ICE_CREAM_SANDWICH_MR1)Īndroid 4.0.3、4.0.Smart City Plan mod API documentation How to create a simple mod Mod functions How to debug your mod API documentation How to create a simple mod

    MOD API DOWNLOAD UPGRADE

    The whole information was taken from and the information made available in offline with in the application (file size ~45MB).Application provides an option to view the class information by Alphabetical order or by package.All the content up to API level 23 can be accessed freely with out any adds from Free version.But if you want premium features and want to encourage further development, please, upgrade to premium version using In-App purchase. The Application contains 6500+ (300+ packages) android class information up to API Level 27 (Android 8.1). Offline Android API Reference Mod Offline Android API Reference Mod v3.1 (Premium) Features:















    Mod api download