[MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom)

The place to discuss scripting and game modifications for X4: Foundations.

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

idragon
Posts: 36
Joined: Fri, 17. Mar 17, 16:37
x4

[MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom)

Post by idragon » Wed, 14. Oct 20, 16:39

Image

Argon Reborn improves the Station/Crew NPCs models, population of the Stations, spawns only Station Races NPCs for each faction, Argon Habitat now only spawns Argon Characters or your chosen race by using the argonreborn_config.xml.

Available on Nexus: https://www.nexusmods.com/x4foundations/mods/564 (i have only GOG version for now, so no Steam yet)

Last update notes (1.10): -----------------

- Chardensity is not used anymore, setup the mod first id_argonreborn/MD/argonreborn_config.xml

Added two densities one for NPC stations and one for Player Habitat. Default 0.50.
For those that want many NPCs use 1.0 up to 1.50 (high end PCs), 1.0 or 1.10 should be enough for most.

- Added many new types of NPCs, some with multiple props suggested by Gramston.
- Added an optional file, that makes the player shipyards, spawn argon crew when building a new ship, will spawn the same for other factions, so disabled it, if you dont play with Argon, as it will spawn only argon crews for ship, but the Captain should be from the race of the shipyard in theory.

------------------------------------------------------------

This is my take on walking in station system, NPC models, Races and Argon Habitat. What this mod do?

1) All NPC models are changed! No more ugly trolls, they are even custom ones that have never been used in any mod, since i wrote the characters from zero with the old assets available from X4.

2) All stations are populated with their own race (beside visiting pilots) and spawn more crew. So on a Argon station you will find only Argon people, same with Teladi and Paranids, not tested on Split since i don't have the DLC (do tell if it works well), it should work.


3) Player owned Argon HABITAT now spawns Argons (based on chardensity in config.xml and Population of the habitat). If you dont want Argon Race habitat, change the race in the id_argonreborn/MD/argonreborn_config.xml (open with a notepad, text editor and read the instructions)

Code: Select all

<set_value name="$phabitatrace" exact="race.argon" />
Replace race.argon with your desired race, i.e race.split, race.paranid, race.teladi and then replace with same faction below.

Code: Select all

<set_value name="$phabitatfaction" exact="faction.argon" />
Replace faction.argon with the same race you added in $phabitatrace line, so if you want teladi, you replace race.argon with race.teladi and faction.argon with faction.teladi


* Note: this.$SelectedRace, faction=this.$Owner, and others are ignored by game when it comesto the player for some reason. Maybe because the player is a faction itself, god knows.

4) On Docks you will find now more types of people: Pilots,Managers, Service and Marines. Starting from rookies to 3 Stars Crew, but they cost between 5k to 1mil.

5) When buying a new ship you can also recruit managers and captains, instead of only service crew and marines.

6) If you want more NPC to spawn on your station or NPCstation, modify the values in id_argonreborn/MD/argonreborn_config.xml :

Code: Select all

<set_value name="$NPCdensityStations" exact="0.50" />

<set_value name="$NPCdensityPHabitat" exact="0.50" />

0.50 default - lower for more FPS.
1.00 - 1.10 for many npcs.

Play with the values to have your desired FPS, but keep in mind that on some docks (the open 3M3S docks, the FPS can be low on 1.0 - due to them being open and rendering lots of stuff)

7) The player shipyards, spawn argon crew when building a new ship, will spawn the same for other factions, so disabled it, if you
dont play with Argon, as it will spawn only argon crews for ship, but the Captain should be from the race of the shipyard in theory so it might work. It needs the optional file in the download section.

8) Bombs!

I left in something i use. Player Bomb Launcher bombs now does 15000 dmg, so around 35-40 should destroy an Administration Center, but not sure how it works these days, if you have to bomb the whole station or only one module.

Installation


User Vortex or Simply extract the "id_argonreborn" folder from the ZIP into your "extensions" folder your X4\extensions game folder.

Special thanks to FlynTie for some insights i forgot since i played the first version of the game. Gramston for discovering interesting assets in the game, TenebrisMessorem for starting this way back, and making me understand how the NPC templates work. Also, that special Dev that keeps messing up the NPC since the release of the game.
[/color]
Last edited by idragon on Tue, 1. Dec 20, 17:49, edited 20 times in total.

