Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Mod crashes every time I use a weapon
Mod crashes every time I use a weapon [message #427331] Sun, 02 May 2010 03:25 Go to next message
greenirrad is currently offline  greenirrad
Messages: 22
Registered: April 2010
Karma: 0
Recruit
Hi, I have finally found a way of making my mod work the easy way, downloading the pre-made C&C_walls_flying.lvl from the westwood ftp, and making some pre-sets.

Now, every time I buy the Templar or Chem Warrior, the game crashes as soon as I fire my weapon. Why and how can I fix it?


A Black Hand Elite just blew you up.

http://michaels-neobux.blogspot.com/
^^^^^^^^
<My blog!>
vvvvvvvv

[Updated on: Sun, 02 May 2010 03:27]

Report message to a moderator

Re: Mod crashes every time I use a weapon [message #427332 is a reply to message #427331] Sun, 02 May 2010 03:27 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
have you messed around with the weapon's ammo types?
Re: Mod crashes every time I use a weapon [message #427333 is a reply to message #427332] Sun, 02 May 2010 03:29 Go to previous messageGo to next message
greenirrad is currently offline  greenirrad
Messages: 22
Registered: April 2010
Karma: 0
Recruit
Well, no. Just opened the pre-made level, made the includes, flying includes and ramps (for walls flying) and exported.

I noticed it crashes only if I fire at a building, means if I fire at mid-air it works fine, if i fire at the ground it's fine, it crashes if I leave these green bubbles at a building.


A Black Hand Elite just blew you up.

http://michaels-neobux.blogspot.com/
^^^^^^^^
<My blog!>
vvvvvvvv
Re: Mod crashes every time I use a weapon [message #427334 is a reply to message #427331] Sun, 02 May 2010 04:12 Go to previous messageGo to next message
Reaver11 is currently offline  Reaver11
Messages: 888
Registered: April 2007
Karma: 1
Colonel
Leveleditor comes with outdated armor.ini's etc
These old ini's dont contain the cnc_chemsprayer / cnc_flamethrower warhead.

You should either extract them from your always2.dat or I think they are on game maps.

Once you have the new ini set you should replace the files in -> leveledit -> 'modname' -> Always -> InI
Re: Mod crashes every time I use a weapon [message #427339 is a reply to message #427334] Sun, 02 May 2010 04:55 Go to previous messageGo to next message
greenirrad is currently offline  greenirrad
Messages: 22
Registered: April 2010
Karma: 0
Recruit
I extracted all of the new ini files out of my always2.dat, still the same. Is there a way I can download the updated ini files?

A Black Hand Elite just blew you up.

http://michaels-neobux.blogspot.com/
^^^^^^^^
<My blog!>
vvvvvvvv
Re: Mod crashes every time I use a weapon [message #427344 is a reply to message #427331] Sun, 02 May 2010 06:49 Go to previous messageGo to next message
Reaver11 is currently offline  Reaver11
Messages: 888
Registered: April 2007
Karma: 1
Colonel
Are you sure you have placed the over the older files?
(Also if you are using windows vista or up check the virtual store since you have to replace the ini's in there)

Also if you are making a mix map then you can just remove the ini's before you export your map.

Those files used to be on renhelp your always2.dat files should be uptodate. (otherwise those guns wouldnt work in your standard ren)

Or you could switch the warheads from the chem and flamethrowers.
Re: Mod crashes every time I use a weapon [message #427362 is a reply to message #427331] Sun, 02 May 2010 13:34 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
the ammo.ini and all the presets ect get execrated from the always.dat , always.dbs, and always2.dat when you first start a new mod package. You shouldn't have to do it manually. There must be another problem.

http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sun, 02 May 2010 13:40]

Report message to a moderator

Re: Mod crashes every time I use a weapon [message #427500 is a reply to message #427362] Tue, 04 May 2010 04:47 Go to previous messageGo to next message
greenirrad is currently offline  greenirrad
Messages: 22
Registered: April 2010
Karma: 0
Recruit
Well, maybe you didn't understood me correctly. The game is fine when I fire my weapon at mid-air, or at the ground. It crashes only when I fire at a building, causing the 'bullet holes' to appear there. As soon as a 'bullet hole' appears, the game crashes.

It happens only with the chem warrior and flamethrower.


A Black Hand Elite just blew you up.

http://michaels-neobux.blogspot.com/
^^^^^^^^
<My blog!>
vvvvvvvv

[Updated on: Tue, 04 May 2010 04:50]

Report message to a moderator

Re: Mod crashes every time I use a weapon [message #427512 is a reply to message #427331] Tue, 04 May 2010 06:43 Go to previous messageGo to next message
Reaver11 is currently offline  Reaver11
Messages: 888
Registered: April 2007
Karma: 1
Colonel
Ok please just extract the armor.ini from you always2.dat and place it in your 'modpackage'-> Always -> INI

The standard level editor Armor.INI only contains the following warheads ->
Toggle Spoiler


The flamethrower and chemsprayer where paced lateron in always2.dat and if you get this bug it means your armor.ini is outdated.

The always2.dat warheads
Toggle Spoiler


Now you find they have added the CNC_Flamethrower and the CNC_Chem warhead. By firing in the air you are not hitting anything thus no need for checking damage and what not.

Currently your game tries to use the warhead CNC_Chem and CNC_Flamethrower for the Flamethrower, Flame tank and Chemsprayer. These are defined at the weapons. Yet your game cant load these settings from the armor.ini because they arent there.

I have uploaded the correct version of armor.ini. Compare it with your old one and I bet you see a difference Wink

You can just use this verion for your mod.
  • Attachment: armor.ini
    (Size: 40.94KB, Downloaded 57 times)

[Updated on: Tue, 04 May 2010 06:44]

Report message to a moderator

Re: Mod crashes every time I use a weapon [message #427518 is a reply to message #427512] Tue, 04 May 2010 08:12 Go to previous messageGo to next message
greenirrad is currently offline  greenirrad
Messages: 22
Registered: April 2010
Karma: 0
Recruit
Whoa thanks! You rock!

Strange, I extracted the INI file out of my always2.dat and it didn't worked... I also tried to download the INIs form a website, still no luck.

Thanks to you, I can finally step into the real fun and begin modding!


A Black Hand Elite just blew you up.

http://michaels-neobux.blogspot.com/
^^^^^^^^
<My blog!>
vvvvvvvv
Re: Mod crashes every time I use a weapon [message #427520 is a reply to message #427331] Tue, 04 May 2010 08:16 Go to previous messageGo to next message
Reaver11 is currently offline  Reaver11
Messages: 888
Registered: April 2007
Karma: 1
Colonel
Glad to see it works Smile
Re: Mod crashes every time I use a weapon [message #427521 is a reply to message #427331] Tue, 04 May 2010 08:30 Go to previous messageGo to next message
greenirrad is currently offline  greenirrad
Messages: 22
Registered: April 2010
Karma: 0
Recruit
Also, now that I fixed it there is another problem. (Modding Renegade always annoyed me. Halo was easier.) What should I do to enable flying units at my map? I got the ramps, the 'includes', the 'flying includes', and the 'flying collision' made for my map.

Now how do I enable them at the PT?


A Black Hand Elite just blew you up.

http://michaels-neobux.blogspot.com/
^^^^^^^^
<My blog!>
vvvvvvvv
Re: Mod crashes every time I use a weapon [message #427532 is a reply to message #427331] Tue, 04 May 2010 13:17 Go to previous message
Reaver11 is currently offline  Reaver11
Messages: 888
Registered: April 2007
Karma: 1
Colonel
First make sure that you have the correct compatibilty settings on the LevelEdit.exe

Make sure that you have disabeled visual themes on the LevelEdit.exe

Then you can go into leveleditor.
-> Top of your screen 'Open Edit tab'
-> Then goto 'Levelsettings'
-> Mark the 'Allow Flying Vehicles' box
Previous Topic: Having trouble making a mod
Next Topic: Textures on my map.
Goto Forum:
  


Current Time: Mon Nov 18 15:50:15 MST 2024

Total time taken to generate the page: 0.00874 seconds