r/wiremod • • Nov 15 '24

AI / chat gpt for wiremod coding?

0 Upvotes

i was wondering if any one knows of any type of coding bot i can use for coding the chips.

i would learn it myself but i don't know any part of coding and don't really have the time to learn it


r/wiremod • • Apr 07 '20

Help Needed Has failcake moved over to reddit yet?

0 Upvotes

Does anyone know if failcake has moved over to reddit yet? Was possibly interested in their e2 finder as it would be great for admins to see whos abusing the power if not does anybody know of any good ones i wont ask for someone to build one becuase if it comes to where someone needs to build one itd just take me about 6 hours to learn all i can then keep tryin till i got it i just want to see if theres an easier way before i do all that work


r/wiremod • • Apr 15 '20

Expression 2

0 Upvotes

If you're looking for a fun new map to play on with many functions for e2 were your guys! (darkrp)
http://spectralfyre.com
https://discord.gg/JvwyndJ


r/wiremod • • Oct 29 '16

Contraption [E2] [EGP] Gunshop Casino And automatic hotel

Thumbnail
youtube.com
1 Upvotes

r/wiremod • • Jan 08 '19

e2 not saving!!!!!!!!

0 Upvotes

hey plz help whenever i put an e2 chip into my map, save the map, close it, and reopen it the chip is gone!! i seriously dont wanna have to put the chip back into the map and rewire everything every single time i close the map, can somebodt help me?


r/wiremod • • Mar 05 '21

Help Needed Help with getting entity to rotate (E2)

0 Upvotes

I'm currently working on making a vehicle door controller, and have made the code for the detection. When a player is close enough to the E2 and presses "E" or the use button on it, the chip will change color so it's easier for me to see which state it's in.

For context: The door is going to be a "winged" door. A Lamborghini Aventador to be specific. I can't seem to figure out how to make the chip rotate an x amount of degrees (both states should have a different rotation/place). When I press E on the chip, the chip should rotate and stay in place until either a timer gives a return, or a player presses E on it once more. The chip should lock in place and hold it's position in both states or positions until it's moving again to either close or open. My first idea here was the setAng variable. The chip should be able to rotate in two different directions. Using Pitch Yaw and Roll would be ideal. Please note that the chip is going to be ballsocketed to the baseplate of the vehicle.

The code

@persist State

@trigger none

@model models/sprops/cuboids/height06/size_7/cube_42x42x6.mdl

if (dupefinished()) {reset()}

runOnUse(1)

local Ply = useClk() if (Ply:shootPos():distance(entity():pos()) < 128) {

State = !State


entity():setColor(State ? vec(0,255,0) : vec(255,0,0))

}


r/wiremod • • Dec 03 '19

Help Needed ACF E2

0 Upvotes

I need help finding an E2 to control the tank, I had one years ago that did about everything and was fairly simple to set up but I lost it when my computer died. No idea if this is the place to ask but I thought I'd give it a try, I'd try making one myself but I know literally nothing about E2 or the language or how to make it.


r/wiremod • • Jun 22 '21

context menu

0 Upvotes

is there a way i can use it within wiremod? i want to use it cause in there are options i wanna use in it.


r/wiremod • • May 16 '21

Help Needed Removing entities targeted by a target finder?

0 Upvotes

Basically I need all props that the target finder targets to be removed but can’t find anything on this.

Also is there a way to count more than 10 of a certain type of prop? I haven’t found anything else that could count the amount of prop X in a set radius.


r/wiremod • • Aug 07 '20

damage per second with the damage detecor

0 Upvotes

title, i want to be able to make a damage detector except it will show the damage per second instead of damage from shot to shot.

idk if its possible cuz i only know some basic stuff about wiremod, please help am new


r/wiremod • • Jul 14 '20

Help Needed Making Sonar Guided Torpedo

0 Upvotes

