Author Topic: Functionless add-on.  (Read 891 times)

Essentially an add-on that doesn't do anything, so that I can get it so people can download a particle needed for a map I tend to use a lot.

Can anyone help or even give me some code?

An Add-on is never limited to a file.

Lets say I release an add-on called "script_jackstuff.cs" with the contents of:
Code: [Select]
//This code does nothing
Obviously, that code does nothing. However, it still would be on th add-on list. All the add-on list does is provide an array of files that are executed by another script Badspot made.

However, that doesn't explain why you need a scrip that only has an emitter for a datablock. Doesn't the map send the file automatically?

The engine does not transfer image files used for particles, however it does transfer images files used for textures.

Hang on.

EDIT : Done. It uses a 2kb shape file with a texture called ParticleToSend, so simply rename your particle image file to ParticleToSend and put it in add-ons/Particle Sender.

Untested, but I don't see why it wouldn't work.

Download
« Last Edit: June 15, 2008, 11:48:33 AM by Headcrab Zombie »

What if someone has already joined a server which has sent them ParticleToSend?

A better way might be to use a decaldata datablock.

Rofl, I didn't realise there was a decaldata datablock  :cookieMonster:

And you could use a bunch of folders, with the shape and different particles in the folders, with different datablock names

Or just use decaldata datablocks :P

An Add-on is never limited to a file.

Lets say I release an add-on called "script_jackstuff.cs" with the contents of:
Code: [Select]
//This code does nothing
Obviously, that code does nothing. However, it still would be on th add-on list. All the add-on list does is provide an array of files that are executed by another script Badspot made.

However, that doesn't explain why you need a scrip that only has an emitter for a datablock. Doesn't the map send the file automatically?


The map doesn't send the file, which I think is a bit odd.

@Headcrab Zombie: I'll have to check that out once I get back to my BL computer.


Why is there a .dts? I just need something that will send an image particle.