Jump to content


Photo

Scotland Mod V2.0 In The Make! (Work In Progress) UPDATE 06/6/11!


  • Please log in to reply
1187 replies to this topic

#401 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 29 November 2009 - 03:52 PM

Kentfireandrescue is back helping folks. Ahrus Modder Is Helping Edit Scanias As These Are The Ones I Need For Retained Tonight. Im Adding Light Video Tonight. Thanks
Check our website

Be a hero. Learn CPR.

#402 randomperson139

randomperson139

    Forum Ninja

  • Sub-Moderator
  • 5,404 posts
  • Gender:Not Telling
  • Location:Hiding in the shadows...

Posted 29 November 2009 - 04:56 PM

Great. Can't wait for the video :)
Owner of 295 Warning Points
Executive Director: Forum Child Watch

Think a lot. Say little. Write nothing.
-J.P. Morgan

#403 bazz

bazz

    Battalion Chief

  • Members
  • 680 posts
  • Gender:Male
  • Location:southend,england
  • Interests:football,rugby,pc games,xbox 360 games,modding,skinning

Posted 29 November 2009 - 05:09 PM

Great. Can't wait for the video :)

Same can't wait

#404 Forensics

Forensics

    Assistant Chief

  • Members
  • 1,561 posts
  • Gender:Male

Posted 29 November 2009 - 05:15 PM

Me too :) Looking forward to video.


#405 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 29 November 2009 - 05:41 PM

Great. Can't wait for the video :)



#406 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 29 November 2009 - 07:19 PM

How do i add sirens to my truck. Its in game and i have the siren i want to use. How can i make it work on the truck
Check our website

Be a hero. Learn CPR.

#407 cops

cops

    Assistant Chief

  • Members
  • 1,666 posts
  • Gender:Male

Posted 29 November 2009 - 07:45 PM

How do i add sirens to my truck. Its in game and i have the siren i want to use. How can i make it work on the truck


First of al you need the SoSi script (you can download it from www.lamod.emergency-planet.com)
Than you need to add your vehicle prototype line:

**explain**
(LA mod 1.9)
(beginning)


