6666223d0c832

6666223d0ce3d
1 Guest is here.
 

Topic: Question about replicators Read 1455 times  

6666223d0d35b
 Does anyone know if it is possible to change the price on the items in the replicators?

Example: Change the resonator  item in Command1.mis to 5 nannites.

Any help would be appreciated!
6666223d0d5f0
Yes, it's possible of course. You need to install the editor and...
Frankly, for what you want it's probably easier to spawn some money. Search the web for "System Shock 2 summon_object".
6666223d0d6fb
Oh wow! Quick Reply, thank you!

Do you actually know how to modify the price of that item? Would it be in the Obj Hierarchy? Or would I have to do it in the actually map editor somehow.
6666223d0d7dd
It's certainly in the object hierarchy somewhere.
6666223d0d8ec
I found the correct RepBase, but in the hacked and normal inventories, there is no Sympathetic Resonator. Nor can I find it anywhere else. I'm so confused. Do I have to run some sort of script to spawn the replicator with the item? I know that if you hack it before you destroy the first shuttle, the item wont appear. Shodan "Uploads the schematics" to it after you destroy the shuttle. Any ideas? (Appreciate the help)
6666223d0d9dc
It is probably a special child of the rep arch type.
Arch types are the objects that have a negative ID.
6666223d0daf3
Special child? Not great at english, not sure what that means *_*.



EDIT: Oh well, if anyone finds the Resonator please let me know! :D thank you
« Last Edit: 17. July 2013, 00:20:32 by Dizzy »
6666223d0dc27
That particular replicator has a special script called 'putbombinreplicator' on it which, er, puts the bomb in the replicator.

The sympathetic resonator itself is called 'big bomb' (obj id -1671). If you just want to summon it as cheat/ save for having already hacked the computer type ':' to bring up the prompt then 'summon_obj big bomb' to spawn a resonator.

(All commands work without the inverted commas)
6666223d0dd1c
Yeah, with some research I found BigBomb, and then saw the script.

So how would I get the resonator to show up? How do I run the script in the editor?

All I want to do is edit the price of the item. How can I do that?  *_*
« Last Edit: 17. July 2013, 01:51:45 by Dizzy »
6666223d0de4c
It cannot be done by normal means, scripts are compiled and the relevant properties will be written into the script. You'd have to load a save game into ShockEd after the script has been triggered, then alter it there and before actually hacking the replicator. That isn't trivial at all- and couldn't be done as a 'permanent' change, it would have to be done manually every time.

There is a way to do it on a more permanent basis as properties can be overwritten by non script means, but that is even more complicated and would require adding multiple new objects to the level.
6666223d0df1a
Thank you! I will just add some nannites near the replicator.
1 Guest is here.
ALF disappeared through a hole in the riser, was stuffed into a case, and immediately removed from the building.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
6666223d0ecd5