Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 61 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty: World at War
Category: CoDWW Scripting
Scripting and coding with Call of Duty: World at War.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: player models
irishstorm
General Member
Since: Jan 19, 2009
Posts: 128
Last: Feb 25, 2011
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Thursday, May. 14, 2009 12:35 pm
hi there again,
i am trying to change player models
to "nazi_hellhound_black"
i guess its one of these codes but which?
Code:
	    self setModel("nazi_hellhound_black");
Code:
		self setViewmodel("nazi_hellhound_black");

this is what i have come up with
Code:
main()
{
   thread onPlayerConnect();
   thread precache();
   thread nogun();
}

nogun()
{
	self endon("game_ended");
	self endon("disconnect");
	while(1) 
	{
		if(getdvar("cg_drawGun") == "1" )
		{
			setDvar( "cg_drawGun", "0" );
		}
		wait 0.05;
	}

precache()
{
	precacheModel("nazi_hellhound_black");
}

onPlayerConnect()
{
   for(;;)
   {
      level waittill("connected", player);
      player thread onPlayerSpawned();
   }
}

onPlayerSpawned() 
{
   for(;;)
   {
      self waittill("spawned_player", player);   
      if(self.pers["team"] == "allies")
      {
	    self setModel("nazi_hellhound_black");
		self setViewmodel("nazi_hellhound_black");
	    self.voice = "american"
      }
   }
}


any help would be good XD
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Thursday, May. 14, 2009 01:13 pm
For zombies or MP?
Share |
irishstorm
General Member
Since: Jan 19, 2009
Posts: 128
Last: Feb 25, 2011
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Thursday, May. 14, 2009 01:23 pm
mp
Share |
irishstorm
General Member
Since: Jan 19, 2009
Posts: 128
Last: Feb 25, 2011
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Thursday, May. 14, 2009 09:44 pm
anyone?
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoDWW Scripting
Posted: Thursday, May. 14, 2009 11:42 pm
Easiest way is to use AssMan and re-create the character (body+head+gear+hat+hands) and also then the mptypes. I suggest creating new files for each rather than altering the existing. You can then adjust _teams.gsc to match.

Alternatively take a look at the character already setup in /raw/character/

Note that if for MP then you cannot use the SP body models as they arent rigged for MP.

edited on May. 14, 2009 07:43 pm by zeroy
Share |
irishstorm
General Member
Since: Jan 19, 2009
Posts: 128
Last: Feb 25, 2011
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Thursday, May. 14, 2009 11:53 pm
go raibh maith agat !!!!! how would i go about converting them?
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Friday, May. 15, 2009 08:43 am
irishstorm writes...
Quote:
go raibh maith agat !!!!! how would i go about converting them?


When I first saw this post couple of days ago, I didnt realise that the zombie model you wanted to use was a dog model. Dogs aren't rigged at all for players, but for AI animal actors. People (Sevensniff springs to mind) have tried to rig them so that they can apply the xmodel to a player, but the dog's skeletal rig just wont allow it (its a 4 legged actor - not a 2 legged upright one).
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»