mariodog27 Posted March 18, 2012 Posted March 18, 2012 i am new to modding and i have came upon a small problem. i was making some robots in my vault for decoration, but i cant get them to be friendly and /or to not move. it would really help if you could tell me how to fix this problem. thanks
GrindedStone Posted March 18, 2012 Posted March 18, 2012 NPC an creatures use AI packages. They are in a list that the AI scans from top to bottom, it always starts at the top. It's looking for a true. That is the condition of the package to return a yes instead of a no. The combat package is built into the code not into the list, but based upon the settings in the combat style if there is no style then it's the default. When you attack them it automaticly puts them in combat or the combat package. You can override that with a package in the list. For example the first package on this NPC/creature would be set up to make them travel to a persistant X marker you placed an also flagged to continue durring combat. Then remove the other packages in the list. The friendly thing is just a matter of changing the npc/creature to a member of the player faction. The other way would turn the npc/creature mesh into a static object. This would require running the mesh thru blender. Posing the mesh. Deleting the skeleton. Deleteing the bone weight. Scale an rotation to Obdata. Export. Then transfering only the Ni Tri Shapes to a freshly unpacked vanilla static mesh in order to quickly obtain the correct string index structure as well as the havok data. Then you would update arays on bi normals an tangents, update tangent spaces. Set your texture paths. Set your shader flags. And adjust the havok mesh to roughly fit or use an editor primitive collision.
caramellcube Posted March 18, 2012 Posted March 18, 2012 I think there are already statics for the robots, listed as RobCo display or something like that, looking for the robot names (sentry, protectron...) in the statics list might work.
mariodog27 Posted March 18, 2012 Author Posted March 18, 2012 I think there are already statics for the robots, listed as RobCo display or something like that, looking for the robot names (sentry, protectron...) in the statics list might work. thanks! i tried it and it worked! i really appreciate it.
Recommended Posts