09-08-2009, 07:50 PM
|
|
Approved Member
|
|
Join Date: Aug 2008
Location: Germany
Posts: 538
|
|
Quote:
Originally Posted by Liz Shaw
I couldn't figure out what to do with the hex editor, so I haven't done anything new. Plus, I have other things on my plate. Actually, how can I place new items in rooms (eg. new clothes, new weapons)?
|
This is only possible via script commands e.g.
Level.CreateWorldItem( "wear:EmbassyAgent_1" , "equipment" , 821.00, 4.00, -368.00, 0.0, 0.0, 0.0, 'id_wear1' );
- "wear:EmbassyAgent_1" is the item you wanna spawn, the
item names you can find inside the equipment.shadvs, weapons.shadvs etc.
- "equipment" is the library (class) name. Same as shadvs files I mentioned above
- 821.00, 4.00, -368.00 are the coordinates (x,y,z). You
can aquire the current position via console command:
pl_showpos.
- 0.0, 0.0, 0.0 I dunno, let it as it is
- 'id_wear1' is the id of the newly created item.
Necessary but not used in case of spawning.
-AHO
|