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

Members Online

»
0 Active | 64 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 4
Category: CoD4 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Swapping models
Metroid
General Member
Since: Aug 24, 2010
Posts: 30
Last: Oct 8, 2010
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Sep. 23, 2010 08:11 pm
Hello
I was wondering if it's possible to swap models, such as making a helicopter appear as a trashcan, or an airstrike appear as a brick.




Thanks
Share |
tHMatt
General Member
Since: Sep 11, 2007
Posts: 473
Last: Mar 20, 2013
[view latest posts]
Level 5
Category: CoD4 General
Posted: Thursday, Sep. 23, 2010 08:21 pm
In the GSC's of either the Airstrike or the Helicopter, edit there "setmodel" function to what model you wish.. so if we have

self setmodel("xmodel/fighterplaneboomboom");

change that to

self setmodel("xmodel/trashboy");

But dont forget to precache.
Share |
Metroid
General Member
Since: Aug 24, 2010
Posts: 30
Last: Oct 8, 2010
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Sep. 23, 2010 08:43 pm
What does precache mean and how do I do it?

Thanks
Share |
Mystic
General Member
Since: Apr 10, 2004
Posts: 6147
Last: Apr 15, 2018
[view latest posts]
Level 10
Forum Moderator
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Sep. 23, 2010 10:10 pm
Code:
main()
{
 
   precachemodel("xmodel/name of model here");

}

main()

{
	precacheFX();
	thread mythread();
}

precacheFX()
{
      precachemodel("xmodel/name of model here");
}

mythread()
{

script here


}
Share |
Metroid
General Member
Since: Aug 24, 2010
Posts: 30
Last: Oct 8, 2010
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD4 General
Posted: Thursday, Sep. 23, 2010 11:43 pm
That doesn't really help me seƱor Mystic.
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD4 General
Posted: Friday, Sep. 24, 2010 12:33 am
basicly what mystic said u have to make sure that u precache your model in a main() function or else ull have errors thrown at u so just put
precachemodel("xmodel/name of model here");
in your main() function
Share |
Metroid
General Member
Since: Aug 24, 2010
Posts: 30
Last: Oct 8, 2010
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD4 General
Posted: Friday, Sep. 24, 2010 01:47 am
Ok so here is the steps:
1: Find the GSC file, r(aw/maps/mp/Helicopter.gsc)
2: I guess make a copy in case I screw it up
3: Put the precache in the helicopters GSC file
4: Put wherever the GSC file is at into the mod, so I can test it out. It's located in raw/maps/mp, so can I put the whole raw file into a mod so I can test it or just the helicopter/gsc.


Thanks
Share |
Metroid
General Member
Since: Aug 24, 2010
Posts: 30
Last: Oct 8, 2010
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD4 General
Posted: Friday, Sep. 24, 2010 08:11 pm
I really need help, PLEASE!
Can someone make a list in order of the things im supposed to to?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 General

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

»