Giter Club home page Giter Club logo

Comments (9)

Wyqer avatar Wyqer commented on August 17, 2024

Does this also happen with a fresh missionfile from here?
It would be best, if you provide the code which you've changed in your missionfile, als you say you've made additions for RHS.

from greuh_liberation.altis.

eeriestwalnut55 avatar eeriestwalnut55 commented on August 17, 2024

I will test fresh from here, I was actually in the process of doing that when i had to leave, so i figured I will post and see if someone had already run into this issue. If not I will post my edits for RHS. All I have changed is the classnames_extension.sqf. I will also upload that in a moment or two.

from greuh_liberation.altis.

eeriestwalnut55 avatar eeriestwalnut55 commented on August 17, 2024

Update:

After testing the raw data from here i found that ammo boxes were working as they were supposed to.

Here is my classnames_extension.sqf I have edited, this is the only file I have altered
http://pastebin.com/2uXAJcEX

I am not sure where I have made the mistake.

from greuh_liberation.altis.

Wyqer avatar Wyqer commented on August 17, 2024

ammobox_b_typename = nil; // Default "Box_NATO_AmmoVeh_F";
ammobox_o_typename = nil; // Default "Box_East_AmmoVeh_F";
opfor_ammobox_transport = "rhs_gaz66o_msv"; // Default "O_Truck_03_transport_F";

You can't recycle an Ammo Box, because you set the Classnames for the ammo boxes to nil.
So the script don't know which kind of ammobox it should attach the recycle Option.
I would recomment you insert the default values,

ammobox_b_typename = "Box_NATO_AmmoVeh_F";
ammobox_o_typename = "Box_East_AmmoVeh_F";

from greuh_liberation.altis.

eeriestwalnut55 avatar eeriestwalnut55 commented on August 17, 2024

Okay, that makes sense, I thought setting it to nil used the default value. I will fix this, thank you for your assistance!

from greuh_liberation.altis.

eeriestwalnut55 avatar eeriestwalnut55 commented on August 17, 2024

So I thought that this would be a simple fix but it would appear something else is messing with the ammo box recycling. I have replaced the nil with my own custom values and still had the Scalar NaN issue. I used default values and had the Scalar NaN issue. My last attempt was to use a fresh copy off this github and place my classname extensions.sqf over top of it so that i know no other files were edited and I am still having the issue.

Here is my most recent classname extensions.sqf file

http://pastebin.com/acHaQMSu

I am sure it is something simple that I am missing but I cannot for the life of me figure it out. I appreciate the assistance. Thank you.

from greuh_liberation.altis.

Wyqer avatar Wyqer commented on August 17, 2024

First thought from my side:

You have again 2 nils in your extension. Just set the default values there:
FOB_typename = "Land_Cargo_HQ_V1_F";
FOB_box_typename = "B_Slingload_01_Cargo_F";

from greuh_liberation.altis.

eeriestwalnut55 avatar eeriestwalnut55 commented on August 17, 2024

So this also did not work, however in comparison to the classnames_extension.sqf that is provided from this git, the values of support stuff in the default one are all nil, leading me to believe that a nil value at the top is not causing this error, i am attempting to compare elsewhere in this sqf to see if I miss anything, do you know of anything else that could cause an error like this?

My other thought is since the modded sqf overwrites vehicles instead of replacing them there could be an issue inside of that part ... I will test that.

Edit: So I have discovered 2 things. If I do not use overwrite = true and use do use the default ammo crates it works fine. If I use any other object as an ammo crate and keep overwrite = false it does not work. If i use default ammo crate and overwrite = true it does not work. I am currently going through each overwrite = true one by one to see what is causing the problem. Do I need an ammo crate under another section to get it to work?

from greuh_liberation.altis.

eeriestwalnut55 avatar eeriestwalnut55 commented on August 17, 2024

Okay, I have solved the issue

When using the classnames_extension.sqf under the support vehicles overwrite, if you want to overwrite support vehicles you MUST include the ammobox class names in this section and set a value for them. It will NOT read the default values. I suggest to the editing team that in their comment they mention the ammoboxes as a required field as well. See below for example

support_vehicles_overwrite = true; // If you're going to overwrite this, make sure you have at least Arsenal_typename, Respawn_truck_typename, FOB_box_typename and FOB_truck_typename in there (Please add ammobox_b_typename and ammobox_o_typename to this section.)
support_vehicles_extension = [
[Arsenal_typename,10,0,0],
[Respawn_truck_typename,20,0,5],
[FOB_box_typename,30,50,0],
[FOB_truck_typename,30,50,5],
["Box_NATO_AmmoVeh_F",0,100,0],
["Box_East_AmmoVeh_F",0,100,0],

from greuh_liberation.altis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.