Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dannu

Pages: 1 [2] 3 4 5 6 7 ... 290
16
Modification Help / Re: Redefining datablocks from another add-on
« on: June 03, 2018, 05:25:31 PM »
You should never tamper with the functionality of an add-on that you don’t manage (and therefore can’t control updates and deal with cross-compatibility issues). Say you hardcode a re-definition of the datablock of say the duplicator. Now if Zeblote releases an update that changes field names or adds new fields that are required for the add-on to work, your add-on forcing the old version of the datablock could break your add-on and more than likely break Zeblote’s duplicator.

Instead you should look into forcerequiredaddon and then use inheritance to duplicate the add-ons datablock into your own custom datablock, for example:
Code: [Select]
datablock itemData(copiedDuplicator : sourceDuplicator) //substitute for correct name
{
    redefinedField = “redefined value”;
};

For more info check the stickied topic about using forceRequiredAddon to avoid duplicating datablocks.

17
Off Topic / Re: Why are political comics so damn simplified?
« on: May 28, 2018, 09:12:12 AM »
I find BLF politics threads to perfectly represent political comics - knee-jerk opinions for children, by people with an equivalent emotional maturity.

18
Off Topic / Re: [NEWS] Senate votes to save Net Neutrality
« on: May 18, 2018, 08:19:40 AM »
the battle is far from over. this is gonna be a tough call in the house.
With midterms looming, democrats across the board supporting net neutrality, polls showing 70% public support and republicans facing a slaughter; unlikely.

19
Not an organization, sure, but being part of the cause of children being loveually abused (whether they do it themselves, or increase demand of such by viewing it) should invoke some sort of widespread terror.
In fact, doesn't it invoke widespread terror? We're always warning our children and protecting them from strangers for that exact reason.
This is literally the stupidest thing I've ever read.

20
Add-Ons / Re: Blockland Glass 4.2
« on: May 14, 2018, 10:39:03 AM »
Thread designed by Jam Jar
Jam jar got outplayed by badspot

22
Modification Help / Re: fxLight to follow shot projectile
« on: May 08, 2018, 04:06:48 AM »
The code is gonna look something like this:
Code: [Select]
%projectile = new Projectile()
{
    dataBlock = %weaponImage.projectile;
    initialVelocity = %velocity;
    initialPosition = %position;
    sourceObject = %obj;
    sourceSlot = %slot;
    client = %client;
};
%projectile.setScale(%obj.getScale); //Increasing the scale of the firing object increases the scale of the projectile (bigger players -> bigger projectiles)
MissionCleanup.add(%projectile); //Make sure that the engine knows that it needs to keep track of this projectile
return %projectile; //Used for callbacks when parenting WeaponImage::onFire

NB: This code will not work if you stick it into your script. I purposefully used generic variable names to avoid spoon-feeding you a solution and encouraging you to learn.

Most of it is pretty self-explanatory, however for WeaponImage::onFire(%image, %player, %slot):
  • You can get the datablock of a projectile from %image.projectile
  • The sourceobject could be for example the player object (second argument for the function)
  • You can get the client object of a player via %player.client, you must define this in case the projectile is used to kill another player. If there is no client defined, it will not show who killed them
  • Once again, I used generic variable names that do not match up with your code, don't just stick these bits of code in.

I apologize beforehand in case making this post this exhaustive comes off as patronizing, I simply wanted to include as much detail as possible for future reference.

23
How about use DMZ?
Yea, he's right. You gotta discombobulate the thingimajig.

OT: That's a good way to give your home internet network AIDS

24
I'm looking at the server list and the ping is 0

does that mean it's working
That means that you're hosting on your local network and on local connections, no matter the router port settings, you can join.

In effect, no. That doesn't say much.

25
Modification Help / Re: Envzones + player persistence.
« on: April 22, 2018, 03:55:58 PM »
I mean, seeing as the author Zeblote is busy, anyone who wants to make significant changes to this mod has to go through the tedious process of learning the code and how it works. This is one of the most annoying processes of modding, so I personally doubt that you will find someone to do it for you.

If you have specific questions about sections of the code or how/why something works then I'd be glad to help however.

26
Suggestions & Requests / Re: onRelay > Bot
« on: March 17, 2018, 12:22:31 PM »
onRelay > Bot > instantRespawn

Need I say more? You can crash a server using this.

onBotSpawn > Bot > instantRespawn

There are already a dozen ways to accomplish loops like that, that's why schedule quota limitations and other timeouts are a thing

OT: I think Pecon's ticker (better relay events implementation) add-on had something like this, but I'm unsure.

27
Off Topic / Re: i want you to guess what i ordered off amazon
« on: March 17, 2018, 11:19:03 AM »
As it says in rule one some ambiguous topic names are "question..." and what not, I'm sure that this topic's title would fall right into that category, and it doesnt help you just told us to guess
Are you autistic? Are there more than one serious ways to interpret the title "guess what i ordered off amazon"?

28
Development / Re: 2018/03/16 - Blockland r1988
« on: March 17, 2018, 11:11:37 AM »
i wonder how many pages of stuffposts This dev topic will get
My money is on 8 pages

29
Creativity / Re: The new and improved 3D model topic!
« on: March 16, 2018, 02:10:00 AM »
yeah.
is this supposed to mean anything or is it the intellectual equivalent of "no you"

Check out this texture I did. It was a final for a class of mine.
I like how it came out.
I really like your style.

30
Creativity / Re: The new and improved 3D model topic!
« on: March 15, 2018, 12:50:22 PM »

Pages: 1 [2] 3 4 5 6 7 ... 290