Data Realms Fan Forums
http://45.55.195.193/

Radio?(No not the music kind)
http://45.55.195.193/viewtopic.php?f=1&t=18937
Page 1 of 1

Author:  ShadowStorm [ Tue Jun 08, 2010 2:43 am ]
Post subject:  Radio?(No not the music kind)

Radio's...the ones you use to call air strikes and stuff.

my question is, Is it possible to either:

A) make a gun which shoots a bullet only going up and gibs into an craft with "reinforcements"

or

B) make a colorful gas grenade(I forgot what it was called, the ones that you use to call air strikes) to somehow gib in to the craft not (not at the location of the grenade though, but above it)

now, I know what you're thinking..."why don't you just buy it from the buy menu...", well my answer is cause it makes it more realistic, I mean who has time to look at a catalog when you're on the battlefield?...(oh and is it possible to remove money everytime you use either?)

EDIT: aw darn Theatre of the Dead already made one... well is it possible with B then?

Author:  Grif [ Tue Jun 08, 2010 3:17 am ]
Post subject:  Re: Radio?(No not the music kind)

Yes and yes. Both of your suggestions have been done with Lua and .ini coding. Some results are more satisfactory than others.

Author:  CaveCricket48 [ Tue Jun 08, 2010 3:30 am ]
Post subject:  Re: Radio?(No not the music kind)

Here's something I made awhile ago that pretty much does what B does. There isn't any smoke, but you can just add some smoky gibs. You can edit the Lua file to change the craft and its cargo.

Attachments:
Reinforcement Beacon.rte.rar [1.83 KiB]
Downloaded 192 times

Author:  ShadowStorm [ Tue Jun 08, 2010 4:05 am ]
Post subject:  Re: Radio?(No not the music kind)

hmm, alright thanks Grif for confirming the possibility(of b...) and thanks CC for proving it.

Author:  Naxete [ Tue Jun 08, 2010 9:48 am ]
Post subject:  Re: Radio?(No not the music kind)

CaveCricket48 wrote:
Here's something I made awhile ago that pretty much does what B does. There isn't any smoke, but you can just add some smoky gibs. You can edit the Lua file to change the craft and its cargo.

I gonna stab you in da face... do you know how I bleed through the ass to get my parachute-reinforcements do parachutting? O_O
anyway, thanks for the code, I hope its for public use.

Edit: Its possible, yes. Smoke its very classical and (easy to do) but its a matter of past, laser communication are uprising.

Author:  ShadowStorm [ Wed Jun 09, 2010 2:51 am ]
Post subject:  Re: Radio?(No not the music kind)

strange, very strange I tried to change the preset name and all of the sudden it doesn't work...what gives...

Author:  CaveCricket48 [ Wed Jun 09, 2010 3:05 am ]
Post subject:  Re: Radio?(No not the music kind)

PresetName of what? Post/pastebin the modified script/code.

Author:  ShadowStorm [ Wed Jun 09, 2010 3:26 am ]
Post subject:  Re: Radio?(No not the music kind)

sorry XD

when I say non-working I mean the game just freezes as I enter the bombs tab in-game...

Working Version

AddDevice = TDExplosive
PresetName = Reinforcement Beacon Red
AddToGroup = Bombs
Mass = 1
RestThreshold = -500
HitsMOs = 1
GetsHitByMOs = 1
ScriptPath = Shadow.rte/Reinforcements/BeaconRed.lua
SpriteFile = ContentFile
FilePath = Shadow.rte/Sprites/Grenade.bmp
FrameCount = 1
SpriteOffset = Vector
X = -5
Y = -9
SpriteAnimMode = 1
SpriteAnimDuration = 400
EntryWound = AEmitter
CopyOf = Dent Metal No Spark
ExitWound = AEmitter
CopyOf = Dent Metal No Spark
GoldValue = 5
AtomGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Military Stuff
Resolution = 2
Depth = 0
DeepGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Military Stuff
Resolution = 4
Depth = 10
DeepCheck = 0
JointStrength = 75
JointStiffness = 0.5
JointOffset = Vector
X = -1
Y = 3
DrawAfterParent = 0
DetonationSound = Sound
Priority = 1000
AddSample = ContentFile
Path = Base.rte/Sounds/Explode1.wav
AddSample = ContentFile
Path = Base.rte/Sounds/Explode2.wav
StanceOffset = Vector
X = 8
Y = 5
StartThrowOffset = Vector
X = -12
Y = -5
EndThrowOffset = Vector
X = 12
Y = -5
MinThrowVel = 5
MaxThrowVel = 15
TriggerDelay = 3250
ActivatesWhenReleased = 0
GibImpulseLimit = 90
GibWoundLimit = 1

