Jump to content

JayNic

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by JayNic

  1. oooh I see... I thought I could execute a script. Thanks
  2. oh... also... How do I use the "/run" command in game? say I wanted to run this script - would it be: /run "entity/jaynic_test.lua" or /run "scripts/entity/jaynic_test.lua" do I need quotes? What's the path etc... Thanks..
  3. Hey all, I'd like to get started on some modding - but I'm having trouble right out of the gate. I've got lua documentation, I've got the api documentation, and I've seen this page on the wiki: http://avorion.gamepedia.com/Modding and http://avorion.gamepedia.com/Entity_scripts Is there a hello world tutorial out there somewhere? I'm attempting to just get a simple chat message to pop up. So far I have: -- file scripts\entity\jaynic_test.lua package.path = package.path .. ";/data/scripts/lib/?.lua" require ("stringutility") -- init function fired after all functions registered function initialize() displayChatMessage("This is a message", "SenderMonkey",3) end and I've added the script to be fired via the "defaultscripts.lua" in scripts\lib -- file \scripts\lib\defaultscripts.lua function AddDefaultShipScripts(ship) ship:addScriptOnce("data/scripts/entity/startbuilding.lua") ship:addScriptOnce("data/scripts/entity/entercraft.lua") ship:addScriptOnce("data/scripts/entity/exitcraft.lua") ship:addScriptOnce("data/scripts/entity/craftorders.lua") ship:addScriptOnce("data/scripts/entity/transfercrewgoods.lua") ship:addScriptOnce("data/scripts/entity/collaboration.lua") ship:addScriptOnce("data/scripts/entity/jaynic_test.lua") end function AddDefaultStationScripts(station) station:addScriptOnce("data/scripts/entity/startbuilding.lua") station:addScriptOnce("data/scripts/entity/entercraft.lua") station:addScriptOnce("data/scripts/entity/exitcraft.lua") station:addScriptOnce("data/scripts/entity/crewboard.lua") station:addScriptOnce("data/scripts/entity/backup.lua") station:addScriptOnce("data/scripts/entity/bulletinboard.lua") station:addScriptOnce("data/scripts/entity/story/bulletins.lua") station:addScriptOnce("data/scripts/entity/craftorders.lua") station:addScriptOnce("data/scripts/entity/transfercrewgoods.lua") station:addScriptOnce("data/scripts/entity/collaboration.lua") end But no message is popping up. Any help would be great On a related note: can I reccomend a sub forum for "modding help" - maybe even separate mod releases / requests? Just a thought
  4. Love this idea! I'm sorry, I'm a bit noob with the game, and haven't found the documentation on how to install these... When you say it has to be on the client and the server - what does that mean / where do I need to put them? I've dumped them where you mentioned, but I don't see the button. Sorry for the noob question, and feel free to point me to the documentation I've missed (if it exists yet)
  5. I was thinkign the same thing, drew. But when I look in the roaming/avorion/galaxies/myGalaxy/sectors - there are two files per sector coordinate, one is readable as xml, but has no information in it regarding prices. The other is not readable.... Where did you find the pricing info?
  6. Yeah mine do that too - the best things you can do is make sure the mining ships are as small as possible, and put some minor plate armour on them. I basically do checks here and there to make sure they're not totally dead - then do some quick repairs in build mode.
  7. I can confirm this is happening for me as well - on Win7. And not with any level of activity in the sector. Even completely empty sectors. I have to hold the weapon group button down.
  8. I am getting some major stuttering with the latest patch. Last version yesterday was running smooth as silk. I've tried monkeying with graphics settings, but nothing helps. Anyone having the same issue? Any fixes - or do I wait for a patch? Thanks EDIT: Should have said: Steam Edition Beta 0.10.2 r7448 Windows 7 I7 477k OGL 4.5 16GB RAM Radeon R9 290x
×
×
  • Create New...