const char CMD_AUTOSIREN_OFF[] = "VcmdAutoSirenOff";
const char EACTION_FINDPATH[] = "EActionFindPath";
const char EACTION_EXTINGUISH[] = "EActionExtinguish";
const char DUMMY_HASSIREN[] = "DummyHasSiren";
const char DUMMY_UPDATEPOS[] = "DummyUpdatePos";
const char DUMMY_FINDPATH[] = "DummyFindPath";
const char DUMMY_HOSESON[] = "DummyHosesAreOn";
const char NAME_DUMMYOBJECT[] = "HelpingObjekt_Hoppah";
const char DUMMY_GETTIL[] = "DummyGetTiller";
(the car line('s))

const char PROTO_ENGINE01[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine1.e4p";
const char PROTO_ENGINE02[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine2.e4p";
than you need to have this:

int DummyGroup = 23;

object VcmdSiren : CommandScript
{
VcmdSiren()
{
SetIcon("sirenson");
SetCursor("sirens");
SetRestrictions(RESTRICT_SELFEXECUTE);
SetPossibleCallers(ACTOR_VEHICLE);
SetGroupID(DummyGroup);
SetGroupLeader(true);
}

bool CheckPossible(GameObject *Caller)
{
if (!Caller->IsValid())
return false;

if (Caller->HasCommand(DUMMY_HASSIREN))
SetIcon("sirensoff");
else
SetIcon("sirenson");

if(Caller->HasCommand(DUMMY_HOSESON))
return false;

return true;
}

bool CheckTarget(GameObject *Caller, Actor *Target, int childID)
{
if (!Target->IsValid() || Target->GetID() != Caller->GetID())
return false;

return true;
}

void PushActions(GameObject *Caller, Actor *Target, int childID)
{
Vehicle v(Caller);
if (!v.HasCommand(DUMMY_HASSIREN))
{
and after this you need to add a line for sirene
}

int soundID;
Vector CarPos = v.GetPosition();
if (StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE01) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE02) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_WATERTENDER) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_LADDER) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_TILLER) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_HAZMAT) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_MOTORBOAT) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_CRASHTENDER) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_USAR) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_MCU01) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_USFS02) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_SWAT_TRUCK) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_HEAVY_RESCUE) == 0 ||
StrCompare(v.GetPrototypeFileName(), PROTO_FBI_COMMAND) == 0)
{
(this is for the Fire department but you also can do it for police EMS etc...)

If I have it wrong please say it to me!!
( you can also look in an siren script for an mod LA mod or something like that)
I hope it works :12: :12:


Cops

Edited by cops, 29 November 2009 - 07:53 PM.

QHVZAKw.png

 

**NOTE**

I don't take any requests any more,except for ;

Red Watch (RCMP)


#408 bennie900

bennie900

    Senior Captain

  • Members
  • 437 posts
  • Gender:Male
  • Location:England

Posted 29 November 2009 - 07:50 PM

The first bit is ok, but the rest of the script has nothing to do with configuring the sounds.

Tutorial here - Has everything you need for it.
Autor of England Mod www.englandmod.co.uk - England Mod Website

Posted Image

"A model is only as good as it's skin"

#409 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 29 November 2009 - 07:51 PM

One more problem. Im Playing A Mod. I Click On The Map And em4 goes Back To Desktop? Its A Legal Version
Check our website

Be a hero. Learn CPR.

#410 cops

cops

    Assistant Chief

  • Members
  • 1,666 posts
  • Gender:Male

Posted 29 November 2009 - 07:54 PM

The first bit is ok, but the rest of the script has nothing to do with configuring the sounds.

Tutorial here - Has everything you need for it.

I complete forget that tutorial

QHVZAKw.png

 

**NOTE**

I don't take any requests any more,except for ;

Red Watch (RCMP)


#411 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 30 November 2009 - 02:42 PM

Scripter(Urgent)
Building Maker For The Bases, Fire Stations etc..
Skinner (Urgent)
Modder! (Urgent) Just to make more models.

Equipment maker.
UV Mapper.

Please Put Your Name Forward To Help The Scotland Mod.
Check our website

Be a hero. Learn CPR.

#412 eyespy900

eyespy900

    Senior Captain

  • Members
  • 251 posts
  • Gender:Male

Posted 30 November 2009 - 02:43 PM

i have made a scania and a hvpu (high volume pumping unit) for my own personal private mod if this would be of use then ur welcome to use them. they are my own models, my own work.

***eyespy900***

Posted ImagePosted Image

Posted ImagePosted Image

#413 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 30 November 2009 - 02:50 PM

i have made a scania for my own personal private mod if this would be of use then ur welcome to use it. it is my own model, my own work.

***eyespy900***

Posted ImagePosted Image


eyespy900. Please Contact Me via Pm. I would love it if you could help our mod. Its Scanias And Mans We Have. But Please PM Me Your A Great Modder. But Be Great If You Could Help!!!
Check our website

Be a hero. Learn CPR.

#414 randomperson139

randomperson139

    Forum Ninja

  • Sub-Moderator
  • 5,404 posts
  • Gender:Not Telling
  • Location:Hiding in the shadows...

Posted 30 November 2009 - 07:54 PM

eyespy900, your models look great. :12:
Owner of 295 Warning Points
Executive Director: Forum Child Watch

Think a lot. Say little. Write nothing.
-J.P. Morgan

#415 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 30 November 2009 - 07:57 PM

Video Is Out. Its Not The Best Just Showing The Truck With The Lights On. Please Say What You Think. Also Its My First Time Doing Lights.


Check our website

Be a hero. Learn CPR.

#416 Forensics

Forensics

    Assistant Chief

  • Members
  • 1,561 posts
  • Gender:Male

Posted 30 November 2009 - 07:59 PM

It looks great :12:


#417 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 30 November 2009 - 08:01 PM

It looks great :12:



Thanks!!
Check our website

Be a hero. Learn CPR.

#418 Forensics

Forensics

    Assistant Chief

  • Members
  • 1,561 posts
  • Gender:Male

Posted 30 November 2009 - 08:02 PM

especially if it's your first time
Keep it up :)


#419 UkMod999

UkMod999

    Battalion Chief

  • Members
  • 622 posts
  • Gender:Male
  • Location:Aberdeen

Posted 30 November 2009 - 08:07 PM

especially if it's your first time
Keep it up :)



Thanks Man. Well Its Identical To The Retained Ones. The Full Time Has Leds And Red Warning Lights At The Back That Flash With The Blue To Warn. That Will Be On The Full Time
Check our website

Be a hero. Learn CPR.

#420 randomperson139

randomperson139

    Forum Ninja

  • Sub-Moderator
  • 5,404 posts
  • Gender:Not Telling
  • Location:Hiding in the shadows...

Posted 30 November 2009 - 08:08 PM

The video looks good. Keep it up :12:
Owner of 295 Warning Points
Executive Director: Forum Child Watch

Think a lot. Say little. Write nothing.
-J.P. Morgan