Propcore

From Wiremod Wiki
Jump to: navigation, search

Features

Propcore is an extension for the Wire Expression 2 which allows for prop creation and manipulation from within the expression.

To get it, download the UWSVN and enable it by running "wire_expression2_extension_enable propcore" (without the quotes) followed by "wire_expression2_reload".

If you are a server owner, all you have to do is include "wire_expression2_extension_enable propcore" in your config file.

Commands

Function Returns Description
E:propSpawn(S,N) Type-Entity.png Model path, Frozen
Spawns a prop with the model denoted by the string filepath. If frozen is 0, then it will spawn unfrozen.
E:propSpawn(E,N) Type-Entity.png Entity template, Frozen
Spawns a prop with the model of the template entity. If frozen is 0, then it will spawn unfrozen.
E:propSpawn(S,V,N) Type-Entity.png Model path, Position, Frozen
Spawns a prop with the model denoted by the string filepath at the position denoted by the vector. If frozen is 0, then it will spawn unfrozen.
E:propSpawn(E,V,N) Type-Entity.png Entity template, Position, Frozen
Spawns a prop with the model of the template entity at the position denoted by the vector. If frozen is 0, then it will spawn unfrozen.
E:propSpawn(S,A,N) Type-Entity.png Model path, Rotation, Frozen
Spawns a prop with the model denoted by the string filepath and rotated to the angle given. If frozen is 0, then it will spawn unfrozen.
E:propSpawn(E,A,N) Type-Entity.png Entity template, Rotation, Frozen
Spawns a prop with the model of the template entity and rotated to the angle given. If frozen is 0, then it will spawn unfrozen.
E:propSpawn(S,V,A,N) Type-Entity.png Model path, Position, Rotation, Frozen
Spawns a prop with the model denoted by the string file path, at the position denoted by the vector, and rotated to the angle given. If frozen is 0, then it will spawn unfrozen.
E:propSpawn(E,V,A,N) Type-Entity.png Entity template, Position, Rotation, Frozen
Spawns a prop with the model of the template entity, at the position denoted by the vector, and rotated to the angle given. If frozen is 0, then it will spawn unfrozen.
E:propDelete() Deletes the specified prop.
E:propBreak() Breaks the specified prop.
T:propDelete() Type-Number.png Deletes all the props in the given table, returns the amount of props deleted.
R:propDelete() Type-Number.png Deletes all the props in the given array, returns the amount of props deleted.
E:propManipulate(V,A,N,N,N) Position, Rotation, Freeze, Gravity, Not solid
Modifies the position, rotation, frozen status, gravity, and solid status of a prop.
E:propFreeze(N) Modifies the frozen status of a prop. If this is given 0, then the prop will be unfrozen.
E:propNotSolid(N) Modifies the solid status of a prop. If this is given 0, then the prop will be solid.
E:propGravity(N) Modifies the gravitational force acting on the prop.
E:setPos(V) Sets the position of the prop.
E:reposition(V) Sets the position of the prop.
E:setAng(A) Sets the angle of the prop.
E:rerotate(A) Sets the angle of the prop.
E:parentTo(E) Parents the prop to the target entity.
E:deparent() Deparents the prop.
E:propSpawnEffect(N) Turns the prop spawn effect on or off.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Google AdSense