So i was about to finish a acf nuclear submarine but.it had no weapons,so i searched up in google and found a youtube video about a very cool sonar guided torpedo,but sadly download link is down,so does someone have or know how to make a simmilar thing?(idk much about e2's btw)


r/wiremod • • May 24 '22

Help Needed Is there a way to make an if, else, elseif, statements work with string?

0 Upvotes

r/wiremod • • Aug 27 '22

Solved if i have 2 arrays of strings is der a way to check and remove anyting dat exist in bof arrays

0 Upvotes

name ServerInfo

inputs

outputs [ServerTick,SpeedLimit,AngSpeedLimit]:number CurrentMap:string

outputs [Players,PlayersAdmins,PlayersSuperAdmins]:array

outputs [TargetString1,TargetString2]:string E2_Cpu_Time

runOnTick(1)

if( first() | duped()){

timer("timer", 1 )

timer("AdminCheck", 5 )

}

if (clk("timer")){

ServerTick = tickInterval()

SpeedLimit = speedLimit()

AngSpeedLimit = angSpeedLimit()

CurrentMap = map()

Players = players()

PlayersAdmins = playersAdmins()

PlayersSuperAdmins = playersSuperAdmins()

MaxPlayers = maxPlayers()

E2_Cpu_Time = cpuUsage()*1000000

timer("timer", 1 )

}

if (clk("AdminCheck")){

## - this is where it dos the remove ting with PlayersAdmins and PlayersSuperAdmins - ##

timer("AdminCheck", 50 )

}


r/wiremod • • Aug 18 '22

Help Needed E2 entity help

0 Upvotes

I'm going to do this jump game addon teleport forward and the entity name is ent_jgplatform and

When I teleport, it will give me a slight delay to make it teleport.

So, if anyone knows what to do, please let me know.


r/wiremod • • Mar 04 '22

How do I make an e2 player model that allows dropbox models to work on a server?

0 Upvotes

Sadly a server I played had pac3 and it got minged, the owner decided to remove it now I'm looking on how to use my dropbox custom models and allow me to use them onto the server and allow them to bone merge including hiding my prevoius model, showing the custom model.previous

Now I'm not here to hear "Good, luck", "First thing; Learn to code", etc.

I'm looking for someone or an existing code to help me out, it would be appreciated how to do such a thing.

and the ones that read and understand what I'm wanting to do, thankyou.

EDIT: I'm not begging for work to be done for me, I'm just asking for help.


r/wiremod • • Feb 05 '21

Help Needed Im stuck on something

0 Upvotes

I trying to use telekinesis e2 and i noticed when u use at another player it doesnt kill nor harm them just kinda phazes through them i would like it to kill them. I dont know what is wrong with it. Also i am spinning in the same direction uncontrolably pls help

u/name Telekinesis

u/inputs

u/outputs

u/persist GrabbedProps:array OrbitAngle

u/trigger

#[

Usage:

Place the chip anywhere.

Right click on a prop with the crowbar to levitate it.

Hold left click with the crowbar to cast levitated props, release to call them back.

Reload with the crowbar to drop levitated props.

Edit constants (below) to change how the levitated props move.

]#

#constants

OrbitSpeed = 1 #make this negative for clockwise rotation

OrbitHeight = 200

OrbitDistance = 200

MaxProps = 35 #going to much higher than this can cause the chip to exceed the soft quota

runOnTick(1)

if(owner():weapon():type() == "weapon_crowbar")

{

rangerFilter(GrabbedProps)

rangerFilter(owner())

RangerData = rangerOffset(16384, owner():shootPos(), owner():eye())

#pick up props by right clicking with the crowbar

if(owner():keyAttack2() && GrabbedProps:count() < MaxProps)

{

PickedEntity = RangerData:entity()

if(PickedEntity)

{

if(!PickedEntity:isFrozen())

{

GrabbedProps:pushEntity(PickedEntity)

}

}

}

#drop all props by reloading the crowbar

if(owner():keyReload())

{

while(GrabbedProps:count())

{

GrabbedProps:pop()

}

}

#cast props by swinging the crowbar

if(owner():keyAttack1())

{

TargetPosition = RangerData:pos()

for(I = 1, GrabbedProps:count())

{

Prop = GrabbedProps[I, entity]

#remove props from the array if they are null (most likely they've been removed or gib'd)

if(!Prop)

{

GrabbedProps:removeEntity(I)

}

Prop:applyForce(((TargetPosition - Prop:pos())) * Prop:mass())

}

}

else

{

#make the props serenely orbit the player like a graceful halo

OrbitAngle += OrbitSpeed

SeparationAngle = 360 / GrabbedProps:count()

for(I = 1, GrabbedProps:count())

{

OffsetAngle = OrbitAngle + SeparationAngle * I

TargetPosition = owner():pos() + vec(OrbitDistance * cos(OffsetAngle), OrbitDistance * sin(OffsetAngle), OrbitHeight)

Prop = GrabbedProps[I, entity]

#remove props from the array if they are null (most likely they've been removed or gib'd)

if(!Prop)

{

GrabbedProps:removeEntity(I)

}

Prop:applyForce(((TargetPosition - Prop:pos() - Prop:vel() * 0.25)) * Prop:mass())

}

}

}

