Hoping Devenddar would be able to help with this one.
Ive been making considerable progress with Tommy’s help with modding a mission. I have run into three issues that cant seem to get past without help.
Everything visually is correct as far as objectives with bomb sites, however cannot plant bombs as no prompt too at bomb site.
While I can build additional objects in the engineers tool, I cant build a vehicle as no preview comes up though i can see it is there in the building tool. (also can you only build 9 items? anyway to add?
Additional to the engineer tool problem, seems that I cant build when playing the mission/mod on customs servers. It shows thats its outside battle area when clearly in the battle area?
Sorry, I meant in the selections wheel. in that picture it shows heaps of options, how do you make that possible? also engineer tool entity ? cant find it in the editor
You can find them in all. If you want make it pickable then you need add +item_in_world in Template Postfix area and then create entity with …_tools_item/…_award_item in name.
To let you know where i’m at. The bomb planting issue has been solved. And I have achieved a way of overwriting previews that initiate another object in order to build a vehicle. Thanks goodness
The next thing im trying to do is get additional building fortifications (not building limits as you mentioned) but being able to build more than 9 different fortifications as that seems to be the limit on the wheel. ie the picture above. Should be able to get some photos through
The other thing is, creating an mg position that actual has a stationary mg on it. As upon building the mg position example (sandbags_wall_mg) is does not have the stationary mg with it.
Okay so, I am now able to build in battle area, unsure what changed though. But how does one transfer the blk. file (entities) into the scene correctly? as i tested on custom servers and was not able to see the edited engineer tools? Thanks again
The limit isn’t 9. I just lazily copied and pasted it. They’re just same buildings. If you need edit images then need edit building_menu__image property in preview entity.
For that you will need add and edit additiveBuildings in entity that you set in instantiateTemplate and for preview version (for this version it should use preview version, for example stationary_mg42_building_additive_preview).
It’s automatically transfers into scene. Like in editor. You will able see new entities in Create Entities and use them. Or they will be updated if you added _override:b=yes in entity template code.
Also… Talking about mg. By default it have building__requireUnlockId = 3. Which disable building if engineer & squad don’t have stationary mg upgrade. But you can unlock it. For that need override entity and set property to -1.
Talking about engineer hammer. Probably you will need edit all of them. I don’t know which one is used in the latest version of the game, after campaign merge.
This is my how many I have in the preview templates but in the editor, the flak is not visible in the building tools. Am i missing something? How can i edit the engineer tool to add more options? that is what i meant sorry
Ill be honest, im a little confused about this. I have just copy and pasted that entity into the entities.blk but still no mg. is it different code for the sandbags_wall_mg?
Thank you ill try again overriding all engineer tools and see if i can use them there
So i realised that the usa have only one building tool gun and im still not able to build what i can in the editor… So am i missing something? Is correct below? or do i need to add something else in order to play in the game?
Talking about ` i meant use three for big code like here:
Or for two for line like here: .
For unlock it you need edit sandbags_wall_mg_preview, like here:
Why? Because sandbags_wall_mg is final result, but it’s not thing/preview that you build.
You will need upload zip if you want upload mod with entities. For that need click on Toolbox → Build Commands → Build Zip. After that you will able see zip file in userGameMods.
So this is what i am using on the USA side with no success in the actual mission in game as far as entities… Any suggestions on what it could be thats preventing it? I used the zip file as you explained to me.
Okay thank you that worked and makes sense now
Your right it did, i was mixing up another preview so mg position is now working in the editor at least, thank you.
Also, I noticed that there was an annoying issue with the battle areas. Can the battle areas overlap each other? Im finding that even though the objective has been taken, and it wants you to advance to the next one, your still gonna die as it recognizes you in the previous battle area?
Available area for build may be different. It depends on capture point types.
…Yes? I usually use only poly battle areas.
Probably you didn’t set correctly groupNames? Or it’s instantly disappear after you capture point? I’m sorry if misunderstood you…
Y-yeah. It’s possible to do. For that you will need to make seperate entity or edit sandbags_wall_5 and add something like it:
You also can edit sandbags_wall_5_preview, but need replace builded_stationary_mg42_with_autodetach by stationary_mg42_building_additive_preview.
And… Sorry. Currently I can’t help with mg position (with tm and additiveUp properties). “Lastest one box” contains info about position. First three relate rotation and scale.
Weird. I’ll recheck it a bit later. But probably you didn’t edit some engineer tools?