Ludeon Forums

RimWorld => Mods => Topic started by: temporaryname on January 27, 2015, 04:21:26 PM

Title: [Advice Request] High Energy Defence
Post by: temporaryname on January 27, 2015, 04:21:26 PM
Hi everyone,
I made this little mod to add a "High Energy Turret" in game.
[Long range/High damage/Slow]
It's currently work but i need advice for improvement :)

(http://img11.hostingpics.net/thumbs/mini_265189RimWorld671Win2015012921064789.jpg) (http://www.hostingpics.net/viewer.php?id=265189RimWorld671Win2015012921064789.jpg)

I also want add blasting charge with new texture but i'm really bad with the code .. and i broke the game everytime :(

I'm open for any idea, if you want testing the turret, see my currently work, or use texture, view the Attachments.
thanks you for reading me :3

Edit: Sorry for my bad english, it's not my native language :s
Edit2: I don't know if the border is strong enough. Strong border is more like rimworld texture..

(http://img4.hostingpics.net/pics/369125ComparaisonPreview.png) (http://www.hostingpics.net/viewer.php?id=369125ComparaisonPreview.png)

What do you think ??


[attachment deleted due to age]
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 28, 2015, 08:15:03 AM
I can help with the code, if you will describe what you want to get in the end.
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 28, 2015, 09:54:22 AM
Thx for the reply! :)

I just want the code for the "old school" blasting charge,
Ludeon remove this in the previous alpha (i think) and i can't use the old code.

Other many mod add sort of land mine but if a pawn walk on the land mine, it's expode immediately.
I want a blasting charge i can activate manually and expode after 5-6 seconde, like the old blasting charge.

Or if you want a texture for your work, tell me ;)
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 28, 2015, 01:53:19 PM
Let's define how it will work.
After installing mine recharged through real X seconds.
Mine could explode on someone / enemy steps on it.
Mine could explode on someone / enemy was within a radius of X on it.
Mine could explode on command with a delay of real X seconds.

Correct if I missed something.
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 28, 2015, 02:09:01 PM
I thought only that "Mine could explode on command with a delay of real X seconds." in the first place :)
But if you can make "explode on someone / enemy steps on it" too, it could become more usefull !

For "explode on someone / enemy was within a radius of X on it." it does not look like a mine, more like a claymore or something.. But i can make a texture for that too ! Only if it is possible to separate the different choices :x

Like : Blasting Charge V2 can do : -Mine could explode on someone / enemy steps on it.
-Mine could explode on command with a delay of real X seconds.

"Claymore like" can do  : - Mine could explode on someone / enemy was within a radius of X on it.
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 28, 2015, 02:20:55 PM
Ok, more specification.
Mine explode if on it stepped colonist, raider, or any other creature. Or just human beings and Mechanoids.
I think it is better to leave only the hostile creatures. Otherwise, you can get the problem with the visitors that would undermine her))
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 28, 2015, 02:46:19 PM
I'll do it tomorrow. We have time to sleep (23:00 Moscow)
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 28, 2015, 03:11:17 PM
Good night and big thanks for your time !

Mine explode if on it stepped hostile human, animal, and mechanoids only or active manually with delay of 10 secondes. And
Claymore explode on hostile human, animal, and mechanoids only was within a radius of ?(same than the blow radius i guess) on it. if you can please :)

Texture for Claymore done (Attachments)
Texture for Mine update (Old attachments)

[attachment deleted due to age]
Title: Re: [Advice Request] High Energy Defence
Post by: skullywag on January 29, 2015, 05:25:02 AM
Theres a self arming landmine in my weapons thread. Could probably adapt and improve that.
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 29, 2015, 11:06:30 AM
Blasting mine done. Download from here (https://ludeon.com/forums/index.php?topic=9713.0)
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 29, 2015, 12:40:15 PM
Does'nt work for me :o
After build, the mine disappears :(
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 29, 2015, 01:28:55 PM
Working fine for me

(http://savepic.su/4870532.png)


And blast!!! Here after the explosion.
(http://savepic.su/4902279.png)
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 29, 2015, 01:53:22 PM
Ohh.. I just forget your Core ! :)

Work like a charm but some raiders prefers to hit the mine rather than step on it :o
I don't understand why but .. the mine explode anyway. So it work ! x)

Really nice work, Again thank you :)
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 29, 2015, 02:12:39 PM
Can these raiders little smarter than the rest)
In mines the same behavior as in the destruction of the turret.
I will continue to work on new types of mines, for example Claymore, or mines that are activated only in case of enemy attack, and respond to any living creature.
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 29, 2015, 02:30:17 PM
all right :)
If you want help with drawing for your mod, do not hesitate ! i don't know what i can draw now :/

one or two more things I can do a small mod ^^
I want to do a energy source, i can touch the .xml file myself for that, but i don't have idea for the source itself..

Edit: A Reverse Radioisotope Thermoelectric Generator .. Lot of power, but lot of cold .. a thing like that, but RTG already exist :/
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 30, 2015, 12:32:26 AM
Can reactor that runs on trash? As in the movie Back to the Future.
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 30, 2015, 03:09:57 AM
Ohh ! A melting generator ? with slag and rock chunks ? Maybe corpse ? :D
Really good idea :3

Hard to code for me but it can be really usefull !
But how to use recipe for the generator ? Like One chunks = X seconde of power ?
I would look at that after work :)

Edit: Or with a loader next to the generator .. :x
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 30, 2015, 06:00:02 AM
I want to make singular reactor that will run on various types of garbage.
The only condition, in order to make it work it will have to start using the existing energy reserves.
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 30, 2015, 06:58:07 AM
Singular reactor ? :o
i don't see what it is x)

But if it work by melting various types of garbage, it's logical than the reactor need power to start.
And after the start, it can powered it-self ??

Or else i have trouble imagining the shape of the reactor.. for the texture.
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 30, 2015, 07:14:38 AM
Singular reactor is operated by the energy of mini black hole that needs to be fed by any substance. In order to run the rector must create a mini black hole, and this requires energy.
After that, the rector of supplies itself with energy. If mini black hole does not supply fuel, then it after a while disappears and the reaction was stopped.
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 30, 2015, 07:31:34 AM
Amazing :o
Hmm .. You need two texture i guess. Black hole on and off.
But i can't help with the code for that :/
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 30, 2015, 07:44:02 AM
Code is my part)
Title: Re: [Advice Request] High Energy Defence
Post by: skullywag on January 30, 2015, 12:14:36 PM
Think you mean "singularity".
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on January 30, 2015, 12:35:10 PM
Google tranlate. Yes, singularity.
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 30, 2015, 12:45:41 PM
Thx for the translate skullywag ! I finally have a model for the texture :)
Title: Re: [Advice Request] High Energy Defence
Post by: temporaryname on January 31, 2015, 10:35:16 AM
Texture progress for now, not finish yet, but i make a little break for today.
I will finish that .. tomorrow i guess :)

Edit: New progress ^^ not finish for me :/ But you can use it for now :)

[attachment deleted due to age]
Title: Re: [Advice Request] High Energy Defence
Post by: Vader on February 01, 2015, 02:55:04 AM
Good work, i'm working on code.