Modding Help Help with gun mod

Discussion in 'Starbound Modding' started by romatschka, Jan 29, 2014.

  1. romatschka

    romatschka Orbital Explorer

    Hey guys. I tried to make a weapon (Jinx minigun from "League of Legends"). I did everything right (I think :D) and i had no typos (I think :D), but the game is not starting/ I get a nice and green generic item :rofl:.

    Please help me.

    Here is the log:
    Code:
    Info: Preparing Star::Root...
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Furious Koala' '635'
    Info: Running from : D:\Starbound\win32\starbound.exe
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    Info: Loading Star::Root...
    Info: Initializing SDL Window
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Not loading ImageMetadataDatabase from file '..\image.cache', digest mismatch or assets not digestable
    Info: Created initial window 944x1007
    Info: Initializing SDL Window
    Info: Re-created window 1920x1018
    Warn: Slow asset 1.221 : /dungeons/apex/apexresearchlab/1.png
    Warn: Slow asset 1.221 : /dungeons/apex/apexresearchlab/1.png
    Warn: Slow asset 1.234 : /cinematics/chucklelogofinal.png
    Warn: Slow asset 1.234 : /cinematics/chucklelogofinal.png
    Warn: Slow asset 1.269 : /dungeons/microdungeons/randomencounter/floran/floranencounter.dungeon
    Warn: Perf: Cinematic::render millis: 2172
    Warn: Perf: ClientApplication::render millis: 2183
    Warn: Perf: StarApplicationBase::run.innerLoop.render millis: 2183
    Warn: Slow asset 2.124 : /dungeons/microdungeons/randomencounter/generic/miniboss.dungeon
    Warn: Slow asset 1.253 : /dungeons/microdungeons/randomencounter/generic/randomencounter.dungeon
    Warn: Perf: StarApplicationBase::run.innerLoop millis: 3052
    Warn: Slow asset 1.261 : /dungeons/glitch/glitchvillage/12-objects.png
    Warn: Slow asset 1.261 : /dungeons/glitch/glitchvillage/12-objects.png
    Warn: Slow asset 1.496 : /dungeons/glitch/glitchvillage/12.png
    Warn: Slow asset 1.497 : /dungeons/glitch/glitchvillage/12.png
    Info: Application quitting!
    Info: [ [ "Assets::loadBaseImage", "Cnt#: ", 2201, "Sum(ms)", 165470, "Avg", 75, "SAvg", 0, "Min", 0, "Max", 1496, "Last", 41, "Var(avg,us)", 143920, "VMax(ms)", 1477, "Parent", "" ], [ "Assets::loadImage", "Cnt#: ", 2201, "Sum(ms)", 165432, "Avg", 75, "SAvg", 0, "Min", 0, "Max", 1497, "Last", 41, "Var(avg,us)", 143916, "VMax(ms)", 1478, "Parent", "" ], [ "StarApplicationBase::run.innerLoop", "Cnt#: ", 2773, "Sum(ms)", 99979, "Avg", 36, "SAvg", 15, "Min", 15, "Max", 3052, "Last", 25, "Var(avg,us)", 244077, "VMax(ms)", 3037, "Parent", "" ], [ "Assets::loadVariant", "Cnt#: ", 3166, "Sum(ms)", 73931, "Avg", 23, "SAvg", 0, "Min", 0, "Max", 2124, "Last", 20, "Var(avg,us)", 22447.3, "VMax(ms)", 2120, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsSwapBuffers", "Cnt#: ", 2772, "Sum(ms)", 62039, "Avg", 22, "SAvg", 0, "Min", 0, "Max", 45, "Last", 30, "Var(avg,us)", 22737, "VMax(ms)", 45, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.sleeping", "Cnt#: ", 8957, "Sum(ms)", 34166, "Avg", 3, "SAvg", 1, "Min", 1, "Max", 12, "Last", 12, "Var(avg,us)", 2814.45, "VMax(ms)", 11, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.preSleeping", "Cnt#: ", 2541, "Sum(ms)", 27726, "Avg", 10, "SAvg", 1, "Min", 1, "Max", 13, "Last", 12, "Var(avg,us)", 8809.52, "VMax(ms)", 12, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.postSleeping", "Cnt#: ", 6416, "Sum(ms)", 6441, "Avg", 1, "SAvg", 1, "Min", 1, "Max", 3, "Last", 1, "Var(avg,us)", 3.89651, "VMax(ms)", 2, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.render", "Cnt#: ", 2772, "Sum(ms)", 2583, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2183, "Last", 0, "Var(avg,us)", 168588, "VMax(ms)", 2183, "Parent", "" ], [ "ClientApplication::render", "Cnt#: ", 2772, "Sum(ms)", 2579, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2183, "Last", 0, "Var(avg,us)", 168586, "VMax(ms)", 2183, "Parent", "" ], [ "Cinematic::render", "Cnt#: ", 2772, "Sum(ms)", 2261, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2172, "Last", 0, "Var(avg,us)", 167680, "VMax(ms)", 2172, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.renderPost", "Cnt#: ", 2772, "Sum(ms)", 1085, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 768, "Last", 0, "Var(avg,us)", 49444.4, "VMax(ms)", 768, "Parent", "" ], [ "Assets::loadAudio", "Cnt#: ", 1, "Sum(ms)", 928, "Avg", 928, "SAvg", 928, "Min", 928, "Max", 928, "Last", 928, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "Assets::loadFont", "Cnt#: ", 1, "Sum(ms)", 102, "Avg", 102, "SAvg", 102, "Min", 102, "Max", 102, "Last", 102, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.SDL_PollEvent", "Cnt#: ", 5794, "Sum(ms)", 65, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 47, "Last", 4, "Var(avg,us)", 196.41, "VMax(ms)", 46, "Parent", "" ], [ "ClientApplication::renderInit", "Cnt#: ", 2, "Sum(ms)", 19, "Avg", 9, "SAvg", 8, "Min", 8, "Max", 11, "Last", 11, "Var(avg,us)", 1500, "VMax(ms)", 3, "Parent", "" ], [ "Assets::postProcessAudio", "Cnt#: ", 1, "Sum(ms)", 13, "Avg", 13, "SAvg", 13, "Min", 13, "Max", 13, "Last", 13, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.update", "Cnt#: ", 5794, "Sum(ms)", 2, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.345185, "VMax(ms)", 1, "Parent", "" ], [ "ClientApplication::update", "Cnt#: ", 5794, "Sum(ms)", 2, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.345185, "VMax(ms)", 1, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsFinish", "Cnt#: ", 2772, "Sum(ms)", 2, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.721501, "VMax(ms)", 1, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsClear", "Cnt#: ", 2771, "Sum(ms)", 2, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.721761, "VMax(ms)", 1, "Parent", "" ], [ "Cinematic::update", "Cnt#: ", 5794, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.172592, "VMax(ms)", 1, "Parent", "" ], [ "ClientApplication::updateSplash", "Cnt#: ", 5794, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.172592, "VMax(ms)", 1, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsStart", "Cnt#: ", 2772, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::processInput", "Cnt#: ", 9, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::renderDestroy", "Cnt#: ", 2, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ] ]
    Warn: Missing inventoryIcon for chestplant1, using default
    Warn: Missing inventoryIcon for barvent, using default
    Warn: Missing inventoryIcon for wreckvent, using default
    Error: Could not instantiate item '[powpow, 1, {}]'. MapException: Key 'power' not found in Map::get()
      00639979 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarMap.hpp:13)
      ... (4)
      005EBD7A (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRecipeDatabase.cpp:33)
      005EC09C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRecipeDatabase.cpp:86)
      005EC2C2 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarList.hpp:210)
      00509A97 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:209)
      004013E8 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:306)
      009A3852 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
      74EA336A kernel32.dll
      77159F72 ntdll.dll
      77159F45 ntdll.dll
    
    Error: Could not instantiate item '[powpow, 1, {}]'. MapException: Key 'power' not found in Map::get()
      00639979 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarMap.hpp:13)
      ... (4)
      005B1B4B (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarItemDatabase.cpp:219)
      00509A97 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:209)
      004013E8 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:306)
      009A3852 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
      74EA336A kernel32.dll
      77159F72 ntdll.dll
      77159F45 ntdll.dll
    
    Error: Could not instantiate item '[powpow, 1, {}]'. MapException: Key 'power' not found in Map::get()
      00639979 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarMap.hpp:13)
      ... (4)
      005B2291 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarItemDatabase.cpp:249)
      00509A97 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:209)
      004013E8 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:306)
      009A3852 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
      74EA336A kernel32.dll
      77159F72 ntdll.dll
      77159F45 ntdll.dll
    
    Warn: Slow asset 1.436 : /recipes/biomes/eyes/eyehead.recipe
    Warn: Slow asset 1.407 : /recipes/biomes/flesh/fleshchair.recipe
    Warn: Slow asset 1.405 : /items/armors/apex/apex-tier5/apextier5.chest
    
    If you cant help me, could you give me a working gun tutorial please?
     
  2. HalcyonXIII

    HalcyonXIII Big Damn Hero

    You haven't defined a "power" in your *.gun projectile object:
    Code:
    ...
      "projectile" : {
      "power" : 25,
      "speed" : 50
      },
    ...
    
     
    romatschka likes this.
  3. romatschka

    romatschka Orbital Explorer

    Ok its working :love: :love: :love:, but the gun isnt shooting lol.

    Here is the .gun :

    Code:
    {
      "itemName" : "powpow",
      "inventoryIcon" : "powicon.png",
      "dropCollision" : [-8.0, -3.0, 8.0, 3.0],
      "shortdescription" : "My New Gun",
      "description" : "I like my new gun!",
      "maxStack" : 1,
      "level" : 1,
      "rarity" : "Rare",
      "inspectionKind" : "gun",
      "image" : "powpow.png",
      "recoilTime" : 0.1,
      "handPosition" : [-5.5, -3],
      "firePosition" : [12, 3],
    
      "fireTime" : 0.5,
      "twoHanded" : true,
    
      "projectileType" : "bullet-1",
      "projectile" : {
    
        "color" : [10, 255, 10],
        "power" : 25,
        "speed" : 50
      },
    
      "muzzleEffect" : {
        "animation" : "/animations/muzzleflash/bulletmuzzle3/bulletmuzzle3.animation",
        "fireSound" : [ { "file" : "/sfx/gun/pistol2.wav" } ]
      }
    }
    
    I think i just forgot something, right?
     
  4. HalcyonXIII

    HalcyonXIII Big Damn Hero

    I can't see any mistakes. Are there any errors in the starbound.log?
     
    romatschka likes this.
  5. romatschka

    romatschka Orbital Explorer

    Lets seeeee :

    Code:
    Info: Preparing Star::Root...
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Furious Koala' '635'
    Info: Running from : D:\Starbound\win32\starbound.exe
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    Info: Loading Star::Root...
    Info: Initializing SDL Window
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Not loading ImageMetadataDatabase from file '..\image.cache', digest mismatch or assets not digestable
    Info: Created initial window 944x1007
    Info: Initializing SDL Window
    Info: Re-created window 1920x1018
    Warn: Missing inventoryIcon for chestplant1, using default
    Warn: Missing inventoryIcon for barvent, using default
    Warn: Missing inventoryIcon for wreckvent, using default
    Info: Done loading Star::Root.
    Info: Writing Star::Configuration to '..\starbound.config'
    Info: UniverseServer: Creating world alpha:6683968:6151260:-17685236:11:5
    Info: Generating 1 dungeons
    Info: Generating a dungeon
    Info: Placing dungeon at (3014, 658)
    Warn: Perf: DungeonDefinition::buildDungeon millis: 1781
    Warn: Perf: DungeonGenerator::generate millis: 1785
    Warn: Perf: UniverseServer::createWorld millis: 4544
    Info: UniverseServer: client connection made from local
    Info: UniverseServer: Sending Handshake Challenge
    Info: UniverseClient: Sending Handshake Repsonse
    Info: UniverseServer: Loading ship world received from client <1> <User: Robi>
    Warn: Recovering SimpleDatabase at device: <unnamed temp file>
    Warn: Recovery finished
    Info: UniverseServer: Loading world db for world alpha:20995065:-3324842:-23786226:4
    Warn: Perf: ClientApplication::update millis: 6042
    Warn: Perf: StarApplicationBase::run.innerLoop.update millis: 6042
    Warn: Perf: StarApplicationBase::run.innerLoop millis: 6201
    Info: UniverseServer: Client 'Robi' <1> (Fifo <0x49961b40>) connected
    Warn: Perf: UniverseServer::handleQueuedConnections.one millis: 1527
    Warn: Perf: UniverseServer::handleQueuedConnections millis: 1527
    Warn: Perf: UniverseServer::run.innerloop millis: 2450
    Info: UniverseServer: Shutting down world alpha:6683968:6151260:-17685236:11:5 due to inactivity
    Info: UniverseServer: Shutting down world alpha:20995065:-3324842:-23786226:4 due to inactivity
    Info: UniverseServer: Loading world db for world alpha:20995065:-3324842:-23786226:4
    Info: Client received world stop packet, leaving: Removed
    Info: UniverseClient: Client disconnecting...
    Info: UniverseServer: Shutting down ship world for client 'Robi' <1> (Fifo <0x49961b40>)
    Info: Client received world stop packet, leaving: Removed
    Info: NetSocket read loop shut down: Fifo::read called on closed Fifo
    Info: NetSocket read loop shut down: Fifo::read called on closed Fifo
    Info: UniverseServer: Client 'Robi' <1> (Fifo <0x49961b40>) disconnected
    Info: UniverseServer: Reaping client 'Robi' <1> (Fifo <0x49961b40>) connection
    Info: Application quitting!
    Info: [ [ "WorldServerThread::run.sleeping", "Cnt#: ", 10476, "Sum(ms)", 162348, "Avg", 15, "SAvg", 1, "Min", 1, "Max", 92, "Last", 13, "Var(avg,us)", 14482.2, "VMax(ms)", 91, "Parent", "" ], [ "StarApplicationBase::run.innerLoop", "Cnt#: ", 4396, "Sum(ms)", 103224, "Avg", 23, "SAvg", 17, "Min", 15, "Max", 6201, "Last", 517, "Var(avg,us)", 8585.08, "VMax(ms)", 6186, "Parent", "" ], [ "UniverseServer::run.innerloop", "Cnt#: ", 825, "Sum(ms)", 85375, "Avg", 103, "SAvg", 99, "Min", 2, "Max", 2450, "Last", 218, "Var(avg,us)", 616259, "VMax(ms)", 2350, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsSwapBuffers", "Cnt#: ", 4392, "Sum(ms)", 37018, "Avg", 8, "SAvg", 0, "Min", 0, "Max", 24, "Last", 19, "Var(avg,us)", 8418.26, "VMax(ms)", 24, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.sleeping", "Cnt#: ", 14687, "Sum(ms)", 29593, "Avg", 2, "SAvg", 1, "Min", 1, "Max", 12, "Last", 6, "Var(avg,us)", 1014.91, "VMax(ms)", 11, "Parent", "" ], [ "WorldServerThread::update", "Cnt#: ", 11063, "Sum(ms)", 21976, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 579, "Last", 5, "Var(avg,us)", 1984.54, "VMax(ms)", 579, "Parent", "" ], [ "WorldServerThread::update.worldUpdate", "Cnt#: ", 11064, "Sum(ms)", 21924, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 579, "Last", 5, "Var(avg,us)", 1980.93, "VMax(ms)", 579, "Parent", "" ], [ "WorldServer::update", "Cnt#: ", 11057, "Sum(ms)", 21056, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 143, "Last", 5, "Var(avg,us)", 1903.86, "VMax(ms)", 143, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.render", "Cnt#: ", 4401, "Sum(ms)", 20072, "Avg", 4, "SAvg", 1, "Min", 0, "Max", 977, "Last", 9, "Var(avg,us)", 3766.19, "VMax(ms)", 977, "Parent", "" ], [ "ClientApplication::render", "Cnt#: ", 4397, "Sum(ms)", 20050, "Avg", 4, "SAvg", 1, "Min", 0, "Max", 977, "Last", 9, "Var(avg,us)", 3765.98, "VMax(ms)", 977, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.preSleeping", "Cnt#: ", 3475, "Sum(ms)", 18338, "Avg", 5, "SAvg", 1, "Min", 1, "Max", 12, "Last", 6, "Var(avg,us)", 3572.95, "VMax(ms)", 9, "Parent", "" ], [ "ClientApplication::update", "Cnt#: ", 5636, "Sum(ms)", 15470, "Avg", 2, "SAvg", 0, "Min", 0, "Max", 6042, "Last", 3, "Var(avg,us)", 2311.39, "VMax(ms)", 6042, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.update", "Cnt#: ", 5630, "Sum(ms)", 15459, "Avg", 2, "SAvg", 0, "Min", 0, "Max", 6042, "Last", 3, "Var(avg,us)", 2312.79, "VMax(ms)", 6042, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.postSleeping", "Cnt#: ", 11218, "Sum(ms)", 11267, "Avg", 1, "SAvg", 1, "Min", 1, "Max", 3, "Last", 1, "Var(avg,us)", 4.36798, "VMax(ms)", 2, "Parent", "" ], [ "ClientApplication::updateRunning", "Cnt#: ", 4959, "Sum(ms)", 8853, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 224, "Last", 3, "Var(avg,us)", 2511.19, "VMax(ms)", 223, "Parent", "" ], [ "WorldStorage::update", "Cnt#: ", 2765, "Sum(ms)", 8102, "Avg", 2, "SAvg", 0, "Min", 0, "Max", 76, "Last", 0, "Var(avg,us)", 2964.56, "VMax(ms)", 76, "Parent", "" ], [ "Assets::loadImage", "Cnt#: ", 8758, "Sum(ms)", 7924, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 159, "Last", 1, "Var(avg,us)", 904.773, "VMax(ms)", 159, "Parent", "" ], [ "UniverseClient::update", "Cnt#: ", 4963, "Sum(ms)", 7842, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 224, "Last", 3, "Var(avg,us)", 2741.69, "VMax(ms)", 223, "Parent", "" ], [ "WorldClient::updateLighting", "Cnt#: ", 3750, "Sum(ms)", 7536, "Avg", 2, "SAvg", 1, "Min", 1, "Max", 8, "Last", 4, "Var(avg,us)", 1005.87, "VMax(ms)", 7, "Parent", "" ], [ "WorldPainter::render", "Cnt#: ", 3753, "Sum(ms)", 7494, "Avg", 1, "SAvg", 1, "Min", 1, "Max", 257, "Last", 4, "Var(avg,us)", 1038.64, "VMax(ms)", 233, "Parent", "" ], [ "WorldClient::update", "Cnt#: ", 4956, "Sum(ms)", 7195, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 224, "Last", 3, "Var(avg,us)", 2451.37, "VMax(ms)", 223, "Parent", "" ], [ "WorldGenerator::prepareTiles", "Cnt#: ", 352, "Sum(ms)", 7008, "Avg", 19, "SAvg", 14, "Min", 14, "Max", 45, "Last", 19, "Var(avg,us)", 5863.64, "VMax(ms)", 31, "Parent", "" ], [ "Assets::loadBaseImage", "Cnt#: ", 7810, "Sum(ms)", 6518, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 126, "Last", 1, "Var(avg,us)", 834.571, "VMax(ms)", 126, "Parent", "" ], [ "UniverseServer::createWorld", "Cnt#: ", 3, "Sum(ms)", 5951, "Avg", 1983, "SAvg", 4513, "Min", 130, "Max", 4544, "Last", 130, "Var(avg,us)", 2.556e+006, "VMax(ms)", 4401, "Parent", "" ], [ "Monster::tickMaster", "Cnt#: ", 41611, "Sum(ms)", 3507, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 3, "Last", 1, "Var(avg,us)", 84.2806, "VMax(ms)", 3, "Parent", "" ], [ "Assets::loadVariant", "Cnt#: ", 10443, "Sum(ms)", 3301, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 142, "Last", 0, "Var(avg,us)", 316.097, "VMax(ms)", 142, "Parent", "" ], [ "Npc::tickMaster", "Cnt#: ", 61095, "Sum(ms)", 3298, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 6, "Last", 0, "Var(avg,us)", 53.9815, "VMax(ms)", 6, "Parent", "" ], [ "DungeonGenerator::generate", "Cnt#: ", 1, "Sum(ms)", 1785, "Avg", 1785, "SAvg", 1785, "Min", 1785, "Max", 1785, "Last", 1785, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "DungeonDefinition::buildDungeon", "Cnt#: ", 4, "Sum(ms)", 1784, "Avg", 446, "SAvg", 1760, "Min", 1, "Max", 1781, "Last", 1, "Var(avg,us)", 1.32975e+006, "VMax(ms)", 1780, "Parent", "" ], [ "UniverseServer::handleQueuedConnections", "Cnt#: ", 824, "Sum(ms)", 1527, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 1527, "Last", 0, "Var(avg,us)", 377200, "VMax(ms)", 1527, "Parent", "" ], [ "UniverseServer::handleQueuedConnections.one", "Cnt#: ", 1, "Sum(ms)", 1527, "Avg", 1527, "SAvg", 1527, "Min", 1527, "Max", 1527, "Last", 1527, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "WorldGenerator::prepareSector", "Cnt#: ", 161, "Sum(ms)", 1330, "Avg", 8, "SAvg", 0, "Min", 0, "Max", 59, "Last", 21, "Var(avg,us)", 14764, "VMax(ms)", 57, "Parent", "" ], [ "Player::tickMaster", "Cnt#: ", 4960, "Sum(ms)", 1266, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2, "Last", 0, "Var(avg,us)", 255.242, "VMax(ms)", 2, "Parent", "" ], [ "ClientApplication::renderInit", "Cnt#: ", 4, "Sum(ms)", 1188, "Avg", 297, "SAvg", 11, "Min", 7, "Max", 1141, "Last", 1141, "Var(avg,us)", 290000, "VMax(ms)", 1134, "Parent", "" ], [ "UniverseServer::doTriggeredStorage", "Cnt#: ", 826, "Sum(ms)", 955, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 822, "Last", 0, "Var(avg,us)", 178534, "VMax(ms)", 822, "Parent", "" ], [ "Object::tickMaster", "Cnt#: ", 1.08282e+006, "Sum(ms)", 907, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.83763, "VMax(ms)", 1, "Parent", "" ], [ "Assets::loadAudio", "Cnt#: ", 24, "Sum(ms)", 875, "Avg", 36, "SAvg", 0, "Min", 0, "Max", 222, "Last", 0, "Var(avg,us)", 36375, "VMax(ms)", 222, "Parent", "" ], [ "WorldServerThread::sync", "Cnt#: ", 3, "Sum(ms)", 812, "Avg", 270, "SAvg", 626, "Min", 78, "Max", 632, "Last", 102, "Var(avg,us)", 360333, "VMax(ms)", 554, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.SDL_PollEvent", "Cnt#: ", 5627, "Sum(ms)", 666, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 243, "Last", 119, "Var(avg,us)", 263.373, "VMax(ms)", 243, "Parent", "" ], [ "MainInterface::update", "Cnt#: ", 4957, "Sum(ms)", 614, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 20, "Last", 0, "Var(avg,us)", 123.865, "VMax(ms)", 20, "Parent", "" ], [ "Object::tickClient", "Cnt#: ", 304699, "Sum(ms)", 487, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2, "Last", 0, "Var(avg,us)", 1.5983, "VMax(ms)", 2, "Parent", "" ], [ "LivingWorldAgent::update", "Cnt#: ", 2769, "Sum(ms)", 453, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 5, "Last", 0, "Var(avg,us)", 165.764, "VMax(ms)", 5, "Parent", "" ], [ "ClientApplication::processInput", "Cnt#: ", 1469, "Sum(ms)", 438, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 243, "Last", 0, "Var(avg,us)", 298.162, "VMax(ms)", 243, "Parent", "" ], [ "Spawner::update", "Cnt#: ", 11054, "Sum(ms)", 390, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 141, "Last", 0, "Var(avg,us)", 35.2813, "VMax(ms)", 141, "Parent", "" ], [ "WorldPainter::updateLighting", "Cnt#: ", 3754, "Sum(ms)", 260, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 69.2595, "VMax(ms)", 1, "Parent", "" ], [ "UniverseServer::shutdownInactiveWorlds", "Cnt#: ", 823, "Sum(ms)", 249, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 222, "Last", 0, "Var(avg,us)", 302.552, "VMax(ms)", 222, "Parent", "" ], [ "Monster::tickSlave", "Cnt#: ", 6466, "Sum(ms)", 241, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 37.2719, "VMax(ms)", 1, "Parent", "" ], [ "WorldServerThread::readFullWorld", "Cnt#: ", 4, "Sum(ms)", 207, "Avg", 51, "SAvg", 58, "Min", 29, "Max", 61, "Last", 58, "Var(avg,us)", 8000, "VMax(ms)", 30, "Parent", "" ], [ "Assets::loadBytes", "Cnt#: ", 60, "Sum(ms)", 183, "Avg", 3, "SAvg", 0, "Min", 0, "Max", 21, "Last", 0, "Var(avg,us)", 4116.67, "VMax(ms)", 20, "Parent", "" ], [ "WorldGenerator::generateMicroDungeons", "Cnt#: ", 81, "Sum(ms)", 134, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 16, "Last", 1, "Var(avg,us)", 1654.32, "VMax(ms)", 16, "Parent", "" ], [ "UniverseServer::handleQueuedWarps", "Cnt#: ", 821, "Sum(ms)", 133, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 133, "Last", 0, "Var(avg,us)", 161.998, "VMax(ms)", 133, "Parent", "" ], [ "UniverseServer::handleQueuedDisconnections", "Cnt#: ", 827, "Sum(ms)", 113, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 113, "Last", 113, "Var(avg,us)", 136.638, "VMax(ms)", 113, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.renderPost", "Cnt#: ", 4395, "Sum(ms)", 109, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 4, "Last", 0, "Var(avg,us)", 24.8009, "VMax(ms)", 4, "Parent", "" ], [ "ClientApplication::updateTitle", "Cnt#: ", 431, "Sum(ms)", 104, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 103, "Last", 0, "Var(avg,us)", 12424.6, "VMax(ms)", 102, "Parent", "" ], [ "WorldClient::queueUpdatePackets", "Cnt#: ", 4961, "Sum(ms)", 97, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 19.5525, "VMax(ms)", 1, "Parent", "" ], [ "Assets::loadFont", "Cnt#: ", 2, "Sum(ms)", 86, "Avg", 43, "SAvg", 85, "Min", 0, "Max", 86, "Last", 0, "Var(avg,us)", 43000, "VMax(ms)", 86, "Parent", "" ], [ "WorldPainter::updateLighting.setColorMap", "Cnt#: ", 3753, "Sum(ms)", 29, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 7.72715, "VMax(ms)", 1, "Parent", "" ], [ "ItemDrop::tickMaster", "Cnt#: ", 2396, "Sum(ms)", 28, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 11.6861, "VMax(ms)", 1, "Parent", "" ], [ "Renderer::setColorMap", "Cnt#: ", 3748, "Sum(ms)", 26, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 6.93703, "VMax(ms)", 1, "Parent", "" ], [ "WorldServerThread::update.clientsIncomingPackets", "Cnt#: ", 11029, "Sum(ms)", 24, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 14, "Last", 0, "Var(avg,us)", 2.17608, "VMax(ms)", 14, "Parent", "" ], [ "Player::tickSlave", "Cnt#: ", 5032, "Sum(ms)", 19, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 1, "Var(avg,us)", 3.77583, "VMax(ms)", 1, "Parent", "" ], [ "WorldPainter::renderNametags", "Cnt#: ", 3747, "Sum(ms)", 18, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 5, "Last", 0, "Var(avg,us)", 7.47264, "VMax(ms)", 5, "Parent", "" ], [ "WorldPainter::renderParticles", "Cnt#: ", 11246, "Sum(ms)", 14, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 5, "Last", 0, "Var(avg,us)", 1.24489, "VMax(ms)", 5, "Parent", "" ], [ "Cinematic::render", "Cnt#: ", 4401, "Sum(ms)", 12, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 3, "Last", 0, "Var(avg,us)", 3.40832, "VMax(ms)", 3, "Parent", "" ], [ "ClientApplication::renderDestroy", "Cnt#: ", 4, "Sum(ms)", 10, "Avg", 2, "SAvg", 0, "Min", 0, "Max", 7, "Last", 3, "Var(avg,us)", 2500, "VMax(ms)", 7, "Parent", "" ], [ "WorldServerThread::addClient", "Cnt#: ", 2, "Sum(ms)", 10, "Avg", 5, "SAvg", 6, "Min", 3, "Max", 7, "Last", 3, "Var(avg,us)", 2000, "VMax(ms)", 4, "Parent", "" ], [ "UniverseServer::handleQueuedConnection.handshake.waitforresponse", "Cnt#: ", 1, "Sum(ms)", 10, "Avg", 10, "SAvg", 10, "Min", 10, "Max", 10, "Last", 10, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "UniverseServer::handleQueuedConnection.handshake", "Cnt#: ", 1, "Sum(ms)", 10, "Avg", 10, "SAvg", 10, "Min", 10, "Max", 10, "Last", 10, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsClear", "Cnt#: ", 4400, "Sum(ms)", 8, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 1.81818, "VMax(ms)", 1, "Parent", "" ], [ "Assets::postProcessAudio", "Cnt#: ", 8, "Sum(ms)", 8, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 4, "Last", 1, "Var(avg,us)", 1000, "VMax(ms)", 3, "Parent", "" ], [ "WorldServerThread::update.clientsOutgoingPackets", "Cnt#: ", 11061, "Sum(ms)", 7, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2, "Last", 0, "Var(avg,us)", 0.632854, "VMax(ms)", 2, "Parent", "" ], [ "WorldGenerator::convertBiomeMetaMaterials", "Cnt#: ", 161, "Sum(ms)", 7, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 43.4783, "VMax(ms)", 1, "Parent", "" ], [ "Audio::parseWav", "Cnt#: ", 17, "Sum(ms)", 4, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2, "Last", 0, "Var(avg,us)", 235.294, "VMax(ms)", 2, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsFinish", "Cnt#: ", 4395, "Sum(ms)", 3, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.682594, "VMax(ms)", 1, "Parent", "" ], [ "ChatBubbleManager::render", "Cnt#: ", 3749, "Sum(ms)", 2, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.533476, "VMax(ms)", 1, "Parent", "" ], [ "UniverseServer::sendContextUpdates", "Cnt#: ", 825, "Sum(ms)", 2, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 2.42424, "VMax(ms)", 1, "Parent", "" ], [ "WorldGenerator::dirtyCollisionCache", "Cnt#: ", 161, "Sum(ms)", 2, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 12.4224, "VMax(ms)", 1, "Parent", "" ], [ "WorldServerThread::removeClient", "Cnt#: ", 2, "Sum(ms)", 2, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 2, "Last", 2, "Var(avg,us)", 1000, "VMax(ms)", 2, "Parent", "" ], [ "Cinematic::update", "Cnt#: ", 10589, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.0944376, "VMax(ms)", 1, "Parent", "" ], [ "ChatBubbleManager::update", "Cnt#: ", 4948, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.202102, "VMax(ms)", 1, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsStart", "Cnt#: ", 4402, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 0.227169, "VMax(ms)", 1, "Parent", "" ], [ "Projectile::tickMaster", "Cnt#: ", 269, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 3.71747, "VMax(ms)", 1, "Parent", "" ], [ "ClientApplication::updateSplash", "Cnt#: ", 240, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 4.16667, "VMax(ms)", 1, "Parent", "" ], [ "WorldServerThread::clients", "Cnt#: ", 956, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "UniverseServer::sendClockUpdates", "Cnt#: ", 830, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "UniverseServer::sendPendingChat", "Cnt#: ", 825, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "UniverseServer::updatePvpTeams", "Cnt#: ", 825, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.glClear", "Cnt#: ", 0 ], [ "NPC::update", "Cnt#: ", 0 ], [ "StarApplicationBase::run.innerLoop.SDL_GL_SwapBuffers", "Cnt#: ", 0 ], [ "WorldServer::Generator::generateTiles", "Cnt#: ", 0 ], [ "Assets::process", "Cnt#: ", 0 ], [ "ColorMapQuadRenderer::setColorMap", "Cnt#: ", 0 ], [ "WorldServer::Generator::generateEntities", "Cnt#: ", 0 ], [ "", "Cnt#: ", 0 ], [ "Assets::image", "Cnt#: ", 0 ], [ "UniverseServer::WorldThread::run.innerLoop.update", "Cnt#: ", 0 ], [ "Assets::getImage", "Cnt#: ", 0 ], [ "WorldRenderer::renderParticles", "Cnt#: ", 0 ], [ "WorldRenderer::updateLightMap", "Cnt#: ", 0 ], [ "MuzzleFlashEffect::update", "Cnt#: ", 0 ], [ "FlowingWaterAgent::update", "Cnt#: ", 0 ], [ "WorldRenderer::updateLightMap.setColorMap", "Cnt#: ", 0 ], [ "NPCSpawner::step", "Cnt#: ", 0 ], [ "Object::update", "Cnt#: ", 0 ], [ "Projectile::update", "Cnt#: ", 0 ], [ "DungeonGenerator::generateNearZero", "Cnt#: ", 0 ], [ "UniverseServer::WorldThread::run.innerLoop", "Cnt#: ", 0 ], [ "UniverseServer::WorldThread::run.innerLoop.clientsIncommingPackets", "Cnt#: ", 0 ], [ "UniverseServer::WorldThread::run.innerLoop.worldUpdate", "Cnt#: ", 0 ], [ "UniverseServer::WorldThread::run.innerLoop.clientsOutgoingPackets", "Cnt#: ", 0 ], [ "UniverseServer::WorldThread::run.innerLoop.sleeping", "Cnt#: ", 0 ], [ "Player::update", "Cnt#: ", 0 ], [ "WorldRenderer::render", "Cnt#: ", 0 ], [ "WorldRenderer::renderPerf", "Cnt#: ", 0 ], [ "Assets::loadFromDisk", "Cnt#: ", 0 ], [ "universe_time", "1299.23" ], [ "server_5755979396798287321_entities", "469" ], [ "server_5755979396798287321_sectors", "239" ], [ "server_5755979396798287321_planet", "alpha:6683968:6151260:-17685236:11:5" ], [ "server_5755979396798287321_world_time", "30.0567" ], [ "server_9883279460551300776_entities", "0" ], [ "server_9883279460551300776_sectors", "0" ], [ "server_9883279460551300776_planet", "null" ], [ "server_9883279460551300776_world_time", "84.3327" ], [ "server_135922221262130220_entities", "363" ], [ "server_135922221262130220_sectors", "88" ], [ "server_135922221262130220_planet", "alpha:20995065:-3324842:-23786226:4" ], [ "server_135922221262130220_world_time", "39.4727" ], [ "universe_time_client", "1299.09" ], [ "client_entities", "127" ], [ "client_sectors", "30" ], [ "client_incoming_bps", "2569.72" ], [ "client_outgoing_bps", "1171.66" ], [ "client_worst_incoming", "41:1260" ], [ "client_worst_outgoing", "41:799" ], [ "render_fps", "30.0633" ], [ "update_rate", "59.7589" ], [ "player_pos", "5968.59 1275.67" ], [ "player_vel", "-0.00 -0.43" ], [ "player_aim", "5994.17 1293.92" ], [ "version", "Beta v. Furious Koala" ] ]
    Info: Shutting down Star::Root
    
    
    Ehhhhh ....... its ...... too much for me :rofl:

    Do i have to put the projectile in my mod folder?
     
  6. HalcyonXIII

    HalcyonXIII Big Damn Hero

    No, 'bullet-1' is one of Starbound's default assets, so your mod will be able to find it.

    There aren't any errors relating to your mod in the log. Was this log created during a session where you tried to fire your gun?
     
    romatschka likes this.
  7. romatschka

    romatschka Orbital Explorer

    yeeeeep

    Its not crashing or something, its just not shooting :rofl:
     
  8. romatschka

    romatschka Orbital Explorer

    OHHHHHHHHHHHHHHH I HAVE THE SOLUTION (sry for caps )
    I dont have enough energy :rofl:

    Thanx alot, Liked all your posts. ^^
     
    HalcyonXIII likes this.
  9. Archer

    Archer Spaceman Spiff

    Was about to post that, as I've had it a few times as well :p

    Was scratching my head too till I put on some uberhelmet and was suddenly able to fire my stuff.

    They should add some sorta sound effect if you don't have enough energy :D
     
  10. romatschka

    romatschka Orbital Explorer

    They? :rofl: What do you mean wtih they? ;D We are a MODDING community ^^.
     
  11. Archer

    Archer Spaceman Spiff

    You have a point there, perhaps we can find out a way, though I'm pretty sure it will be quite a bit harder : P
     
  12. romatschka

    romatschka Orbital Explorer

    Yep :rofl:

    Another question. As i am making a minigun i need a random "firePosition" . Is it possible?
    And: How can i add accuracity ?
     
  13. HalcyonXIII

    HalcyonXIII Big Damn Hero

    I completely forgot about the energy cost. I always set my gun's level to 10 so I don't have to worry about it depleting my reserves whilst I'm testing it.
     
    romatschka likes this.
  14. Archer

    Archer Spaceman Spiff

    Why would you want a random fire position? Or you mean different from how it is now?

    For accuracy:
    Code:
    "accuracy" : 100,
    Play with that :p

    EDIT: I think I understand your question, but I'm not so sure how you can do that.

    Try 2 things maybe:
    Code:
      "firePosition" : [1, 3],
    
    OR
    
      "firePosition" : rand(5),
    I'm pretty sure neither work, but oh well, worth trying!
     
    Last edited: Jan 29, 2014
    romatschka likes this.
  15. romatschka

    romatschka Orbital Explorer

    No problem, I found it out in 7 minutes :rofl:.
     
  16. romatschka

    romatschka Orbital Explorer

    I think a minigun has got over 3 barrels. So it would look wrong if the bullets come out at 1 place.

    Yeeeeeey thx.
     
  17. Archer

    Archer Spaceman Spiff

    Try out that second thingy I posted, I'm curious whether it works or not :p
    Code:
      "firePosition" : [1, 3],
    
    OR
    
      "firePosition" : rand(5),
     
  18. romatschka

    romatschka Orbital Explorer

    Ok ill try that. In an other file i seen this : *code* = [*code*] [*code*] could that be random?
     
  19. Archer

    Archer Spaceman Spiff

    It doesn't sound like it, so I'm not sure.

    I wonder if there are any weapons in the game that use random variables, besides for generation (the square brackets are actually being used for that).
     
  20. romatschka

    romatschka Orbital Explorer

    First I have to understand the coord sys :rofl: (i know how it works, but i need to look at it)
    Ill post an answer in 15 min ^^
     

Share This Page