Feature Req: Placing spawns

Old feature requests stored here for reference.
Locked
Andrew
Retired
Posts: 71
Joined: Fri Dec 14, 2007 8:33 am
Location: England
Contact:

Feature Req: Placing spawns

Post by Andrew » Sun Jan 13, 2008 2:23 pm

I have no idea how possible this is and I am throwing this out as just an idea for the future...
It would be awesome if it were possible to place spawns the way items in your house are placed.
I am assuming that what is possible in the house zones is also possible with all zones in the game.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sun Jan 13, 2008 2:32 pm

I actually tried to do exactly what you suggest when someone else requested it, but unfortunately the client is VERY picky about where the item could be placed. It worked OK when the spot was completely flat, but most areas are at a slight angle and the client wouldn't even attempt to place the item there.

Andrew
Retired
Posts: 71
Joined: Fri Dec 14, 2007 8:33 am
Location: England
Contact:

Post by Andrew » Sun Jan 13, 2008 4:24 pm

I've been playing around with what is in the code tonight, it's pretty cool, but like you said the client wouldn't let you place anything down on a sloped surface.
At least we can place NPCs in houses fine, which could be interesting in the future if someone wanted to mod the server to allow players to be able to hire interesting different NPCs, etc.
Do you think that the placement code in the client is hard coded or could there possibly be something that isn't being communicated that could adjust the placement values for more extreme surfaces? :D

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sun Jan 13, 2008 6:30 pm

Not sure, I played around with the various unknowns in the WS_MoveObjectMode packet but I was unable to find anything that would let me adjust it for non flat surfaces.

Andrew
Retired
Posts: 71
Joined: Fri Dec 14, 2007 8:33 am
Location: England
Contact:

Post by Andrew » Tue Jan 15, 2008 8:45 am

I figured out what "unknown" in "WS_MoveObjectMode" does.
The value of "1" lets you position objects on the ceiling.
http://bayimg.com/oaJHbAaba - value 1
The value of "2" lets you position objects on the walls or floors in a different position then what you would get if you were to just to not set the variable.
http://bayimg.com/oAjhCAAba - value 2
Although you can change the way you can position objects you can not set them. You're still bound by what you were without setting this variable so there must be something else which controls how you set an object (ie if an object can go on a wall or not).

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Thu Feb 28, 2008 4:28 pm

This feature has been added, closing.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests