
Temptii
Joined: Jul 21, 2009
|
Posted: Jun 22, 2017 03:53 PM
Msg. 1 of 6
I'm kind of new to this. Is it possible to set a property (as opposed to an effect) to have a model spawn inside of another model at a marker?
For example, let's say I have a gun rack as a scenery object, and I want to spawn a scenery object of a gun at a particular marker in the rack. Is this possible without effects or scripts?
|
|
|

lolslayer
Joined: Mar 21, 2015
https://www.youtube.com/watch?v=uMHbAKvPJkU
|
Posted: Jun 22, 2017 04:39 PM
Msg. 2 of 6
Hey man, you didn't post for a while lately
|
|
|

Tucker933
Joined: May 27, 2010
loliporn.net
|
Posted: Jun 22, 2017 07:07 PM
Msg. 3 of 6
You'd want to place it with sapien. It'd be as simple as dragging it to where you want, and adjusting rotation. Edited by Tucker933 on Jun 23, 2017 at 01:44 AM
|
|
|

DeadHamster
Joined: Jun 8, 2014
https://discord.gg/Neu4EJM
|
Posted: Jun 23, 2017 12:26 AM
Msg. 4 of 6
In the 3D model or gbxmodel add a marker at the position. Spawn an object, and then use the script objects_attach
Your gunrack must be a named scenery object, and the weapon must also be a named object. This is not practical for spawning multiple of the same object, but once a weapon is picked up you can spawn another
You can connect one object to another using the marker name. Google for the BLAM script bible for a better explanation of the syntax you'll need for the scripts.
|
|
|

killzone64
Joined: Jun 9, 2010
sometimes i miss the chaos occasionally
|
Posted: Jun 23, 2017 12:29 AM
Msg. 5 of 6
Quote: --- Original message by: Temptii I'm kind of new to this. Is it possible to set a property (as opposed to an effect) to have a model spawn inside of another model at a marker?
For example, let's say I have a gun rack as a scenery object, and I want to spawn a scenery object of a gun at a particular marker in the rack. Is this possible without effects or scripts? pretty much right click to place the gun scenery and make small adjustments to the coordinates till its where you want it to be. if you want to place actual weapons like that you just need to do the same thing but check a flag so it doesnt fall, cant remember what its called though since i havent used sapien in forever lol. i think it was object already at rest or something. Edited by killzone64 on Jun 23, 2017 at 12:30 AM
|
|
|

MatthewDratt
Joined: Sep 11, 2010
TAKEDOWN IS OUT MattDratt.com
|
Posted: Jun 23, 2017 12:45 AM
Msg. 6 of 6
If you turn off gravity in sapien you can move the weapon with the global XYZ arrows on the object
|
|
|