1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

RJ's Plugin/Development Collection

Discussion in 'Plugins' started by RJ, Feb 1, 2013.

  1. DeadiKation

    DeadiKation Clockwork Customer

    Only problem, is that when I placed values, it didn't seem to ever spawn em :v Got em going for 3-4 hours now, and nothing.
     
  2. Did you add item spawnpoints?
     
  3. RJ

    RJ no pay Legend Clockwork Customer

    I tested this myself and it works. You can edit sv_hooks.lua on line 28.

    Change this:
    Code:
    self.nextItemSpawn = curTime + math.random(3600, 7200);
    To this:
    Code:
    self.nextItemSpawn = curTime + math.random(1, 1);
    This will make it spawn a lot faster and so you'll be able to tell if it's working or not.
     
  4. What's an example of adding an item?
     
  5. RJ

    RJ no pay Legend Clockwork Customer

     
  6. diablo1675

    diablo1675 Guest

    Most apparantly, water melons make you jump higher and run longer. Hm. I gotta eat a Watermelon before PE.
     
  7. RJ

    RJ no pay Legend Clockwork Customer

    Don't question the power of watermelons.
     
  8. DeadiKation

    DeadiKation Clockwork Customer

    I did, but didn't put any 0s or 1s. I put everything either 0.2 or 0.7. That bad?
     
  9. RJ

    RJ no pay Legend Clockwork Customer

    No.
     
  10. New Vegas.

    Got any errors for it? If so post them here.
     
  11. Kezter

    Kezter Certified Old Fag

    As allways RJ awesome stuff!
     
  12. RJ

    RJ no pay Legend Clockwork Customer

    An item spawns every 2-3 hours at a random spawn point. I've tested it myself and it works.

    Thank you :)
     
  13. Kezter

    Kezter Certified Old Fag

    No problem :)
     
  14. Arbiter329

    Arbiter329 Owner of Arc-Factory Roleplay

    What Pink Glow?
     
  15. Kezter

    Kezter Certified Old Fag

    Ahh i know what you mean, Yeah i use to get that but it fixed its self over time xD
     
  16. RJ

    RJ no pay Legend Clockwork Customer

    I'm assuming you're using Phase Four? If so, then the gamemode does that by default. I don't know if any other gamemodes use outlines for the items though.
     
  17. For the item spawner, when you change the chance of spawning. Is the higher number means it has a higher chance of spawning when the time comes or out of every item added? Hard to ask the question and explain it.
     
  18. RJ

    RJ no pay Legend Clockwork Customer

    In a nutshell, yes. I tried making it so it first "rolls" a random number and selects every item within that chance of being spawned then it will "roll" another number to finally select the item. Sadly, I was only able to have it work for selecting a random item and then checking if it will spawn with the random number.

    Higher number = Higher chance of spawning.
    Lower number = Lower chance of spawning.

    In the future I'll hopefully get it to work with a better randomizer.
     
  19. RJ

    RJ no pay Legend Clockwork Customer

    All plugins updated for 0.87 and linux compatibility. Old versions are still available for the time being.
     
  20. kurozael

    kurozael Cloud Sixteen Director Staff Member Administrator Investor

    Sorry about the inconvenience Fixxer, just needed to neaten it up again. I'll try to reduce breaking changes from now on.
     

Previous Readers (Total: 0)