Jump to content

CK - "GetRandomPositionOnGround" ? xD


blank_v

Recommended Posts

Posted

Heilo :o...

So i need Function to get X Y Z of position on ground... hmm... more like... first collision...

 

atm. im using invibisle very small clutter item that i drop on ground and wait 2 sec to get position...

but with this option i have few problems

 

1) Invisible object can fall far away if player is standing on mountain / ramp or somewhere

2) I can be moved by other forces 

3) its moving almost all time =_=...

 

so i need way to get X Y Z on of near "floor" around player character...

and this object will not move with forces around ( like for example spells etc. ) and will not fall too far away from player

 

I was trying to google some DLLs for Papyrus but i can't find anything that can help me T_T...

 

I wanted to make Building system like u have in Failout... but more like in Rust or Arc 

so u can build things walls etc. but i don't know how to "stick" object to ground ( so player can't build flying structures just by moving mouse up )

 

option with clutter is working only on flat terrain T_T... 

Posted

Instead of dropping an object, couldn't you derive the ground height from player.getpos z ? But if the player jumps up on something first then they'll still be able to put down "floating" objects...

 

If you ask me, the major flaw in Fallout's building system was the artificial restraints they put on item placement, so I'd just do without and let the player decide where they want things.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...