Jump to content

VHCal

Members
  • Posts

    241
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by VHCal

  1. Just now, TWMCPE said:

    Thats annoying i want to play lol...

    is it only in the mod and not on the em4 home screen as well?

    the cursor is stored I am pretty sure as an img file within the data folder so you could check that?

    It's not the cursor on the map itself. It's the cursor on the Minimap

  2. 6 hours ago, itchboy said:

    While this method also works, it is quite messy becuase it involves adding more commands, and means a lot of editor work for the end user. Another drawback is that the mod will take much longer to load if you add numerous dummy commands. Each solution has its plus and minuses, but its up to OP to decide.

    I would prefer to script the vehicles into the mod as it would be neater 

     

    ---------UPDATE-----------

    I fixed it by adding 

    if (StrCompare(v.GetPrototypeFileName(), CAR_98) == 0)
    		soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/PH7009.wav", CarPos, true);

    and that seemed to work. Thanks for everyone's input! 

  3. 3 minutes ago, itchboy said:

    Try using else if conditions instead of making them all as 'if' conditions. My first theory is that you have far too many 'if' conditions and the game stops reading that set because you have too many. Try grouping them by 10 at most.

    Another question is, do you have the correct prototypes up in the top? Some people come here complaining about issues but then it ends up being a spelling error with the prototype name.

    Okay seems a bit wired to just stop working, will give it a try.

    I have checked the prototypes and spelling seems to be fine. Just strange that it's only fire vehicles that aren't working.

     

    Thanks for the reply.

  4. Just now, itchboy said:

    Which ones to be specific? Can I have their prototype names?

    Sure, they are:

    const char CAR_50[] = "mod:Prototypes/Vehicles/Kent FRS/Nissan.e4p";
    const char CAR_51[] = "mod:Prototypes/Vehicles/Kent FRS/Officer_car.e4p";
    const char CAR_52[] = "mod:Prototypes/Vehicles/Kent FRS/Sprinter.e4p";
    const char CAR_53[] = "mod:Prototypes/Vehicles/Kent FRS/Incident.e4p";

  5. 1 minute ago, itchboy said:

    What exactly is wrong with this? I dont have any idea what is wrong unless you tell me in particular what happens. Does it crash upon selecting a vehicle? Error when playing command? Or nothing happens when pressing the command?

    Sorry, I didn't explain it very well. Upon pressing the siren button nothing happens for certain vehicles.

    No crash happens.

  6. 3 hours ago, 999madtom said:

    Anyways good luck and don't get overwhelmed by the mod. Remember real life comes first.

    Haha, not when you're a modder. I seem to spend hours on something small then realise the day is gone.

     

    4 hours ago, dunwell99D said:

    I'm not sure what happened in the post above having all the links as well.

    If you need any assistance please give me a message always happy to help a fellow modder!

×
×
  • Create New...