|
Post by melidebby on Nov 29, 2016 4:08:25 GMT -5
When you first open up safehouse.txt you see this.
cItemPlacement Bucket { ItemName = "Bucket" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
cItemPlacement PushBroom { ItemName = "PushBroom" Location = "2.607,-0.858,-7.657" Rotation = "0.140,0.052,-0.007,0.989" }
cItemPlacement PlasticBin { ItemName = "PlasticBin" Location = "-4.233,-0.607,3.912" Rotation = "0.000,-0.674,-0.000,-0.738" }
Does anyone know if it will work if you add extra cItemPlacement ?
For example Zombrex
cItemPlacement Bucket { ItemName = "Bucket" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
cItemPlacement Zombrex { ItemName = "Zombrex" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
cItemPlacement Zombrex { ItemName = "Zombrex" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
cItemPlacement PushBroom { ItemName = "PushBroom" Location = "2.607,-0.858,-7.657" Rotation = "0.140,0.052,-0.007,0.989" }
cItemPlacement PlasticBin { ItemName = "PlasticBin" Location = "-4.233,-0.607,3.912" Rotation = "0.000,-0.674,-0.000,-0.738" } I never removed any text I only copied and pasted the Bucket twice then renamed Bucket with Zombrex.
But would this spawn 2 Zombrex at the same location as this bucket?
Or If I was to remove
cItemPlacement Bucket { ItemName = "Bucket" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
Would the bucket be gone from that location completely?
Sorry If I sound dumb I'm extremely new to this.
|
|
sppv
Veteran
Posts: 159
|
Post by sppv on Nov 29, 2016 8:03:31 GMT -5
You have to get rid of the bucket. This is just like reality cant have 2 entities taking up the exact same space
|
|
|
Post by Shigeki on Nov 29, 2016 8:16:06 GMT -5
Just take out the word bucket and change to zombrex... And as he said, there can not be a same object in the exact same place
|
|
|
Post by melidebby on Nov 29, 2016 8:52:42 GMT -5
Strange cause It worked...
I had it like this
cItemPlacement Zombrex { ItemName = "Zombrex" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
cItemPlacement Broadsword { ItemName = "Broadsword" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
cItemPlacement Bucket { ItemName = "Bucket" Location = "2.495,-0.876,-8.313" Rotation = "-0.000,0.002,0.000,1.000" }
And all 3 spawned in the same spot without any problems
|
|
|
Post by solidcal on Nov 29, 2016 9:24:27 GMT -5
If you want to add something you can. You don't have to replace an already exisiting entry. So if you copy and paste an edited code to spawn some zombrex, you can. Adding item spawns is very easy. SO basically if you copy and paste this code entry in to the safehouse.txt cItemPlacement Zombrex { ItemName = "Zombrex" IsDispenser = "true" Location = "-2.800,-0.075,19.500" PropState = "-2" Rotation = "-0.000,0.002,0.000,1.000" } and save it and repack everything it will make a new spawn for a zombrex dispencer in the safehouse in the cafateria. But yeah it's a case of just copying the code of something and change it's location XYZ co-ords to spawn elswhere.
|
|
|
Post by melidebby on Nov 29, 2016 9:34:14 GMT -5
If you want to add something you can. You don't have to replace an already exisiting entry. So if you copy and paste an edited code to spawn some zombrex, you can. Adding item spawns is very easy. SO basically if you copy and paste this code entry in to the safehouse.txt cItemPlacement Zombrex { ItemName = "Zombrex" IsDispenser = "true" Location = "-2.800,-0.075,19.500" PropState = "-2" Rotation = "-0.000,0.002,0.000,1.000" } and save it and repack everything it will make a new spawn for a zombrex dispencer in the safehouse in the cafateria. But yeah it's a case of just copying the code of something and change it's location XYZ co-ords to spawn elswhere. Thank you very much
|
|
|
Post by melidebby on Jan 4, 2018 0:10:02 GMT -5
So I found out the words are case sensitive.
ItemName = "Handgun" will not spawn a gun but ItemName = "HandGun" does spawn the gun.
Is there a list of all the Items I could spawn
|
|