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

Members Online

»
0 Active | 94 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
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Triggers in SP
klemen100xxx
General Member
Since: May 21, 2011
Posts: 10
Last: Jan 21, 2013
[view latest posts]
Level 0
Category: CoD Mapping
Posted: Saturday, Jun. 18, 2011 09:28 pm
Triggers in SP just won't work. When i step on trigger hurt it won't hurt me and I can't trigger my crane to move. I did everything correctly, I'm sure of it. Problem is that trigger doesn't detect me. Anyone knows how to fix this?

edited on Jun. 19, 2011 12:42 am by klemen100xxx

Even triggers in other maps do not work(Jerries spawners, triggers ai...). Which they previously used to.
Share |
codmp
General Member
Since: Feb 7, 2006
Posts: 905
Last: Aug 1, 2011
[view latest posts]
Level 7
Category: CoD Mapping
Posted: Sunday, Jun. 19, 2011 09:05 am
Assuming everything is set up correctly in radiant, it sounds like there is a problem with the script. How's the script look, and is everything in its proper location?
Share |
klemen100xxx
General Member
Since: May 21, 2011
Posts: 10
Last: Jan 21, 2013
[view latest posts]
Level 0
Category: CoD Mapping
Posted: Sunday, Jun. 19, 2011 12:02 pm
main()
{

setCullFog (0, 3000, .01, .01, .01, 0);
maps\_load::main();

// This little bit equips you with some weaponry. You need specifiy which items to equip your character.
level.player takeallweapons();
level.player giveWeapon("m1carbine");
level.player giveWeapon("thompson");
level.player giveWeapon("colt");
level.player giveWeapon("fraggrenade");
level.player switchToWeapon("thompson");

thread crane_crane();
thread crane_lift();
thread crane_bars();

}

crane_crane()
{
crane_crane = getent ("crane_crane", "targetname");
trig = getent ("crane_triggerall", "targetname");
while(1)
{
trig waittill ("trigger");
crane_crane rotateyaw (360, 30, 5, 5);
crane_crane waittill ("movedone");
wait(35);
crane_crane rotateyaw (-360, 30, 5, 5);
crane_crane waittill ("movedone");
}
}

crane_lift()
{
crane_lift = getent ("crane_lift", "targetname");
trig = getent ("crane_triggerall", "targetname");
while(1)
{
trig waittill ("trigger");
crane_lift rotateyaw (360, 30, 5, 5);
crane_lift waittill ("movedone");
wait(4);
crane_lift movez(-1080,10,2,2);
crane_lift waittill ("movedone");
wait(21);
crane_lift movez(1080,10,2,2);
crane_lift waittill ("movedone");
wait(4);
crane_lift rotateyaw (-360, 30, 5, 5);
crane_lift waittill ("movedone");
}
}

crane_bars()
{
crane_bars = getent ("crane_bars", "targetname");
trig = getent ("crane_triggerall", "targetname");
while(1)
{
trig waittill ("trigger");
crane_bars rotateyaw (360, 30, 5, 5);
crane_bars waittill ("movedone");
wait(4);
crane_bars movez(-1080,10,2,2);
crane_bars waittill ("movedone");
wait(10);
crane_bars rotateto((-90,10,0),1);
crane_bars movex(-40,1);
crane_bars movey(50,1);
crane_bars waittill ("movedone");
wait(10);
}
}





thats the script, but its not the problem cos even iw levels dont work and trigger hurt doesnt work.

edited on Jun. 19, 2011 09:24 am by klemen100xxx

Ok reinstaled the game iw levels work now, map wont compile. type shader /world not found, all other maps ocmpile well. Trigger in my level still inst working.

edited on Jun. 19, 2011 09:56 am by klemen100xxx

shader type 'world/' not found thats the eroe in first step of compile

in second it couldnt write to bsp

edited on Jun. 20, 2011 08:44 am by klemen100xxx


if i delete that craen where all moving is map compiles noramaly and origins of these tree are in same place one above other
Share |
klemen100xxx
General Member
Since: May 21, 2011
Posts: 10
Last: Jan 21, 2013
[view latest posts]
Level 0
Category: CoD Mapping
Posted: Wednesday, Jun. 22, 2011 12:28 pm
help?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD 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

»