- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Parking lot idea - allowing Sims to rent a parking space
- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Parking lot idea - allowing Sims to rent a parking space
Replies: 4 (Who?), Viewed: 2284 times.
#1
6th Jul 2017 at 11:23 PM
Posts: 299
Thanks: 1059 in 2 Posts
Parking lot idea - allowing Sims to rent a parking space
I have this idea to allow a Sim to rent a parking space. I know how to deal with the money/rent transactions, but I'm not sure I know how to deal with the actual leaving of the car at a public space thing. I want the following to occur:- Sim chooses to rent a parking space in a public parking lot
- The car is seen as being "parked" there and rent is charged accordingly
- Whenever the Sim goes out, I'd like them to first route to the parking lot, either by walking/jogging or biking, etc., then get in the car and drive to the destination
I don't know what to do about the routing part - and also what to do with the car and/or it going into their inventory.
I think this would add a lot of realism to the game.
Anyone have any suggestions about how to start?
Advertisement
#2
7th Jul 2017 at 11:32 AM
Posts: 1,500
Thanks: 4283 in 41 Posts
This is a very cool idea!! You should also ask about it in the Nraas chatterbox, Chain_Reaction is an absolute genius!!
I'm not that skilled, very new at scripting. I used actor.routetoface(target) to route towards each other in an interaction. You should also look at the go here interaction for the routing codes and the goinside interaction.
I think you'll have to figure out how the C# script recognizes the parking lot and then make the actor route there using the routing function.
I'm not that skilled, very new at scripting. I used actor.routetoface(target) to route towards each other in an interaction. You should also look at the go here interaction for the routing codes and the goinside interaction.
I think you'll have to figure out how the C# script recognizes the parking lot and then make the actor route there using the routing function.
#3
7th Jul 2017 at 3:50 PM
Posts: 299
Thanks: 1059 in 2 Posts
Quote: Originally posted by skydome
This is a very cool idea!! You should also ask about it in the Nraas chatterbox, Chain_Reaction is an absolute genius!! I'm not that skilled, very new at scripting. I used actor.routetoface(target) to route towards each other in an interaction. You should also look at the go here interaction for the routing codes and the goinside interaction. I think you'll have to figure out how the C# script recognizes the parking lot and then make the actor route there using the routing function. |
I did post there! I'm thinking about storing the lot ID of the parking lot/space in a list, and then using that to have the Sim route there ... I'll look at GoHere now but I have a feeling it might be more difficult than I think it is (modding always is the case!) and hopefully doesn't involve having to rewrite/add parts of GoHere!
Instructor
#4
9th Jul 2017 at 4:16 AM
Posts: 516
Thanks: 4227 in 14 Posts
I haven't coded for a really long time but I remember there's a simple routing script that routes the sim towards an object, at a distance with the object (with a given radius). Check out my Petrol Mod, I used this technique to route the Sim to the car to "refill" the fuel
#5
9th Jul 2017 at 4:51 AM
Posts: 299
Thanks: 1059 in 2 Posts
Quote: Originally posted by SimsMatthew
I haven't coded for a really long time but I remember there's a simple routing script that routes the sim towards an object, at a distance with the object (with a given radius). Check out my Petrol Mod, I used this technique to route the Sim to the car to "refill" the fuel |
Ohh interesting!
Who Posted
|