Mycu
Posts: 206
Joined: Fri, 28. Sep 12, 08:30
x4

Re: [MOD] --- Argon Reborn --- (Improved NPCs, Station Race NPCs, Argon Habitat)

Post by Mycu » Wed, 14. Oct 20, 17:44

Had a quick look at this mod in game (instead of working but shhh.....).
Overall I really like what I see - nice looking Argons on Argon station, Paranids on Paranid ones.
Until now I didn't know that I needed it :)

What I don't like much is possibility to build a ship with 10 captains :) and multiple managers - because looking for a good captain or manager IMO should be a thing and not something that I can get out of the box.
I'll play with it a little more later.

Thanks for sharing and congratulations on a mod release.
X3 AP 3.1 + XRM
X3 AP 3.1 + LU

idragon
Posts: 36
Joined: Fri, 17. Mar 17, 16:37
x4

Re: [MOD] --- Argon Reborn --- (Improved NPCs, Station Race NPCs, Argon Habitat)

Post by idragon » Wed, 14. Oct 20, 17:47

Mycu wrote:
Wed, 14. Oct 20, 17:44
Had a quick look at this mod in game (instead of working but shhh.....).
Overall I really like what I see - nice looking Argons on Argon station, Paranids on Paranid ones.
Until now I didn't know that I needed it :)

What I don't like much is possibility to build a ship with 10 captains :) and multiple managers - because looking for a good captain or manager IMO should be a thing and not something that I can get out of the box.
I'll play with it a little more later.

Thanks for sharing and congratulations on a mod release.
Yeah, the possibility to hire Captains and Managers, is just for those that don't want to visit the stations for certain NPCs Models, will see how i will tweak it further. Thanks for trying it.

Mycu
Posts: 206
Joined: Fri, 28. Sep 12, 08:30
x4

Re: [MOD] --- Argon Reborn --- (Improved NPCs, Station Race NPCs, Argon Habitat)

Post by Mycu » Wed, 14. Oct 20, 18:11

idragon wrote:
Wed, 14. Oct 20, 17:47
(...)will see how i will tweak it further(...)
Great, maybe it's possible with just an XML config value?
And what determinates how is station populated? In other words - can a player influence this on his stations?
X3 AP 3.1 + XRM
X3 AP 3.1 + LU

idragon
Posts: 36
Joined: Fri, 17. Mar 17, 16:37
x4

Re: [MOD] --- Argon Reborn --- (Improved NPCs, Station Race NPCs, Argon Habitat)

Post by idragon » Wed, 14. Oct 20, 18:17

Mycu wrote:
Wed, 14. Oct 20, 18:11
idragon wrote:
Wed, 14. Oct 20, 17:47
(...)will see how i will tweak it further(...)
Great, maybe it's possible with just an XML config value?
And what determinates how is station populated? In other words - can a player influence this on his stations?
For roles, i ll think about it, in the future updates. I am not even sure i am gona leave it on this feature, will see. I will add more content/tweaks/features +/-, as a play (test). I make most of the mods for my own use and thats how i test them, then i release them to the public, if they are cool:P, or useful.


For Population:

On player a station which has a Habitat (no habitat - no crew on docks), the player crew population is largely influenced by how many workforce you have (the habitat) and from chardensity which you can configure in the config.xml (is in the Documents/Egosoft/X4/config.xml)

Code: Select all

<chardensity>0.50</chardensity>
- i play with 0.50.

0.10 for low end PCs
0.50 up to 0.70 for Average PCs
0.99 for High End PCs.

For NPC stations, there is a fixed amount + char density (but i need to tweak it more here).

Mycu
Posts: 206
Joined: Fri, 28. Sep 12, 08:30
x4

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Habitat)

Post by Mycu » Wed, 14. Oct 20, 18:35

Thanks for explanation :)
X3 AP 3.1 + XRM
X3 AP 3.1 + LU

idragon
Posts: 36
Joined: Fri, 17. Mar 17, 16:37
x4

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by idragon » Fri, 16. Oct 20, 23:12

Updated to 1.06 --------------

In some instance the system didnt recognized the race of the Habitat, again... so i added another line in the argonreborn_config.xml (faction.argon) which needs to modified, to your desired faction.

