Arzok Posted October 25, 2010 Share Posted October 25, 2010 I would like to make a trigger to resupply units near a supply truck or a supply building. I saw the new instruction "ReplenishAmmo " in the mission trigger reference help. -------------- ReplenishAmmo (objectType , objectVariable , [ ammoGroup ] ) It replenishes the ammo loadout for the ammo types from the list ammoGroup ammoGroup can be: HE AP SMOKE Example: ReplenishAmmo ( UNIT , 1 , HE, SMOKE ) -------------- I tried with the 76mm obr. ReplenishAmmo ( UNIT , 1 , HE ) =replenish ammo HEAT ReplenishAmmo ( UNIT , 1 , x , HE ) =replenish ammo HE ReplenishAmmo ( UNIT , 1 , x , x , HE ) =replenish ammo SMOKE ReplenishAmmo ( UNIT , 1 , HE , HE , HE ) =replenish ammo SMOKE, HE and HEAT You can replace HE by AP or SMOKE, same result :confused: you can replace x by 1, any number, letters without meanings : same result. And replennnish ammo means that the gun will have three times more HE shells (for exemple, if there is at the beginning 20 shells, after the instruction, there will be 60 shells :confused:). And I have not succeed to replennish AP shell ( or APCR...) Can you provide some help ? Link to comment Share on other sites More sharing options...
Arzok Posted October 31, 2010 Author Share Posted October 31, 2010 I found why I have too many shells (replennish was done two times in the trigger ) But I don't understand how to replennish AP ! So soon, I will be abble to make a resupply truck for ammo shell. :cool: Link to comment Share on other sites More sharing options...
Dave012 Posted November 9, 2010 Share Posted November 9, 2010 Nice idea with the supply truck ! Plz add it to Tow I also miss a big Tow modding comunity Link to comment Share on other sites More sharing options...
Arzok Posted November 10, 2010 Author Share Posted November 10, 2010 It works for TOW 2 - Kursk only. Mission should be avalaible soon ! Link to comment Share on other sites More sharing options...
Arzok Posted November 12, 2010 Author Share Posted November 12, 2010 the mission : http://www.battlefront.com/community/showthread.php?t=93879 Still questions about how to replennish AP rounds ??? I also miss a big Tow modding comunity you can help... Link to comment Share on other sites More sharing options...
prlugo Posted November 12, 2010 Share Posted November 12, 2010 Sorry i can't help. I haven't kursk. I think you have already tried to change these lines in many different ways: es ReplenishAmmo ( UNIT , 1 , x , x , x , HE ) ReplenishAmmo ( UNIT , 1 , x , x , HE , HE ) ReplenishAmmo ( UNIT , 1 , HE , HE , HE , HE ). Maybe Sneaksie knows how to do that or can ask developers. Link to comment Share on other sites More sharing options...
Arzok Posted November 15, 2010 Author Share Posted November 15, 2010 ReplenishAmmo ( UNIT , 1 , HE , HE , HE , HE ). => it is not accepted by the compiler. So I stay with only smoke, HE and Heat ! Link to comment Share on other sites More sharing options...
Recommended Posts