Forged Alliance Forever Forged Alliance Forever Forums 2019-02-27T17:44:49+02:00 /feed.php?f=41&t=17263 2019-02-27T17:44:49+02:00 2019-02-27T17:44:49+02:00 /viewtopic.php?t=17263&p=172361#p172361 <![CDATA[Re: Deribus Modding]]>
It seems that this test never goes ok.
Code:
if (wep:GetBlueprint().Marker == marker) then
    return wep
end

The wep:GetBlueprint().Marker always says nil for all weapons of the UEF ACU. So it seems that the weapon added in blueprints.lua is not taken care.

Statistics: Posted by Franck83 — 27 Feb 2019, 17:44


]]>
2019-02-27T06:33:25+02:00 2019-02-27T06:33:25+02:00 /viewtopic.php?t=17263&p=172353#p172353 <![CDATA[Re: Deribus Modding]]> Statistics: Posted by Balthazar — 27 Feb 2019, 06:33


]]>
2019-02-26T23:40:15+02:00 2019-02-26T23:40:15+02:00 /viewtopic.php?t=17263&p=172349#p172349 <![CDATA[Re: Deribus Modding]]>
If you just want to change stuff from the vanilla zephyr without creating a new weapon, you can change damage values in your UEL0001_script.lua, or you can use a buffblueprint (if you want to increase fire speed for example).
The zephyr upgrade is barely just a data change, not a weapon change.

You can also change a projectile on the fly to with the self:ChangeProjectileBlueprint(your.ProjectileBp).

Depending of what you want to do : creating a complete new weapon or just changing some weapon stats or projectile ?

Statistics: Posted by Franck83 — 26 Feb 2019, 23:40


]]>
2019-02-26T23:21:28+02:00 2019-02-26T23:21:28+02:00 /viewtopic.php?t=17263&p=172348#p172348 <![CDATA[Re: Deribus Modding]]>

WARNING: Error running OnCreate script in Entity uel0001 at 1d531f08: ...\gamedata\units.nx2\units\uel0001\uel0001_script.lua(381): attempt to call method `SetWeaponEnabled' (a nil value)


It seems that you are trying to enable in your uef unit script a weapon that doesn't exist (the new zephyr ?).

You have no unit bp on your UEL0001 UEF ACU directory ?

You need to reference a weapon on the unit bp (/units/uel0001/)

Statistics: Posted by Franck83 — 26 Feb 2019, 23:21


]]>
2019-02-26T20:50:29+02:00 2019-02-26T20:50:29+02:00 /viewtopic.php?t=17263&p=172346#p172346 <![CDATA[Re: Deribus Modding]]> Statistics: Posted by Franck83 — 26 Feb 2019, 20:50


]]>
2019-02-26T19:39:15+02:00 2019-02-26T19:39:15+02:00 /viewtopic.php?t=17263&p=172344#p172344 <![CDATA[Deribus Modding]]>
I've been working on a simple mod to change the gun upgrades of ACUs with the help of Balthazar, but we seem to have hit a snag with the UEF ACU.

We were trying to give it burst fire after gun upgrade via giving it a new weapon, but it doesn't seem to be working properly and we can't figure out why. The ACU cannot fire after getting the upgrade, although it will spawn the additional projectiles upon overcharge. Anyone mind taking a look?

Statistics: Posted by Deribus — 26 Feb 2019, 19:39


]]>