TheSev wrote:Can you maybe simply edit the weapon xml file or something to make it sharp like a normal weapon but have it possible to change the size and so characters can't pick it up? So it would be like a mix of the object and weapon. I might be talking nonsense though

There are hotspots that can imitate this for you.
I know that ZramuliZ has made 1 that will kill you, It is called fire_kill and it's code is really simple when you know something about scripts and code.
Here is the code for fire_kill_hotspot.xml
Code: Select all
<?xml version="2.0" ?>
<Type>generic</Type>
<Hotspot>
<BillboardColorMap>Data/ZramuliZ/Textures/blank.png</BillboardColorMap>
<Script>hotspots/fire_kill.as</Script>
</Hotspot>
And here is a script file code that will do all the killing or damage you want
The file name is fire_kill.as and it goes into data/scripts/hotspots folder
Code: Select all
void Init() {
}
void SetParameters() {
}
void HandleEvent(string event, MovementObject @mo){
if(event == "enter"){
OnEnter(mo);
}
}
void OnEnter(MovementObject @mo) {
mo.Execute("TakeDamage(100000.0f); Ragdoll(0);");
}
This code can be modified to meet your requirements and then you can release this as a hotspot.