
Scotland Mod V2.0 In The Make! (Work In Progress) UPDATE 06/6/11!
#401
Posted 29 November 2009 - 03:52 PM
#402
Posted 29 November 2009 - 04:56 PM

Executive Director: Forum Child Watch
Think a lot. Say little. Write nothing.
-J.P. Morgan
#403
Posted 29 November 2009 - 05:09 PM
Same can't waitGreat. Can't wait for the video
#405
Posted 29 November 2009 - 05:41 PM
Great. Can't wait for the video
#406
Posted 29 November 2009 - 07:19 PM
#407
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;
{
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)
{
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


Cops
Edited by cops, 29 November 2009 - 07:53 PM.
**NOTE**
I don't take any requests any more,except for ;
Red Watch (RCMP)
#408
Posted 29 November 2009 - 07:50 PM
Tutorial here - Has everything you need for it.

"A model is only as good as it's skin"
#409
Posted 29 November 2009 - 07:51 PM
#410
Posted 29 November 2009 - 07:54 PM
I complete forget that tutorialThe 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.
**NOTE**
I don't take any requests any more,except for ;
Red Watch (RCMP)
#411
Posted 30 November 2009 - 02:42 PM
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.
#413
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***
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!!!
#414
Posted 30 November 2009 - 07:54 PM

Executive Director: Forum Child Watch
Think a lot. Say little. Write nothing.
-J.P. Morgan
#415
Posted 30 November 2009 - 07:57 PM
#419
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
#420
Posted 30 November 2009 - 08:08 PM

Executive Director: Forum Child Watch
Think a lot. Say little. Write nothing.
-J.P. Morgan