Jump to content

» «

need help with models!

1 reply to this topic
  • Maddy25


  • Members
  • Joined: 14 Jan 2009


Posted 06 March 2009 - 11:53 AM


im new to modding.
as researching for special models is quite hard, i wanted to make a mod myself to have a button to spawn the next modelElement of the eModel list (and deletes the old one), the name of the model shall get displayed at the same time, so that i can search for special models very quick.
i already managed to spawn models on where im aiming to (just like in the superspawner mod) , but there must be a way to switch models very quick.

i thought about putting all models into an array and then get them by index but i think theres no method to put them all in one array at once, except i add each model to the list by hand but that would be quite much work i guess...

by the way, does anyone have a complete model list for all models, just like on http://www.gtamoddin...=Category:GTA_4
i would love to have them all in an arraylist and simply point to the next by one button...

  • Hergonan


  • Members
  • Joined: 31 Aug 2005


Posted 06 March 2009 - 12:23 PM

Attempt to load all possible models at once, then check if they are loaded afterwards.
If loaded, make the program add them to the array.
If not done correctly this will eat your resources up tounge.gif.

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users