Page 1 of 1

How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 2:46 am
by Broly844
You know when you see someone just spawns a whole staircase instantly. Is that a certain type of hack? Is it against the rules to use it?

Re: How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 3:14 am
by Jdrew
hold your right mouse button when you are trying to build and you can click and drag

Re: How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 4:55 am
by Broly844
Jdrew wrote:
hold your right mouse button when you are trying to build and you can click and drag
So will I be able to save what I built and reuse it over and over again whenever i like?

Re: How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 7:25 am
by bullets
Broly844 wrote:
Jdrew wrote:
hold your right mouse button when you are trying to build and you can click and drag
So will I be able to save what I built and reuse it over and over again whenever i like?
No, you can just built multiple blocks at once though.

Re: How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 11:21 am
by izzy
If you're talking about complete structures that get instantly built then it's a server-side script. For example, the Humans vs. Zombies game mode has "prefabs" that the human team can instantly build by using the /b command.

Re: How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 4:00 pm
by Broly844
Like I don't know how to really describe it. I was on the hallway map and some guy just out of no where spawned this long and tall staircase. He was also able to spawn small buildings out of now where. Another game some guy spawned a really large gun that pretty much build itself right in front of us. It lagged the game for a few seconds but it looked so cool afterwards

Re: How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 8:08 pm
by Jdrew
if he three grenades it is the grownade script

Re: How do people spawn prebuilt stuff?

Posted: Tue Apr 08, 2014 9:57 pm
by izzy
Yes, most likely the grownade script:

https://bitbucket.org/NateShoffner/pysn ... rownade.py
"""
Turns your grenades into magical kv6-growing seeds. Or beans!

Use /model <filename> to load model files. These must be placed inside a folder
named 'kv6' in the feature_server directory. A full path would look like this:
"C:\my_pyspades\feature_server\kv6\some_model.kv6". Then you load it with
/model some_model

Wildcards and subfolders are allowed. Some examples:

/model building*
Loads all models that start with "building", like "building1" and "buildingred"

/model my_trees/*
Loads all models inside a folder named "my_trees"

When you have many models loaded, each grenade will pick a random one to grow.
To stop littering the map with random objects just type /model again.

---

THE PIVOT POINT in kv6 files determines the first block to be placed. The rest
of the model will then follow, growing around it.

The pivot point MUST be sitting on a block, or the model won't load. Checking
'Adjust pivots' in the Tools menu in SLAB6 will show handy coordinates.
To be sure, you can move the pivot to *half* of a block, e.g.: (4.50, 4.50, 8.50)

In a tree kv6, for example, the pivot point would lie on the lowest block of the
tree trunk, so that it grows up and not into the ground.

---

You can adjust FLYING_MODELS and GROW_ON_WATER to allow growing in the air and
on water, respectively. These are disabled by default so you can fly high and
sprinkle tree-growing grenades without worrying about unseemly oddities.

Maintainer: hompy
"""

Re: How do people spawn prebuilt stuff?

Posted: Wed Apr 09, 2014 2:40 am
by Broly844
thanks guys! that was exactly what i was looking for! Blue_BigSmile