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

Members Online

»
0 Active | 35 Guests
Online:

LATEST FORUM THREADS

»
Call of Duty«: WWII
CoD WW2 General
SOF2 Prefabs map
SoFII Mapping
coduo mapping tools
CoDUO 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 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Breakables eye candy ?
mayhem
General Member
Since: Sep 11, 2007
Posts: 61
Last: Sep 1, 2008
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Friday, Aug. 29, 2008 05:26 pm
u need to have a file in your create effects folder called mp_name_fx.gsc.

Here is an example.

main()
{

ent = maps\mp\_utility::createOneshotEffect( "name of fx id");
ent.v[ "origin" ] = ( 1264, -808, 325 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "name of fx id";
ent.v[ "delay" ] = -3;

}

also dont forget to put "maps\createfx\mp_mapname_fx::main();"
in your .gsc file and rawfile,maps/createfx/mp_mapname_fx.gsc in your .csv



edited on Aug. 29, 2008 08:28 pm by mayhem
Share |
one_richard
General Member
Since: Aug 24, 2007
Posts: 279
Last: May 11, 2009
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 30, 2008 04:47 am
The FX now is playing by it self but the red FX object still there.
Share |
one_richard
General Member
Since: Aug 24, 2007
Posts: 279
Last: May 11, 2009
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 30, 2008 12:12 pm
Any suggestions?

What i did wrong during the creation of the FX object?
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 30, 2008 03:00 pm
The FX is playing by itself, because the createfx script is telling it to... there is nothing to trigger it or to stop it from being triggered... so that is basically no use to you.. so you can remove all the createfx stuff.

Place this line in your mapname.gsc file instead of your _fx one.

level._effect["exp_wall_cinderblock_96"] = loadfx("breakables/exp_wall_cinderblock_96");

Also,did you link them correctly? origin->FXmodel and not the other way around.. Also note.. it IS a CoD tutorial, so it might work totally different in CoD4 :p

I'll see if I can get it to work tomorrow and I'll get back to you.


Share |
one_richard
General Member
Since: Aug 24, 2007
Posts: 279
Last: May 11, 2009
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 30, 2008 04:20 pm
Thank you all

I┬┤ve found the error

for the FX model, I┬┤ve used an misc model, insted of a script model

man!! [duh]
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

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

»