FOnline Development > 3D Development

3d models development

<< < (449/482) > >>

Johnnybravo:

--- Quote from: Karpov on March 11, 2012, 04:55:25 pm ---(..)
case 241:                     handle = 241;              break;

So now, I add myself a 223 pistol in the game with the command ~ais 241 1 , equip it, and a beautiful 223pistol appears in the hand of the character. I could not believe it, but it works.  :D

Now, for the rest, I was thinking of a Microsoft Excel sheet with those two columns numerated automatically, because Fallout has like 500 items. I don't know if it can be done, and I don't have Excel either.

--- End quote ---

--- Code: --- default:                                 handle = pid;                                                  break;
--- End code ---
This is something you are looking for. Also if you don't like everything doing this (because generic items might just be invisible or other stuff might be wrong), you can just as well do something like this (for all of the items)

--- Code: --- case PID_MINIGUN:
case PID_AVENGER_MINIGUN:
case PID_VINDICATOR_MINIGUN:             handle = pid;                 break;
--- End code ---

Graf:
Wow, that's even better, than I expected. You just keep increasing the level of your works. Keep it up!

I only have one question so far - does it means, that none of the models doesn't need alignment anymore? I just wonder to see my models in the game :p Any screenshot would be just enough.

Karpov:
No Graf, this means that every weapon will be shown as it should in the game. Not all rifles are the hunting rifle, not all pistols are the smg, but we have one model for each Item in the game.  Alignment is still needed, but not a big issue. You see, if you align 1 rifle, you can copy the parameters for every rifle in the game. Then we only need to change the scale.
Now I can start adding the items by ID order. I might need to check that repository of yours, because I don't have all of the items. Do you mind sending me the link to it?

  I will upload the new files when I can use my bandwidth  ;) Then you will see what I mean, it changes a lot the testing experience.

Graf:
Got it, thank you for clarifying. Feel free to use any resources from the test repository, which is located right here.

White150:
Hey Graf can you update wiki? How many items need to be done?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version