Wednesday, June 5, 2024

Commands in SWGEMU for creating items

 So there was a file a long time ago on a Google Drive called "Commands V2 - Sorted.pdf" 
I still had a copy of this file on my hard drive now the version 2.  The links no longer worked on them so 
I have updated them and called this Commands V3 - Sorted. PDF.

The latest Commands file can be found at the link bellow

Now a back up of the Information found on the Google Spreadsheet for the Lair Template
can be found at the link bellow.
 
If you want to look at the TRE files or edit tree files 
Sytner's  IFF Editor (SIE) 3.7.0.95 can be found at the link bellow
 
 

This was orginally found at  https://modthegalaxy.com/index.php?resources/sie.1/

 

Disguise your character and other characters

 
If you want to disguise your character hit F1 to target yourself or select who or what
you want to disguise first.
 
The command is 
 
Darth Vader
/setPlayerAppearance object/mobile/shared_darth_vader.iff -target
 
Battle Droid
/setPlayerAppearance object/mobile/shared_death_watch_battle_droid.iff 
 
Dark Trooper
/setPlayerAppearance object/mobile/shared_dark_trooper.iff 

Battle Droid 2
/setPlayerAppearance object/mobile/shared_death_watch_s_battle_droid_01.iff

Dressed Rodian Male
/setPlayerAppearance object/mobile/shared_dressed_rebel_scout_rodian_male_01.iff

3CP0
/setPlayerAppearance object/mobile/shared_3po_protocol.iff

I have uploaded a list of the shared objects here that should work I won't guartee that
they all work.



 Now there are a few restrictions here as to what you can use this command on it MUST start 
with shared_ if it does not you can not use the /setPlayerApperance on it. 
 
Reset Apperance 
 
To reset yourself or whoever it is you have set as another item just target that player or if 
it yourself hit F1 and type in /setPlayerAppearance.
 
If you just type in /setPlayerAppearance with nothing after it then it resets the appearance. 
 

There is a really good website about some of the commands located at 
 
Warning: Some of this information on this site seems to be out of date. 

 

Creating Tanigable Objects 
 
So if you want to spawn an item say a Blue Frog to carry with you type the following. 

/object createitem object/tangible/terminal/terminal_character_builder.iff
 
Speeder Bike
/object createitem object/tangible/deed/vehicle_deed/speederbike_deed.iff

Here are some of the other Vechicles 

/object createitem object/tangible/deed/vehicle_deed/jetpack_deed.iff
/object createitem object/tangible/deed/vehicle_deed/landspeeder_av21_deed.iff
/object createitem object/tangible/deed/vehicle_deed/landspeeder_x31_deed.iff
/object createitem object/tangible/deed/vehicle_deed/landspeeder_x34_deed.iff
/object createitem object/tangible/deed/vehicle_deed/speederbike_deed.iff
/object createitem object/tangible/deed/vehicle_deed/speederbike_flash_deed.iff
/object createitem object/tangible/deed/vehicle_deed/speederbike_swoop_deed.iff
/object createitem object/tangible/deed/vehicle_deed/vehicle_deed_base.iff
/object createitem object/tangible/deed/vehicle_deed/vehicular_prototype_bike_deed.iff
/object createitem object/tangible/deed/vehicle_deed/vehicular_prototype_deed.iff


A list of the different tanigable objects can be seen at 
 
A list of create objects can be see at: SWGEmu object createitem Command Reference


Spawn a character builder AKA Blue Frog at your curent location

Now a bit of a different command if you want to spawn a Blue Frog at

your current location type in /object characterbuilder 

Warning:  This will spawn the Blue Frog terminal where ever you are standing in fron
of you so be sure you are standing in the right position prior to using this command.

If you need to move the Blue Frog or any item you can use the /move and /rotate command
IE: /move forward 25
 
/move forward 1-500
/move back 1-500
/move up 1-500
/move down 1-500
/rotate left 1-180
/rotate right 1-180  

/movefurniture up 10
/movefurniture down 10
/movefurniture up 5
/movefurniture down 5
/movefurniture up 1
/movefurniture down 1 

Creating Items from the loot table. 


To create an object from the loot table you can see a full list of loot table items bellow

The command to create and object from the loot table is 

/object createloot krayt_tissue_rare 500

/object createloot krayt_dragon_pearl 500

/object createloot power_crystals 500

/object createloot color_crystals 500

Ok so how do you get the name of the items you can create? 

It is actually pretty easy I will use the krayt dragon pearl as an example. 

 So you look at the lua file  for example at this location 

https://git.swgemu.com/swgemu/Core3/src/branch/unstable/MMOCoreORB/bin/scripts/loot/groups/creature/krayt_pearls.lua

You will see a line that says something like this 

{itemTemplate = "krayt_dragon_pearl", weight = 10000000}

So your item name is  krayt_dragon_pearl 

And to create the item type in the following: 

/object createloot krayt_dragon_pearl 500

 

Or on some of the items you will see a name something like this I will use the Gurk King hide

as an example here.

https://git.swgemu.com/swgemu/Core3/src/branch/unstable/MMOCoreORB/bin/scripts/loot/items/creature/gurk_king_hide.lua

addLootItemTemplate("gurk_king_hide", gurk_king_hide) 

so you would use the following command to get the hide

/object createloot gurk_king_hide 500

 
Generating crafted Items
 
 
So if you want to generate a crafted item you can do it in the following way.
 
/generateCraftedItem <server script path> [quantity] [template number]
 
For example to generate a  refined crystal pack you would use the following command:

/generateCraftedItem object/draft_schematic/weapon/lightsaber/lightsaber_refined_crystal_pack 1 500

For a full list of the server script paths and what can be generated look at 
 

Player Run Cities Guide

 So you want to setup your own city some where.  To do this you will need certain skills I would recommend getting to Master Politician.    ...