Create a free account to remove all ad content.

Author Topic: [Help Needed] Scripting in dig deep  (Read 10768 times)

0 Members and 2 Guests are viewing this topic.

Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Scripting in dig deep
« Reply #70 on: September 11, 2016, 05:18:56 AM »
Thanks:) It's good to be back! I will post them as soon as I can.
Focus determines reality...

Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Scripting in dig deep
« Reply #71 on: September 12, 2016, 02:39:27 AM »
So... - mob health magically started to work. No idea, but sweet! cctv still broken though. Tried to fix 1 of 2 easy ones. I will post them soon.
Focus determines reality...

Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Scripting in dig deep
« Reply #72 on: September 12, 2016, 06:12:24 AM »
The [O] is actually a bracketed zero, but it changes to a weird o on here.

cctv script 1 unadjusted;

CCTV [7,3031,484] [w] [0] [50]

cctv script 2 adjusted to account for swivel speed;

CCTV [281,3050,289] [w] [0] [25] [50]

Niether have the ability to swivel.
« Last Edit: September 12, 2016, 06:53:18 AM by Craig »
Focus determines reality...

Craig

  • Developer
  • Extreme Member
  • *
  • Posts: 6655
  • Dig Deep
    • View Profile
    • Twitter
  • Steam: tota1miner
Re: Scripting in dig deep
« Reply #73 on: September 12, 2016, 07:46:30 AM »
There is nothing wrong with your commands.

It appears swivel is bugged, and it appears there is no work around :\

CriminalDuck007

  • Member
  • *
  • Posts: 197
  • This is Personal... and its text ^~^
    • View Profile
  • Xbox: CriminalDuck007
  • PSN: N/A
  • Steam: N/A
Re: Scripting in dig deep
« Reply #74 on: September 12, 2016, 09:05:52 AM »
Move region made my dig deep map possible xD Already had over a million blocks placed and maybe 500k cleared from buildings alone. Imagine me clearing entire mountains by hand? Those poor sods.

Im currently in a situation on of my survival worlds, that involve clearing a mountain by hand.....takes a lot of tedious and repetitive work :P
There is a whole world out there do something with it...........or dont, but i think you should ^~^


Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Scripting in dig deep
« Reply #75 on: September 12, 2016, 07:54:52 PM »
There is nothing wrong with your commands.

It appears swivel is bugged, and it appears there is no work around :\
That's unfortunate, but not a biggie. At least - health scripts aren't bugged.
Move region made my dig deep map possible xD Already had over a million blocks placed and maybe 500k cleared from buildings alone. Imagine me clearing entire mountains by hand? Those poor sods.

Im currently in a situation on of my survival worlds, that involve clearing a mountain by hand.....takes a lot of tedious and repetitive work :P
I believe you could use a clear region script for that. But you would lose the blocks.
Focus determines reality...

Lord Leo

  • Legendary Member
  • *
  • Posts: 1187
  • Aka Cat
    • View Profile
  • Xbox: Circle cat113
Re: Scripting in dig deep
« Reply #76 on: September 12, 2016, 08:38:08 PM »
That makes sense. I will have to do some tweaking of the survival scripts to slow down or alter the effects. Otherwise new players won't stand a chance. It can be challenging enough to get started in my map for players. I hope to also automate a lot of features in my map thru NPC quest style scripts. With an employment system, economized and itemized shops, and a unique ranking system, there is much ado. I barely get a moment while hosting. Not to mention properties for sale. I have much to learn... I thought making a lighthouse beacon was a tough script... lol. Anyway, thank you all for your insight. I am now just waiting for MS to fix the bug... Impatiently!

The problem with scripted jobs is you will need to provide the pay for every player who joins. You would basically need a chest that is scripted to refill from another chest when empty, and then it transfers money to players per pay period
Doing so you will need to have a way of making money like taxes normally what i do in survival cities like that i economize the shops sell items for 1.5x-2x the price so you have easy profit

Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Scripting in dig deep
« Reply #77 on: September 15, 2016, 12:29:45 AM »
I economized also, but for selling items. Because I'm in DD, I don't want to sell most of what my shops bring in. So I adjust the amount you get for selling to 25%. Then I can either resell for 25% profit or use the stuff for expansion. It works great. Most of the 'buy' prices are unchanged.
Focus determines reality...

Rev Elevenclaw

  • Sr. Member
  • *
  • Posts: 372
    • View Profile
  • Xbox: Rev Elevenclaw
Re: Scripting in dig deep
« Reply #78 on: October 06, 2016, 05:23:06 AM »
Is there a way to isolate specfic players for scripts? As in, my ranking system would work smoother for returning players if there was an IsGamertag script option, but there isn't. Any ideas how to do this?
I never figured this out, so I want to talk about it more.
Focus determines reality...

Craig

  • Developer
  • Extreme Member
  • *
  • Posts: 6655
  • Dig Deep
    • View Profile
    • Twitter
  • Steam: tota1miner
Re: Scripting in dig deep
« Reply #79 on: October 06, 2016, 05:42:20 AM »
Is there a way to isolate specfic players for scripts? As in, my ranking system would work smoother for returning players if there was an IsGamertag script option, but there isn't. Any ideas how to do this?
I never figured this out, so I want to talk about it more.
Why do you need to run a script based on a gamertag?

Can you imagine the script?

if
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
   IsGamertag [xxx]
then
  do something
elseif
etc