FOnline Development > 3D Development
[TUTORIAL] Importing models for Items/Weapons into the game.
Jotisz:
3 item is done well actually 2 since the red and yellow access card uses the same mesh but different texture.
A sidenote I just seen that some textures has bmp format at the misc items it would be better to convert them to png, and another thing for weapons the WP naming is ok but I think that for misc items we should use something else like MI so its easier to find them in _FoHuman.fo3d. Anyway here is what I was able to add in:
--- Code: ---Value 255 Attach MI_DayPass.x Texture 0 ITEM_DayPass.png Link R_Handle_1 Scale 0.6 MoveX 12
Value 144 Attach MI_AccessCard.x Texture 0 ITEM_AccessCardR.png Link R_Handle_1 Scale 1.6 MoveX 10
#Value 144 Attach MI_AccessCard.x Texture 0 ITEM_AccessCardY.png Link R_Handle_1 Scale 1.6 MoveX 10
--- End code ---
I wasn't able to find the other AccessCard so I just made a duplicate of the same item not sure how to add new items for Fonline so I left it as it is. Download items from here:
http://db.tt/f2R1Ah2w
Haraldx:
I used MISC_Super_tool_kit.x, works just fine.
Graf:
Some new stuff has been done.
Download link
--- Code: --- Value 390 Attach WP_solar_scorcher.x Texture 0 ITEM_solar_scorcher.jpg Link R_Handle_1 Scale 0.1 RotX -90 RotY -15
Value 393 Attach WP_phazer.x Texture 0 ITEM_phazer.jpg Link R_Handle_1 Scale 0.3 RotX -90 RotY -15
Value 4 Attach WP_knife.x Texture 0 ITEM_knife.jpg Link R_Handle_1 Scale 2 RotY -90 MoveZ -5.5 MoveX 2
Value 236 Attach WP_CombatKnife.x Texture 0 ITEM_combat_knife.jpg Link R_Handle_1 Scale 0.25 RotY -90 MoveZ -5.5 Mov
Value 21 Attach WP_brassknuckles.x Texture 0 ITEM_brassknuckles.jpg Link R_Handle_1 Scale 0.4
--- End code ---
I also had made a table where one can easily mark which miscellaneous items has been imported.
Jotisz:
Looking nice here I just did the briefcase.
--- Code: ---Value 72 Attach MI_BriefCase.x Texture 0 ITEM_BriefCase.png Link R_Handle_1 Scale 12 MoveX 10 MoveZ -5 RotX -90 RotZ -110 RotY 180
--- End code ---
Sadly if he keeps the briefcase a bit more down then he keeps hitting his legs with it during walking.
Haraldx:
Whatever is the reason, I can't seem to get neither the Field medical kit or the medical supplies bag working.
--- Code: --- Value 428 Attach MISC_Medical_Supplies.x Texture 0 ITEM_Medical_Supplies.tga Link R_Handle 1
Value 408 Attach MISC_Field_Medic_Kit.x Texture 0 ITEM_Field_Medic_Kit.jpg Link R_Handle 1
--- End code ---
Tried every possible scale, from 0.05 up to 60. Nothing seems to do anything. Tried different values, nothing. Looked around the files in case I might have used wrong file names or extensions - nothing.
On the other hand, other things work.
@Jotisz, I feel you. I had to make the super tool kit a little slanted while holding in order to make it not clip through his leg.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version