Blockland Forums > Modification Help

Iban Explains it All

Pages: << < (31/39) > >>

Brian_Smith3:

I still have no loving idea how to make a scope
Please rewrite scopes because I have no idea how to work them and it seems like you kinda put a little less effort into it.

Stocking:


--- Quote from: takato14 on May 08, 2011, 05:00:22 PM ---Uh, hello? :|

--- End quote ---

The only time a debris object is created is by the engine during weapon fire states and in explosions.
 
You have a few options here:
1. You can create an explosion to pop out three shells in the onFire function.
2. You can create multiple image states in the weapon to fire out multiple cartridges one after another.
3. You can use a finite loop in the weapon states to call the firing state multiple times until there are no more preloaded rounds.


takato14:


--- Quote from: Stocking on May 08, 2011, 08:54:24 PM ---The only time a debris object is created is by the engine during weapon fire states and in explosions.
 
You have a few options here:
1. You can create an explosion to pop out three shells in the onFire function.
2. You can create multiple image states in the weapon to fire out multiple cartridges one after another.
3. You can use a finite loop in the weapon states to call the firing state multiple times until there are no more preloaded rounds.


--- End quote ---
1: I cant have two muzzlepoints.
2: That wont work. I cant control the image states from a function, thusly I cannot change the number of ejected shells depending on how many times the trigger has been clicked
3: Possible, but would make my current system entirely useless.


So what you're saying is that there is NO function that spawns a debris datablock. Nope, dont buy that.

Plexious:

I have a question:

If I were to have a package and rewrite the same functions without using packages, would it still work? Do some things have to be packaged?

Nexus:


--- Quote from: Plexious on May 08, 2011, 11:16:12 PM ---have a package without using packages

--- End quote ---

hmm...

if you mean to rewrite a function without using packages, then the original will break.

Pages: << < (31/39) > >>

Go to full version