If you play with Argons, you dont have to do anything, its on by default.

Code: Select all

<set_value name="$phabitatrace" exact="race.argon" />
Replace race.argon with your desired race, i.e race.split, race.paranid, race.teladi and then replace with same faction below.

Code: Select all

<set_value name="$phabitatfaction" exact="faction.argon" />
Replace faction.argon with the same race you added in $phabitatrace line, so if you want teladi, you replace race.argon with race.teladi and faction.argon with faction.teladi

NightmareNight91
Posts: 151
Joined: Sun, 7. Feb 16, 18:28
x4

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by NightmareNight91 » Mon, 2. Nov 20, 16:24

Love the mod first of all, one note I have is that I noticed every single split ship and station is now piloted by the green female split and none of the new models made by egosoft show up, is this intended? The entire split race is now a bunch of clones lol.

idragon
Posts: 36
Joined: Fri, 17. Mar 17, 16:37
x4

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by idragon » Sat, 7. Nov 20, 22:58

NightmareNight91 wrote:
Mon, 2. Nov 20, 16:24
Love the mod first of all, one note I have is that I noticed every single split ship and station is now piloted by the green female split and none of the new models made by egosoft show up, is this intended? The entire split race is now a bunch of clones lol.
Not intended, didn't test the DLC. I will update the files, and skip the split templates in the character groups. Ill probably make an Split Reborn at some point, just need to buy the DLC first, and see what assets are available (if they are enough to do something interesting)

Drumma
Posts: 17
Joined: Thu, 10. Sep 20, 00:24

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by Drumma » Sun, 15. Nov 20, 00:09

If you turn this mod off, do the crew you hire default back to the standard NPC models? I hired several dozen crew with this mod and after a while I turned it off and I can't find any of the new crew. Most of females have gone back to the standard model (I think ... either marine dress or the flight suits girls). Have I done something wrong or do you have to keep the mod running to see the new scenery? Thanks for the mod, its nice.

idragon
Posts: 36
Joined: Fri, 17. Mar 17, 16:37
x4

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by idragon » Wed, 18. Nov 20, 00:42

Drumma wrote:
Sun, 15. Nov 20, 00:09
If you turn this mod off, do the crew you hire default back to the standard NPC models? I hired several dozen crew with this mod and after a while I turned it off and I can't find any of the new crew. Most of females have gone back to the standard model (I think ... either marine dress or the flight suits girls). Have I done something wrong or do you have to keep the mod running to see the new scenery? Thanks for the mod, its nice.
You have to keep the mod activated of course to see the models at all times.

Drumma
Posts: 17
Joined: Thu, 10. Sep 20, 00:24

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by Drumma » Wed, 18. Nov 20, 02:00

Thank you. The mod is a lot of fun and I plan on using it again. GL HF Commanders

Sephiros
Posts: 11
Joined: Sat, 21. Dec 13, 22:22
xr

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by Sephiros » Sun, 22. Nov 20, 23:45

Hello, I posted a bug report on Nexus. Please take a look.

Drumma
Posts: 17
Joined: Thu, 10. Sep 20, 00:24

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by Drumma » Thu, 26. Nov 20, 22:21

I looked through most of the code for this mod wondering if there were lines that could be commented out or removed (after a copy of the file is made), so the game goes back to having integrated NPCs in stations. I looked through the config file and the est_01.* files and couldn't find an obvious place to change this (I'm a very lightweight programmer). I also read all comments here and on NExus.
I would like to see all the races in stations since ships from all four of them can come and go as they wish.

This mod is really nice but I turned it off for now because of the segregated NPCs in stations. The new different Argon people are an awesome addition to the game. thumbs up

idragon
Posts: 36
Joined: Fri, 17. Mar 17, 16:37
x4

Re: [MOD] Argon Reborn - (Improved NPCs, Station Race NPCs, Argon Race Habitat or Custom) - Updated

Post by idragon » Tue, 1. Dec 20, 17:48

Sephiros wrote:
Sun, 22. Nov 20, 23:45
Hello, I posted a bug report on Nexus. Please take a look.
Thanks for the report, i saw it late, i am not sure if it can be fixed, but ill take a look at the split files.

Post Reply

Return to “X4: Foundations - Scripts and Modding”