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

Members Online

»
0 Active | 99 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: Getting the SP flare working
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Sunday, Jun. 21, 2009 04:38 pm
Remember the flare that goes up in the first sp map in waw? Im trying to get it to work for my map but I havnt to yet. The flare is a vehicle so I made a path of a vehicle and I have added the following to my map gsc

maps\_flare::main( "tag_origin", undefined, "white" );

looking at MAK.gsc I saw they had this line

level maps\_flare::flare_from_targetname( "flare1", 1, 2, 1, ( 0.83, 0.82, 1 ) );

so I made my vehicle have a targetname flare1 and add this to my map

Code:
flare()
{
	trigger = getent ( "flaretrig", "targetname" );
	trigger waittill ("trigger");
	level maps\_flare::flare_from_targetname( "flare1", 1, 2, 1, ( 0.83, 0.82, 1 ) ); 

	wait( 5 );


}


cause I want it to flare when i hit a trigger I also added the csv lines

rawfile,maps/_flare.gsc
fx,misc/flare_start
fx,misc/fx_flare_sky_white
fx,misc/flare_end


At the moment when I start the map it loads and then game immediately exits.

I might be on the completely wrong track anyone have any suggestions or know how to do this?
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoDWW Scripting
Posted: Sunday, Jun. 21, 2009 04:46 pm
whats the error message in console?
Share |
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Sunday, Jun. 21, 2009 04:55 pm
Sevenz writes...
Quote:
whats the error message in console?


there is no error message....map loads...gets to end of load...codwaw exits back to desktop.
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoDWW Scripting
Posted: Sunday, Jun. 21, 2009 05:41 pm
Did you try this? http://wiki.treyarch.com/wiki/Add_Flares_To_Your_Map

It looks a bit too simple for my liking.
Share |
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Sunday, Jun. 21, 2009 05:51 pm
techno2sl writes...
Quote:
Did you try this? http://wiki.treyarch.com/wiki/Add_Flares_To_Your_Map

It looks a bit too simple for my liking.


ya i tried it it didnt work, also thought it was a bit to simple...i havnt tried but I think its mp only.
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoDWW Scripting
Posted: Sunday, Jun. 21, 2009 06:40 pm
include,module_flare.csv

(go into that module though and comment out the d3dbsp)
Share |
bustajonesgavin
General Member
Since: Mar 31, 2009
Posts: 16
Last: Aug 26, 2009
[view latest posts]
Level 1
Category: CoDWW Scripting
Posted: Friday, Aug. 21, 2009 11:25 pm
Looks like Treyarch uploaded a tutorial written by Chris P, for Japanese Ambushing. This has flare stuff in it too!

http://wiki.treyarch.com/wiki/Japanese_Ambush

Share |
mr_sly
General Member
Since: Apr 10, 2007
Posts: 138
Last: May 29, 2015
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Wednesday, Feb. 24, 2010 03:39 pm
i think that iof you can set upthat flare in the clinent side it might work a the flare fx is 1shots and only work clientside not serverside so wont run from gsc i think my best guess it has bothered me for ages i want to do the same thingis with other 1shot fx and a trigger setup
still working on it


i got errors about the utiility.gsc and stuff as iwas trying to do it server side adding the scripts to my map.gsc instead of the map.csc's
its all a bit above me but the slow blade penetrates the shield

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

»