[MOD] PropertyAgent

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13489
Joined: Sun, 15. Feb 04, 20:12
x4

[MOD] PropertyAgent

Post by euclid »

This is part of a mod to test the economy in Devries. The initial idea was to create an NPC that "sells" certain ships and stations but the lack of UI modding (atm it's not possible to create an UI with a list and player choices) prevents that (for now). So I publish it just as a cheat. Please think twice before you use it. If it spoils your game then don't blame me :p

Download

Have fun and Merry Christmas

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
Deleted User

Post by Deleted User »

good concept. so UI is hardcoded?
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Not hardcoded no, its there as bytecode compiled lua scripts. It is possible to decompile and RE such things, but it's tough work and time consuming with a potentially low success rate as we would be working blind as to what functions did what :(
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Just a thought, the ship trader npc has left + bottom left menu slots free in convo. You could tie a 'See pre-owned ships' option here, then onto list of ships (as convo options) with a conformation convo after selecting to show price.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
drunkenjawa
Posts: 21
Joined: Mon, 12. Dec 05, 23:04
x3

Post by drunkenjawa »

Great mod, just what I need to help test the economy after each release without the pain of having to wait for all the stations to build again!

Only issue I'm having is that every time, it spawns an Energy Array I and nothing else. Is there a way to make it cycle through the list instead of it being random, or in my case, Energy Arrays?

At the moment I'm just deleting entries from the list as they're built as a workaround. Awesome stuff though man.
User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13489
Joined: Sun, 15. Feb 04, 20:12
x4

Post by euclid »

drunkenjawa wrote:Great mod, just what I need to help test the economy after each release without the pain of having to wait for all the stations to build again!

Only issue I'm having is that every time, it spawns an Energy Array I and nothing else. Is there a way to make it cycle through the list instead of it being random, or in my case, Energy Arrays?

At the moment I'm just deleting entries from the list as they're built as a workaround. Awesome stuff though man.
Ohh.....thx for pointing that out....mybad, the line

Code: Select all

<set_value name="$StationMacro"  list="$Stations.{18}" />
should read

Code: Select all

<set_value name="$StationMacro"  list="$Stations.random" />
Cheers Euclid

ps: Corrected version uploaded.E.
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
drunkenjawa
Posts: 21
Joined: Mon, 12. Dec 05, 23:04
x3

Post by drunkenjawa »

Sweet man, worked like a charm :)

Is there any way instead of making it a random zone in a particular sector, as opposed to across all of DeVries? So that's filled up first, then we could possibly alter as needed? So instead of looking through say, DeVries as a whole - it looks through a sector like Bleak Pebble instead?


{Please do not bump threads, bump deleted. - Terre}

Return to “X Rebirth - Scripts and Modding”