Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Change.  
#1 Posted : Thursday, March 8, 2018 9:19:20 AM(UTC)
Change.
Private
Joined: 2/24/2018(UTC)
Posts: 3

I've messing a bit around with a Map.ini file, figuring out how it works when I stumbled on a problem: I wanted to test some cheesy stuff like Nuke Cannons with "infinite" range (or at least a really, really large range) and/or rappedly firing shells, so I put this in a Map.ini-file:
"
Weapon InfernoCannonGun
AttackRange = 500000
DelayBetweenShots = 500
End
"
However, when I try it out in-game, the Inferno Cannon works "normally", meaning it has to move closer to its target, and it also doesn't fire again after 500ms... any idea what's wrong?
Thanks!
-Change
Sponsor
Offline klingondragon  
#2 Posted : Thursday, March 8, 2018 5:14:05 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Try copying the whole weapon and renaming it to InfernoCannonGun2. Make your changes and then change the weapon set for the cannon to the new weapon.
Offline SkyMix_RMT  
#3 Posted : Friday, March 9, 2018 4:47:10 AM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 386
Portugal

Thanks: 80 times
Was thanked: 132 time(s) in 96 post(s)
You can't edit or create projectile based weapons in a map.ini, they wont work properly.
Check out:

My Music (Techno/House/Experimental)

My Website (GeneralsCentral)

My Youtube Channel (Inactive)

World Builder Community Discord
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.