What's necessary to implement a player structure?

Halyn

That One Guy
Staff member
Moderator
Joined
Jan 11, 2015
Messages
257
Location
Empire in Flames
Has anyone attempted to make a player-buildable version of existing structures in the game? There's a number of objects (example: NPC city halls, NPC hotels, NPC cantinas; there are others as well) that are in-game but aren't player-buildable.

I'm still researching, but so far it looks vaguely doable (although NPC buildings are apparently lacking a footprint file). Any useful threads I should be looking at, or is this going to be a "handle it from scratch" sort of project?

EDIT: Yes, I'm aware this also requires server-side implementation. I've got a VM running right now to experiment with.
 

PikkonMG

New Member
Joined
Aug 29, 2013
Messages
14
There is a post here on the forums somewhere that has NGE houses added, you might can take a look at those files for an idea of how to do it.
 

Halyn

That One Guy
Staff member
Moderator
Joined
Jan 11, 2015
Messages
257
Location
Empire in Flames
My hex editing skills are weak.

I did manage to get an NPC structure to place, but when I attempted to edit the appropriate IFF file to add a footprint, it wouldn't work. The server actually throws a warning about a missing footprint, but it will allow it down.

http://www.writingunderduress.com/wp-content/uploads/2015/01/screenShot0004.jpg

http://www.writingunderduress.com/wp-content/uploads/2015/01/screenShot0005.jpg

Slow progress.

*Edit by Moderator: Removed IMG Tag and changed to links as they were very big images.
 

Jeraan Taruk

New Member
Joined
Nov 30, 2014
Messages
2
Sorry to sound noobish.

By lacking a footprint I assume that means it will just mold to the topography of the landscape, rather than sit atop of it?
 

Halyn

That One Guy
Staff member
Moderator
Joined
Jan 11, 2015
Messages
257
Location
Empire in Flames
Correct.

With the new SIE and templates, I'm going to be revisiting this in the very near future.

From what I can tell, the footprint file determines how flat the terrain needs to be and how much to flatten the existing terrain.

That's actually more important working with the NPC structures than it was with the original player structures.

Player housing was clearly designed with the idea of dropping on uneven terrain - large portions of the structure are under the ground level, so if the terrain isn't flat there's still "building".

NPC structures, on the other hand, have very little underground, so if they're placed in rough terrain that isn't completely flattened by the footprint there are very obvious gaps.
 

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
235
I turned bases into player housing. And caves and a few other things. Just saying. :p
 

Halyn

That One Guy
Staff member
Moderator
Joined
Jan 11, 2015
Messages
257
Location
Empire in Flames
Yeah, I was joking with my partner on my dev project about that. Just imagine the spam in Cnet - "Selling holes in the ground, small, medium, large, starting at 20k! PST!"
 

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
235
It's interesting. It's actually for a certain planet of mine. lol
 

drdax

Member
Joined
Jun 11, 2015
Messages
133
Phoenix said:
I turned bases into player housing. And caves and a few other things. Just saying. :p
Hey Phoenix, would you care to point us to a example of your player housing base code or some hints to get started / forgive me if I missed another post or hint.. I would love to tinker around with a player owned, permanent base as housing option.

Cheers & Thanks in advance, DrDax

PS: I remember way way back, a base owner could place 100 items in a base, but lost them when destroyed before they changed it. I would love to tinker around with a player owned, permanent base. Every forward operating field base in real-life has some personal touches :)
 
Top Bottom