Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » BUG/TYPO M00_Damage_Modifier_DME
BUG/TYPO M00_Damage_Modifier_DME [message #471017] Mon, 09 July 2012 10:37 Go to next message
Troll King is currently offline  Troll King
Messages: 56
Registered: June 2012
Location: Netherlands
Karma: 0
Recruit
I have found a bug in M00_Damage_Modifier_DME.
A bot cannot kill an object with this script attached. No matter what you fill in for 'Killable_by_NotStar'
(Unless you send a custom of 9037 with param 0 to disable the script)
This is what it says at ScriptRegistrant:
Damage_multiplier:float, Star_Modifier=1:int, NotStar_Modifier=1:int, Killable_By_Star=1:int, Killable_by_NotStar=1:int

But it searches for this:
this->Killable_ByNotStar = ScriptImpClass::Get_Int_Parameter(this, "Killable_ByNotStar");

Can this be fixed or does there need to be made a clone that works?

EDIT: I know that it says Killable_By_Star=1:int. But it wont set it to standard value, becouse the name is incorrect before anyone says that.


Also Known As: Neijwiert

[Updated on: Mon, 09 July 2012 10:45]

Report message to a moderator

Re: BUG/TYPO M00_Damage_Modifier_DME [message #471059 is a reply to message #471017] Mon, 09 July 2012 16:27 Go to previous messageGo to next message
Troll King is currently offline  Troll King
Messages: 56
Registered: June 2012
Location: Netherlands
Karma: 0
Recruit
Clone of M00_Damage_Modifier_DME but then made multiplayer compatible. Some changes made but effect is the exact same.

Toggle Spoiler


Also Known As: Neijwiert

[Updated on: Mon, 09 July 2012 16:32]

Report message to a moderator

Re: BUG/TYPO M00_Damage_Modifier_DME [message #471075 is a reply to message #471017] Mon, 09 July 2012 18:02 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Nice, thx. Good work Smile

https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: BUG/TYPO M00_Damage_Modifier_DME [message #471109 is a reply to message #471017] Tue, 10 July 2012 01:21 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
You should give the script your own prefix instead of "M00" and register it as the M00 one so people know you made it.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Tue, 10 July 2012 01:22]

Report message to a moderator

Re: BUG/TYPO M00_Damage_Modifier_DME [message #471111 is a reply to message #471017] Tue, 10 July 2012 03:52 Go to previous message
Troll King is currently offline  Troll King
Messages: 56
Registered: June 2012
Location: Netherlands
Karma: 0
Recruit
Meh it's ok like this I didnt really make it I just cloned it. The layout is almost an exact copy of the original one. besides the if statement at where they are killable is different. JonWil and I couldn't figure out what calculation was going on there.
So I had to implent something myself.


Also Known As: Neijwiert
Previous Topic: Few Crashes(dumps added)
Next Topic: Beta 5 crash
Goto Forum:
  


Current Time: Thu Nov 21 14:33:36 MST 2024

Total time taken to generate the page: 0.00740 seconds