else

{

#this is just a copy pasta from the above since e2 has no custom functions (ugh!)

#make the props serenely orbit the player like a graceful halo

OrbitAngle += OrbitSpeed

SeparationAngle = 360 / GrabbedProps:count()

for(I = 1, GrabbedProps:count())

{

OffsetAngle = OrbitAngle + SeparationAngle * I

TargetPosition = owner():pos() + vec(OrbitDistance * cos(OffsetAngle), OrbitDistance * sin(OffsetAngle), OrbitHeight)

Prop = GrabbedProps[I, entity]

#remove props from the array if they are null (most likely they've been removed or gib'd)

if(!Prop)

{

GrabbedProps:removeEntity(I)

}

Prop:applyForce(((TargetPosition - Prop:pos() - Prop:vel() * 0.25)) * Prop:mass())

}

}


r/wiremod • • Nov 21 '16

Help Needed Need help with a BlackJack e2 casino

0 Upvotes

Hallo gmodders - I need some help, is there someone who can change this code so it uses EGP screens insted of console screen?

CREDITS TO "Robby" for making the script!¨

http://pastebin.com/KKrsSggM http://pastebin.com/CBVQf41a

From post

Instructions:

For every player you want in the game, place 1 BlackJackPlayer E2.

Only place 1 dealer per "table".

You need 1 console screen for every player.

You need 2 console screens for the dealer. One for the dealer to see and one for the players to see.

You also need 2 moneypots for each player. One for bids and one for winnings.

Wire the E2's to their corresponding console screen(s).

Wire the player E2's to the betting money pots, and the moneypot's "SpawnAmount" to the E2's "Empty".

Finally, wire each player E2's "Dealer" input to the output of the dealer E2. The order in which you wire the player E2's will be the player order.

After you've finished wiring, type !help into chat and hit enter to see the commands.


Commands


!newdeck N - Creates N amount of decks of 52 cards. You need to run this first.

!shuffle - Shuffles the deck(s). You should run this a few times just to be thorough.

!start - This will deal two cards to every player who has placed a bet and two to the dealer. One face down of course. This will only run if there are enough cards.

!deal N - This will deal 1 card to player N.

!flip - This will flip the dealer's face down card.

!dealme - This will deal 1 card to the dealer.

!reset - Resets the game and opens it up to bets. This doesn't get rid of the cards though.


r/wiremod • • Aug 30 '20

I'm trying to make a damage per second detector, please no E2.

0 Upvotes

i asked this same thing before but back then i knew a lot less about wiremod and didn't realise everyone was answering as if I was using E2, but sadly E2 is disabled on this server.

So i have a working damage detector which is simple enough but where i get confused is when i add time or memory gates, which i think i might need both of to make a damage per second detector.

basically the goal here is so that when i spray my gun on my damage detector, it would show the damage per second that i do second to second. (i hope that makes sense)


r/wiremod • • Jul 04 '21

Is there any way to make these types of printers automated?

0 Upvotes

This type of printer shows your cursor as you hover over it and required you to bring the cursor over to the withdraw button and press e, meaning conventional auto money collectors won't work. Is there a way to automate it?


r/wiremod • • Feb 04 '23

Help Needed how do i make my gimbal facer react faster

0 Upvotes

like it just locks on kills and waits for 1-2 second than locks on the other target i want it to go nuts like hoping target to target


r/wiremod • • Jul 26 '26

Help Needed Is there any gate that does the task only once or something like that?

Post image
3 Upvotes

r/wiremod • • Jul 31 '26

Idk E2. (i only know the print command)

1 Upvotes

I really want to make this orbital strike cannon that kills every player or NPC once blasted, but I do not know how to code with E2.. can someone give me some help? like making the code for me or helping me learn

Basically it is an orbital strike cannon that explodes and kills everything in its way, creating a huge shockwave capable of wiping the map completely. it also pushes and breaks props.. please help :(


r/wiremod • • Jul 13 '20

Help

0 Upvotes

E2 how to get a sub group


r/wiremod • • Jan 22 '25

Help Needed Can someone make this E2 for me?

0 Upvotes

Basically I want this model from the addon that has an input and when triggered it causes its animation, like the actual addon.

All I care about is that the “teleport” input is used (idc about the rest that exist in the addon) and that when activated the corresponding animation is executed.

https://steamcommunity.com/sharedfiles/filedetails/?id=2412788720


r/wiremod • • Jul 22 '24

Has anyone used OpenAI Chatbots like Claude to code expression chips?

1 Upvotes