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

Models for AI

HOT
broken avatar :(
Created 6 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
6,989 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Is it possible to spawn a AI soldier with a model from the game files like "Xmodels" folder for example? I noticed its not possible to change there model in-game but i noticed that there is a button to the right in the KvPs for changing the model of an actor/AI however doing so does nothing at all. So is there a way to do this?
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Solved!
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 4 days ago
Posts
645
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
Signature
My published cod maps:

Subzero
Djinncaves
Enclosed (a.k.a baconcube)
Bayern
Snowblind
Furtrelock

Black Ops Perks: https://www.ugx-mods.com/forum/scripts/55/call-of-duty-world-at-war-black-ops-perks/22180/
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTheRevenantSkullTeffrieTeffrieGympie5#5971
Solved!

It's great you solved it but can you post the solution about this question?
Maybe someone has the same question and wants to learn about this.
Last Edit: April 30, 2018, 07:03:04 am by gympie6
broken avatar :(
×
broken avatar :(
Location: usAustria
Date Registered: 5 August 2016
Last active: 4 years ago
Posts
76
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
ColdShrimp2's Groups
ColdShrimp2's Contact & Social Links
It's great you solved it but can you post the solution about this question?
Maybe someone has the same question and wants to learn about this.
Create a new character gsc & csv file and set the model to the model(s) you want(has to have the correct joints), put them in a folder called "character" in your mod folder. Then create a new folder called "aitype". Find the aitype you want from raw>aitype and copy paste it to your aitype folder in your mod and change the character it links to it to the one you previously made.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Create a new character gsc & csv file and set the model to the model(s) you want(has to have the correct joints), put them in a folder called "character" in your mod folder. Then create a new folder called "aitype". Find the aitype you want from raw>aitype and copy paste it to your aitype folder in your mod and change the character it links to it to the one you previously made.
Exactly what he said
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 3 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
I noticed its not possible to change there model in-game

You can actually change the model via script, that's all a character file does is sets the model. You just need to preCache the model before using it.

but i noticed that there is a button to the right in the KvPs for changing the model of an actor/AI however doing so does nothing at all.

Did you include the model in your .csv?
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
You can actually change the model via script, that's all a character file does is sets the model. You just need to preCache the model before using it.

Did you include the model in your .csv?
Huh...i never knew you could do that! no i did not include the model in the csv. What do i put for that? xmodel, modelnamehere? also does it require a script?
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
Huh...i never knew you could do that! no i did not include the model in the csv. What do i put for that? xmodel, modelnamehere? also does it require a script?
does it require a script - to change a model via script?

hmm
Last Edit: May 02, 2018, 08:00:28 pm by Harry Bo21
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
does it require a script - to change a model via script?

hmm
Ok no one asked for your sarcasm. thanks. And i was asking if it requires a script because he made it seem like you don't and you could just precache the model in and then change it in radiant. So i apologize
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 3 years ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
respect the dead

donates greatly appreciated :) paypal.me/F3ARxReaper666
discord server:
https://discord.gg/tsGHW99
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ok no one asked for your sarcasm. thanks. And i was asking if it requires a script because he made it seem like you don't and you could just precache the model in and then change it in radiant. So i apologize
but precaching is done in a script  ???
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
and he never said anything about radiant

radiant is for mapping bro...
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
and he never said anything about radiant

radiant is for mapping bro...
I am talking about the KVPS...bro....


And plus...im not trying to offend anyone so sorry i don't know much about scripting or anything...god. I swear it feels like i can never ask for help here.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 3 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
I am talking about the KVPS...bro....


And plus...im not trying to offend anyone so sorry i don't know much about scripting or anything...god. I swear it feels like i can never ask for help here.

In order to use the KVP my guess is you would have to include the model in your .csv. Although as far as I can find there isn't a KVP for changing the AI model in radiant

As for changing via script the others are correct, preCache is done via script before _load::Main() is called and the model has to be included in your .csv

So in short if you aren't specifically placing a model into the world in radiant it needs to be included in the .csv file
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
I am talking about the KVPS...bro....


And plus...im not trying to offend anyone so sorry i don't know much about scripting or anything...god. I swear it feels like i can never ask for help here.
which would still not make sense because he said "by scripting it" not "by setting kvps in radiant"
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
which would still not make sense because he said "by scripting it" not "by setting kvps in radiant"

Ok..chill the hell out man. I am new to scripting alright? No need to be a smart ass.


Also in Radiant there is a KVP called model for the actor. It is set to there default model and you can click the box with the three dots and it would bring up the xmodel folder ( if you set it to it ) and you could select a model..However it does not work at all....So my apologies for being to dumb to find a script for this Harry...More importantly i never knew you need to have a script for changing models. I am just simply looking for assistance with this...And if someone could give a script to use for changing AI/Actor models would be HIGHLY appreciated and i would make sure to credit the person in my maps when using the scripts.

 
Loading ...