Non-Working Version

AddDevice = TDExplosive
PresetName = Soldier Reinforcements
AddToGroup = Bombs
Mass = 1
RestThreshold = -500
HitsMOs = 1
GetsHitByMOs = 1
ScriptPath = Shadow.rte/Reinforcements/BeaconRed.lua
SpriteFile = ContentFile
FilePath = Shadow.rte/Sprites/Grenade.bmp
FrameCount = 1
SpriteOffset = Vector
X = -5
Y = -9
SpriteAnimMode = 1
SpriteAnimDuration = 400
EntryWound = AEmitter
CopyOf = Dent Metal No Spark
ExitWound = AEmitter
CopyOf = Dent Metal No Spark
GoldValue = 5
AtomGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Military Stuff
Resolution = 2
Depth = 0
DeepGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Military Stuff
Resolution = 4
Depth = 10
DeepCheck = 0
JointStrength = 75
JointStiffness = 0.5
JointOffset = Vector
X = -1
Y = 3
DrawAfterParent = 0
DetonationSound = Sound
Priority = 1000
AddSample = ContentFile
Path = Base.rte/Sounds/Explode1.wav
AddSample = ContentFile
Path = Base.rte/Sounds/Explode2.wav
StanceOffset = Vector
X = 8
Y = 5
StartThrowOffset = Vector
X = -12
Y = -5
EndThrowOffset = Vector
X = 12
Y = -5
MinThrowVel = 5
MaxThrowVel = 15
TriggerDelay = 3250
ActivatesWhenReleased = 0
GibImpulseLimit = 90
GibWoundLimit = 1

Author:  alphagamer774 [ Wed Jun 09, 2010 3:39 am ]
Post subject:  Re: Radio?(No not the music kind)

Errgh... Use pastebin :(

http://pastebin.com/if4kr64v

EDIT: Also, Read the Stickies.

Quote:
Common Error Four: Using the buy menu, switching to a certain tab freezes game.

Commonly Seen When: Playing Skirmish/Mission

Reason: One or more Actors, Guns, Crafts, Bomb, or Shield has 11 or more letter in a single row, eg: Worthlessman

How to fix: Go into the most recent Mod(s) and go into all the .inis and then find the following:

AddActor = AHuman
PresetName = Worthlessman <==== more than 11 letters

Change to

AddActor = AHuman
PresetName = Worthless man

Then it should work.

Listing the variables possible to find:

AddActor = [ACDropship, ACRocket, AHuman, ADoor]

AddDevice = [HeldObject, TDExplosive, HDFirearm]

Under each of these will be a Preset Name, just make sure one word doesn't exceed 11 letters.


So you would want to say something like "Backup" Instead of "Reinforcement". It's too long of a name.

Author:  ShadowStorm [ Wed Jun 09, 2010 3:52 am ]
Post subject:  Re: Radio?(No not the music kind)

yeaaa that is why I usually don't put don't scripts...

no more than 11 characters?! darn didn't know that.. well I'll change that and hopefully it will work...

v--ya, that what I meant to say

Author:  Duh102 [ Wed Jun 09, 2010 3:59 am ]
Post subject:  Re: Radio?(No not the music kind)

You can use more than 11 characters, but you need spaces every 11, such that there are no consecutive strings of 11 characters.

Author:  Awesomeness [ Mon Jun 21, 2010 10:14 pm ]
Post subject:  Re: Radio?(No not the music kind)

This may help too: http://forums.datarealms.com/viewtopic.php?f=61&t=16863&p=357909#p357909

It's a mod I made. It uses a radio to call rockets down. Just modify that to do your bidding and you have an air strike radio.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/