UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Model Changing

broken avatar :(
Created 6 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
1,054 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
I was wondering how do you change an AI's model? For example, say i spawned a Soldier Actor/AI and i want his model to be something else like a Soviet or Dog or something, How would i do it? And i don't mean Swapping models.
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
If you going to swap to a different character there's a lot more involved, animations/animscripts are different so it's not just like swapping a model.
You can try detaching all models and calling your character script on the AI, not sure if that works though..


Code Snippet
Plaintext
	self DetachAll();
self character\char_zom_tomb_german::main();


If your new model uses the same joints and animations you can just use  setmodel()
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
If you going to swap to a different character there's a lot more involved, animations/animscripts are different so it's not just like swapping a model.
You can try detaching all models and calling your character script on the AI, not sure if that works though..


Code Snippet
Plaintext
	self DetachAll();
self character\char_zom_tomb_german::main();


If your new model uses the same joints and animations you can just use  setmodel()

i was just going to swap the models to a different character in waw. I guess this will work

 
Loading ...